POV-Ray : Newsgroups : povray.programming : real scripting in povray? : Re: real scripting in povray? Server Time
28 Jul 2024 20:24:57 EDT (-0400)
  Re: real scripting in povray?  
From: TonyB
Date: 29 May 1999 12:32:12
Message: <374FFB0C.C6B75030@panama.phoenix.net>
I have already suggested that a for() loop and increment and decrement operators
as a nice addition to the pov language. Another thing someone once said was that
there might be a way of removing #declare and just dive directly into making x
equal y.

//Example:

#for(i=0; i<10; i++)
 e=i*2;
 sphere {0,1 pigment {rgb sqrt(e)}
 e*=.1;
 box {e,-e pigment {red e}}
/*
 this is just a wierd suggestion that came right
 off the top of my head, but it gives you an
 idea of the benefits of simplicity that could
 be reaped.
*/
#end

--
Anthony L. Bennett
http://welcome.to/TonyB

Graphics rendered
by the Dreamachine.


Post a reply to this message

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