POV-Ray : Newsgroups : povray.general : Curved Triangle Problems : Re: Curved Triangle Problems Server Time
6 Aug 2024 08:12:11 EDT (-0400)
  Re: Curved Triangle Problems  
From: Ben Chambers
Date: 22 Apr 2002 01:14:00
Message: <3cc39c18@news.povray.org>
Hugo wrote:

> Okay after what you told, I checked your macro again.. Could it be as
> simple
> as this?  ;o))
> 
> #declare LOD=LOD+1;
> 
> ... this happens every time you invoke the macro because it's a global
> variable! You don't undefine it after the macro is finished, so next
> time
> your macro takes the variable, it's +1 ..  Don't worry, we all make
> mistakes.. Assuming this was the bug cause I didn't test it yet.
> 
> Regards,
> Hugo

Doh!  For some reason, that did it.  I thought it wouldn't matter, 
since it is an argument to the macro... I guess it mattered :)

...Chambers


Post a reply to this message

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