POV-Ray : Newsgroups : povray.beta-test : max_intersections : Re: max_intersections Server Time
30 Jun 2024 13:37:14 EDT (-0400)
  Re: max_intersections  
From: clipka
Date: 28 Aug 2010 12:47:02
Message: <4c793d86$1@news.povray.org>
Am 28.08.2010 18:33, schrieb Stephen:
> When I tried to increase max_intersections in 3.7 I got a parse error.
> "Nonic03_Fail04X_.pov" line 10: Parse Error: No matching } in
> 'global_settings', float function 'float constant' found instead
>
> global_settings {
> adc_bailout 0.001
> ambient_light rgb <1.000,1.000,1.000>
> assumed_gamma 2.200
> irid_wavelength rgb <0.250,0.180,0.140>
> max_intersections 64
> max_trace_level 150
> number_of_waves 10
> noise_generator 3
> charset ascii
> }
>
>
> Am I missing something?

It's a bug, not a feature :-/

According to the POV-Ray source code, "max_intersections FLOAT" is 
apparently supposed to do nothing in POV-Ray 3.7, but the parser fails 
to eat the FLOAT parameter.

You can work around this by commenting-out the offending line (or 
placing a "#if (version < 3.7)...#end" around it). Actually, you should 
also have received a parser warning, "'max_intersections' is no longer 
needed and has no effect in POV-Ray 3.7 or later."


Post a reply to this message

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