POV-Ray : Newsgroups : povray.beta-test : Bug concerning function inside a loop inside a non-empty union... : Re: Bug concerning function inside a loop inside a non-empty union... Server Time
30 Jul 2024 14:30:54 EDT (-0400)
  Re: Bug concerning function inside a loop inside a non-empty union...  
From: Marc-Hendrik Bremer
Date: 27 Oct 2001 03:58:11
Message: <3bda6913@news.povray.org>
I got it to work by adding "#undef Function" after the sphere. Look at the
(wrong named) "Crash after constant function" in the known bug list and the
corresponding discussion.

Don't know if this removes the problem in all cases, though. I just tested
the scene as it is.

Marc-Hendrik

PII 450, 128 MB, Win 98, Pov 3.5beta6

JRG schrieb in Nachricht <3bd9d6f9@news.povray.org>...
>This code always crashes in beta 6:
>
>union {
>    #declare i=0;
>    #while (i<10)
>    #declare Function=function{x}
>    sphere {0,1}
>    #declare i=i+1;
>    #end
>    }
>
>If you comment out the union OR the while loop OR the sphere then it does
>not crash.
>
>POV-Ray 3.5 beta 6 Windows ME Athlon
>
>--
>Jonathan.
>
>
>


Post a reply to this message

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