POV-Ray : Newsgroups : moray.win : Plugins, plugins, plugins... : Re: Plugins, plugins, plugins... Server Time
29 Jul 2024 08:10:45 EDT (-0400)
  Re: Plugins, plugins, plugins...  
From: Nieminen Mika
Date: 29 Jul 1999 02:21:10
Message: <379ff2d6@news.povray.org>
Ken <tyl### [at] pacbellnet> 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

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