POV-Ray : Newsgroups : povray.general : Feature idea: Compile to data file option : Re: Feature idea: Compile to data file option Server Time
7 Aug 2024 13:16:40 EDT (-0400)
  Re: Feature idea: Compile to data file option  
From: Ron Parker
Date: 26 Oct 2001 23:41:22
Message: <slrn9tkb74.l0.ron.parker@fwi.com>
On Thu, 25 Oct 2001 23:43:32 GMT, nospam wrote:
> One other problem, if youy use the technique of having a .pov
> file write a temp file and then include the just-created temp
> file, the above method would fail.

My guess would be that nothing but a full-blown POV parser can predict what
a POV program will do, and that can only do so by running the program and
seeing what happens.  I suspect it's quite easy to map this problem to the
halting problem.

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

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