POV-Ray : Newsgroups : moray.win : Plugins, plugins, plugins... : Re: Plugins, plugins, plugins... Server Time
29 Jul 2024 02:29:06 EDT (-0400)
  Re: Plugins, plugins, plugins...  
From: Tony Vigil
Date: 26 Jul 1999 15:02:54
Message: <379CB0D4.AFA4485F@emc-inc.com>
I've always thought a script based modeller plugin would be cool.

Perhaps an "Insert Code" plugin could be created to perform this task while still
allowing Moray to be useable with other renderers.  This plugin would allow you to
enter some textual code and add a simple visual representation (just a cube?!?) in
the Moray Scene.  The Modify tab would only need a button to allow you to access a
code editor for modifications to the code, and some parameters that tell Moray
where the code should be inserted or if it should be saved as a seperate include
file & referenced in the export file.  For all intent & purpose, this would be a
dumb code editor.  Moray's only purpose in this matter would be to insert the code
as entered & specified - correct syntax or not.


Nieminen Mika wrote:

> Alex Magidow <axi### [at] mninternet> wrote:
> : Also, couldn't you just do that in POV-Ray anyway?
>
>   The point is that you could do that while still being able to see the
> wireframe and model with the mouse. You can do it with povray, but you
> can't see the scene before you render it.
>
> : While it might be nice to tweak POV-files, I wouldn't want to have to
> : type in 10 lines of code every time I wanted to replicate an item.
>
>   No-one is saying that every creation/transformation process should be done
> by scripting. A scripting language would be nice to create things not possible
> with the GUI.
>   Ok, suppose that somebody gets the random placement plugin. Now you would
> want to place the objects randomly along a sine-wave. What do you do? Since
> you have no plugin for this, you a) don't do it, or b) make another plugin
> or enhance the existing plugin for this.
>   Oops, now you want the objects along the curve exp(x^2)*cos(x^3)-tan(5).
> What do you do? Another plugin?
>   With a scripting language you just type the function in the right place
> and that's it.
>   Got it?
>
> --
> 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.