![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> If you make a habit of creating a sphere, you are only going to encounter
> problems which a sky_sphere doesn't have.
.... which would be...?
I mean, unless we're talking about infinite planes and the sphere being so small
that it visibly messes up the horizon...
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Warp
Subject: Re: still weird artifacts with superposed, different IOR boxes
Date: 26 Feb 2009 06:45:21
Message: <49a680d1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
clipka <nomail@nomail> wrote:
> Warp <war### [at] tag povray org> wrote:
> > If you make a habit of creating a sphere, you are only going to encounter
> > problems which a sky_sphere doesn't have.
> .... which would be...?
1) A sphere makes the rendering slower. For each single traced ray (all of
them, not just camera rays) povray has to test it against the sphere.
A sphere may be fast to trace, but when you have to test against it for
each single traced ray, the small times add up.
A sky_sphere doesn't need to be traced, and if it suffices, it eliminates
the useless overhead.
2) Light sources in your scene might interact in undesired ways with your
sphere, even if you specify an "ambient 1" for it. If light sources have
an effect on the sphere, it not only can change the illumination/coloration
of the sphere, but objects might also cast shadows onto it. A sky_sphere
will always look the same regardless of your light sources.
3) You don't need to worry about fog and media effects with sky_sphere, but
you have to if you use a sphere.
4) Objects which are large enough might intersect with the sphere. Even if
they don't, if they are large enough and eg. reflective, the reflection
might become wrong.
5) If you move the camera too far from the center of the sphere, the sphere
texturing may look distorted in an undesired way.
6) If you use things like ground fog, the sphere limits its visibility and
might make this boundary visible. sky_sphere doesn't limit anything.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> clipka <nomail@nomail> wrote:
> > Warp <war### [at] tag povray org> wrote:
> > > If you make a habit of creating a sphere, you are only going to
> > > encounter problems which a sky_sphere doesn't have.
>
> > .... which would be...?
>
> 1) A sphere makes the rendering slower...
> A sky_sphere doesn't need to be traced, and if it suffices, it eliminates
> the useless overhead.
Interesting. I didn't know that.
KW
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Warp
Subject: Re: still weird artifacts with superposed, different IOR boxes
Date: 27 Feb 2009 10:21:02
Message: <49a804de@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Kenneth <kdw### [at] earthlink net> wrote:
> > 1) A sphere makes the rendering slower...
> > A sky_sphere doesn't need to be traced, and if it suffices, it eliminates
> > the useless overhead.
> Interesting. I didn't know that.
Even if sky_sphere had to be traced, it would only have to be traced for
rays which don't hit anything in the scene, so it would still be more
efficient.
However, as I said, it doesn't even need to be traced. What POV-Ray does
is that when a ray doesn't hit anything, and there's a sky_sphere pigment
defined, it calculates the gradients of the ray and picks up a color from
the pigment as a function of those gradients.
The effect is the same is if the sky_sphere was a unit sphere (with the
specified texture) centered at the starting point of the ray which doesn't
hit anything in the scene. But without the need to actually create and
trace such a sphere.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |