|
![](/i/fill.gif) |
Peter Popov <pet### [at] usa net> 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
|
![](/i/fill.gif) |