POV-Ray : Newsgroups : povray.general : Infinite Objects Server Time
31 Jul 2024 00:33:01 EDT (-0400)
  Infinite Objects (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: Warp
Subject: Re: Infinite Objects
Date: 23 May 2008 11:28:34
Message: <4836e2a2@news.povray.org>
Stephen <mcavoysAT@aoldotcom> wrote:
>         I was just wondering. I am using a large sphere for a
> skysphere as I want a planet to be obscured slightly by clouds and a
> skysphere will not do this.

  Btw, a layer of clouds is never a sphere centered at the camera.
If you are making a huge sphere to work as a sky sphere centered at
the origin (or the camera), that won't really work as realistic clouds.

  The sky_sphere is not even intended to be used for clouds (never mind
what the documentation and example scenes claim). It's intended for the
change in coloration of the sky which depends on the angle of incidence
(sky usually looks whiter closer to the horizon). Clouds should usually
be added as a plane or similar object.

-- 
                                                          - Warp


Post a reply to this message

From: Stephen
Subject: Re: Infinite Objects
Date: 23 May 2008 15:14:25
Message: <0e5e34hfm9davr1r5ote0322im2o4utcv7@4ax.com>
On 23 May 2008 11:28:34 -0400, Warp <war### [at] tagpovrayorg> wrote:

>Stephen <mcavoysAT@aoldotcom> wrote:
>>         I was just wondering. I am using a large sphere for a
>> skysphere as I want a planet to be obscured slightly by clouds and a
>> skysphere will not do this.
>
>  Btw, a layer of clouds is never a sphere centered at the camera.
>If you are making a huge sphere to work as a sky sphere centered at
>the origin (or the camera), that won't really work as realistic clouds.

Drat! Would you expand a little, please?
At the moment I'm just using the sphere as a means of having a sky for
reflections on the sea and I will start working on the textures soon.
So any help will be appreciated.

>  The sky_sphere is not even intended to be used for clouds (never mind
>what the documentation and example scenes claim). It's intended for the
>change in coloration of the sky which depends on the angle of incidence
>(sky usually looks whiter closer to the horizon). Clouds should usually
>be added as a plane or similar object.

Interesting, would you suggest a sky_sphere for the air with a "cloud
plane" in front of my background planet?
-- 

Regards
     Stephen


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Infinite Objects
Date: 23 May 2008 15:34:33
Message: <48371c49@news.povray.org>
Stephen wrote:
> On 23 May 2008 11:28:34 -0400, Warp <war### [at] tagpovrayorg> wrote:
> 
>>Stephen <mcavoysAT@aoldotcom> wrote:
>>>         I was just wondering. I am using a large sphere for a
>>> skysphere as I want a planet to be obscured slightly by clouds and a
>>> skysphere will not do this.
>>
>>  Btw, a layer of clouds is never a sphere centered at the camera.
>>If you are making a huge sphere to work as a sky sphere centered at
>>the origin (or the camera), that won't really work as realistic clouds.
> 
> Drat! Would you expand a little, please?
> At the moment I'm just using the sphere as a means of having a sky for
> reflections on the sea and I will start working on the textures soon.
> So any help will be appreciated.

http://f-lohmueller.de/pov_tut/backgrnd/p_sky1.htm


Post a reply to this message

From: Alain
Subject: Re: Infinite Objects
Date: 23 May 2008 15:38:17
Message: <48371d29$1@news.povray.org>
Stephen nous illumina en ce 2008-05-23 15:14 -->
> On 23 May 2008 11:28:34 -0400, Warp <war### [at] tagpovrayorg> wrote:
> 
>> Stephen <mcavoysAT@aoldotcom> wrote:
>>>         I was just wondering. I am using a large sphere for a
>>> skysphere as I want a planet to be obscured slightly by clouds and a
>>> skysphere will not do this.
>>  Btw, a layer of clouds is never a sphere centered at the camera.
Unless you are at the center of a free floating bubble of air.
>> If you are making a huge sphere to work as a sky sphere centered at
>> the origin (or the camera), that won't really work as realistic clouds.
> 
> Drat! Would you expand a little, please?
> At the moment I'm just using the sphere as a means of having a sky for
> reflections on the sea and I will start working on the textures soon.
> So any help will be appreciated.
You can flatten the sphere with an uneven scaling and shift it down 
(scale<1,0.5,1> translate -Radius/4*y). You'd still get the reflections.
The sky_sphere will also get reflected. Good for the background of the sky.
Remember that a sky_sphere never interact with any light and never cast any 
shadow. It's a unit sphere centered on the camera, whose pigment get returned 
whenever a ray is not stopped by an object.
> 
>>  The sky_sphere is not even intended to be used for clouds (never mind
>> what the documentation and example scenes claim). It's intended for the
>> change in coloration of the sky which depends on the angle of incidence
>> (sky usually looks whiter closer to the horizon). Clouds should usually
>> be added as a plane or similar object.
> 
> Interesting, would you suggest a sky_sphere for the air with a "cloud
> plane" in front of my background planet?
That's the general idea. The cloud plane is transparent exept for the clouds 
that will have various levels of opacity.
The sky_sphere hold the background pigment that is beyong everything else.
You can then add some fog or media.

-- 
Alain
-------------------------------------------------
Please hassle me, I thrive on stress.


Post a reply to this message

From: Warp
Subject: Re: Infinite Objects
Date: 23 May 2008 15:41:43
Message: <48371df6@news.povray.org>
Stephen <mcavoysAT@aoldotcom> wrote:
> Interesting, would you suggest a sky_sphere for the air with a "cloud
> plane" in front of my background planet?

  Maybe something along the lines of:

camera { location <0, 0, -1> look_at z angle 60 }
light_source { <-5, 10, 0>*1000, 1 }

sky_sphere
{ pigment
  { gradient y color_map
    { [0 rgb <.8, .9, 1>]
      [.4 rgb z]
      [1 rgb z*.7]
    }
  }
}

plane // ground
{ y, -10
  pigment
  { granite color_map
    { [0 rgb <1, .75, .5>]
      [1 rgb <.9, .6, .4>]
    }
    scale 10
  }
}

plane // clouds
{ -y, -100
  pigment
  { bozo color_map
    { [0 rgb .7]
      [.3 rgb 1 filter .4]
      [.5 rgbf 1]
    }
    turbulence 1
    scale 100
  }
  finish { ambient 1 }
}

sphere
{ <0, -2, 70>, 8
  finish { reflection { .75, 1 } }
}

-- 
                                                          - Warp


Post a reply to this message

From: Stephen
Subject: Re: Infinite Objects
Date: 23 May 2008 16:07:04
Message: <et8e349a5dd07qa8efqma675inj40e4i3v@4ax.com>
On 23 May 2008 15:41:43 -0400, Warp <war### [at] tagpovrayorg> wrote:

>  Maybe something along the lines of:

Thanks Warp I found your post from 2003 
Subject: Should the sky_sphere tutorial be changed?
-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Infinite Objects
Date: 23 May 2008 16:11:15
Message: <f59e3492l0670oupo9s82ft7ku9ts4nfmk@4ax.com>
On Fri, 23 May 2008 15:38:13 -0400, Alain <ele### [at] netscapenet>
wrote:

>Unless you are at the center of a free floating bubble of air.

That's a though, for later :)
Thanks Alain
-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Infinite Objects
Date: 23 May 2008 16:12:01
Message: <079e34lhped1s2ki5e0bm1mp309muocr5i@4ax.com>
On Fri, 23 May 2008 16:35:12 -0300, Nicolas Alvarez
<nic### [at] gmailcom> wrote:

>
>http://f-lohmueller.de/pov_tut/backgrnd/p_sky1.htm

Thanks Nicolas I'll study it
-- 

Regards
     Stephen


Post a reply to this message

From: John VanSickle
Subject: Re: Infinite Objects
Date: 24 May 2008 23:19:08
Message: <4838daac$1@news.povray.org>
Jan Dvorak wrote:

> -such object will probably be traced by every ray. This has performance 
> implications of using complicated objects (an unlikely need)

One of my models, in its original form, used several dozen objects that 
were each made by intersecting twenty-six plane objects.  Each such 
object was an infinite object.  Putting a bound around each of them 
reduced rendering times by quite a bit, and when I turned them into mesh 
objects rendering speeded up even more.

Regards,
John


Post a reply to this message

From: helge h
Subject: Re: Infinite Objects
Date: 5 Jul 2008 16:30:00
Message: <web.486fd96eb1c0ed97c5bb7070@news.povray.org>
Stephen <mcavoysAT@aolDOTcom> wrote:
> I've just noticed that if I scale a sphere by 10000 it becomes an
> infinite object. Are there any implications to this?
> --
>
> Regards
>      Stephen

I have also noticed this, have a look at:

http://news.povray.org/povray.general/thread/%3Cweb.486eb68c12970251c5bb7070%40news.povray.org%3E/

The limit I found was 2715 across, or a radius of 1358. Below this, the object
is finite. As Jan Dvorak pointed out, it's probably related to number
precision.

H


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.