POV-Ray : Newsgroups : povray.bugreports : v3.7: Is max_trace_level working correctly? : Re: v3.7: Is max_trace_level working correctly? Server Time
18 Apr 2024 09:45:16 EDT (-0400)
  Re: v3.7: Is max_trace_level working correctly?  
From: Warp
Date: 6 Apr 2014 06:06:58
Message: <53412742@news.povray.org>
Kenneth <kdw### [at] gmailcom> wrote:
> #declare C=1;
> #while(C<=40)
> sphere{0,1
>  scale .1 + .20*C
>  pigment{rgbt <.1,1,.1,.99>}
>  }
> #declare C=C+1;
> #end
> #else
> #end

POV-Ray 3.7 does not increase the recursion count when the object has
an ior of 1 (ie. the direction of the ray doesn't change.)

If you give those spheres an ior different from 1, you should get the
behavior you expect.

-- 
                                                          - Warp


Post a reply to this message

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