POV-Ray : Newsgroups : povray.advanced-users : Using a Macro to add children to a predeclared object : Re: Using a Macro to add children to a predeclared object Server Time
29 Jul 2024 14:12:35 EDT (-0400)
  Re: Using a Macro to add children to a predeclared object  
From: John D  Gwinner
Date: 4 Jan 2002 16:41:59
Message: <3c3621a7@news.povray.org>
Right, that would work, but then I could also just do the POV way too.  I
was trying to set it up so I could add a .include in Moray and do the
animations from within Moray.

I'll probably have to use Moray to 'model' the scene, which means if I see
something wrong in the model, I'll have to re-export the .pov file from
Moray and edit it by hand every fiddle/run/fiddle cycle.

                  == John ==

"JRG" <jrg### [at] hotmailcom> wrote in message
news:3c35f767@news.povray.org...
> If you're familiar with C you could write a simple program which uses
fgetc() or
> fscanf() and strcmp() to achieve what you need.
>
> --
> #local j=text{ttf"arial""JRG".2,0}#local J=0;#while(J<10)#local R=0;#while
> (R<2)#local G=0;#while(G<1)#if(inside(j<R,G.1>))object{j
scale.025translate
> <R-1G-J/20J/-40+2>pigment{rgb<9J>}}#debug"O"#else#debug" "#end#local G=G+
> .025;#end#local R=R+.05;#debug"\n"#end#local J=J+1;#end// JRG
>
> Home: http://digilander.iol.it/jrgpov
>
>
>


Post a reply to this message

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