|
|
"Povray" <tch### [at] ductapenet> wrote in message
news:3b5d9bf3$1@news.povray.org...
> OOOhh, this made me think of something, actually..
>
> What is povray itself could have perl *INSIDE* it.. Aka:
>
> perl_code {
> for($i = 0;$i < 10;$i++)
> {
> $dist = $i * 5;
> $out = "box { <$i, 0, 0> } box { <-$i, 0, 0> } spere { <0, 0, -$i) >
> $i}";
> }
> }
>
#declare i=0;
#while (i<10)
box {<5*i,0,0>,<i,1,1>} box {<-5*i,0,0>,<-i,1,1>} sphere {<0,0,-5*i>,i}
#declare i=i+1;
#end
The pov scripting language is quite powerful on its own
Gail
--
*************************************************************************
* gsh### [at] monotixcoza * Step into the abyss, *
* http://www.rucus.ru.ac.za/~gail/ * and let go. Babylon 5 *
*************************************************************************
* The difficult we do immediately, the impossible takes a little longer *
*************************************************************************
Post a reply to this message
|
|