POV-Ray : Newsgroups : povray.unix : My pov-mode : Re: My pov-mode Server Time
29 Jul 2024 00:25:35 EDT (-0400)
  Re: My pov-mode  
From: Ron Parker
Date: 3 Nov 1999 14:39:34
Message: <slrn82134b.v8.ron.parker@ron.gwmicro.com>
On 3 Nov 1999 12:05:49 -0500, Nieminen Juha wrote:
>  That's not the same since it will not only parse the scene but actually
>make instances of all the objects, calculate all the #while-loops, #macros,
>etc, and so on.

Some of that would probably have to stay.  Consider these two problems, which
wouldn't be caught on such a prepass but probably should be:

Problem 1:
----------
#macro MyMacro( foo, bar ) 
  object {foo texture {bar}}
#end

MyMacro(1,2)

Problem 2:
----------
#declare a=0;
#while (a<1 ) 
  #if (a<.5)
    sphere {10*a*x,1 pigment {color rgb 1-a}}
  #else
    sphere {10*a*x,1 pigment {color rgb a}
  #end
  #declare a=a+.1;
#end

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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