POV-Ray : Newsgroups : povray.general : still weird artifacts with superposed, different IOR boxes : Re: still weird artifacts with superposed, different IOR boxes Server Time
30 Jul 2024 18:12:00 EDT (-0400)
  Re: still weird artifacts with superposed, different IOR boxes  
From: Warp
Date: 27 Feb 2009 10:21:02
Message: <49a804de@news.povray.org>
Kenneth <kdw### [at] earthlinknet> 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

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