POV-Ray : Newsgroups : povray.general : Multiple media vs. multiple containers : Re: Multiple media vs. multiple containers Server Time
11 Aug 2024 15:15:55 EDT (-0400)
  Re: Multiple media vs. multiple containers  
From: Nieminen Mika
Date: 4 Jul 1999 14:48:43
Message: <377fac8b@news.povray.org>
Peter Popov <pet### [at] usanet> wrote:
: The main disadvantage of type 2 and it is that max_trace_level and
: max_intersections should be really high. This could be really painful
: in scenes with reflective / refractive objects.

  It would be fine if you could specify a max_trace_level for an object.
This way you could have a very high global max_trace_level and a glass
object with a smaller one. Like this:

global_settings { max_trace_level 20 }

object { WaterGlass max_trace_level 5 }

  This could mean that when a ray hits the WaterGlass object, it will be
reflected/refracted up to 5 times instead of 20 if the reflected/refracted
ray hits the same WaterGlass object again.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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