|
![](/i/fill.gif) |
Ken <tyl### [at] pacbell net> wrote:
: ...which equates to turning Moray into a language parser instead of a simple wire
: frame modelling program. I not arguing it's potential I am just pointing out the
: reality of what you propose. It would make everyone happy who wishes that Moray
: could read pov files directly and between you me and Lutz we certainly know how
: many requests there have been for that.
I didn't suggest adding a pov-file reader to moray. I just suggested
supporting a couple of commands like #declare ind=5; and #while(i<10).
The rest could be simple object creation commands that you put into comments.
Actually those float identifiers and while-loops could also be in comments.
Something like this:
#declare ind=0; //M: i=0;
#while(ind<100); //M: while(i<100) {
julia_fractal //M: cylinder { <0,-2,0>,<0,2,0>,1;
{ (some julia parameters)
...
translate x*ind //M: translate <i,0,0>; }
}
#declare ind=ind+2; //M: i=i+2; }
#end
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |