POV-Ray : Newsgroups : povray.binaries.images : The Secret of Imagination : Re: The Secret of Imagination Server Time
1 Aug 2024 08:17:26 EDT (-0400)
  Re: The Secret of Imagination  
From: triple r
Date: 13 Jan 2009 08:40:01
Message: <web.496c9948c295569bef2b9ba40@news.povray.org>
"clipka" <nomail@nomail> wrote:
> "triple_r" <nomail@nomail> wrote:
> > If you didn't already, I covered all the gaps in the door with transparent
> > triangular portals when I tried this scene.  This forces rays to be shot at the
> > gaps, rather than hitting by chance.  In other words, unless this was a snapshot
> > after about eight seconds of rendering, it's gonna be a while.
>
> That would help smoothing the "gaps" quickly - but would it also help with the
> "stars" on the walls?

Consider how path-tracing works.  It's like adding diffuse reflection to all
surfaces.  First, a ray is sent out at a given pixel.  When that ray hits
something, it spawns more rays.  This happens recursively, and if one of the
paths ends up at a light source, that color is transferred forward to the
pixel.  If the light sources are too small, 99.999% of the rays are never going
to find a light source.  The 0.001% that do find a gap in the door after a
bounce or two result in the "stars."  However, if you use a portal, then you're
saying that you know in advance where the light is, so we'll always send a ray
in that direction, just in case.  Not perfect, but it makes a huge difference.

 - Ricky


Post a reply to this message

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