POV-Ray : Newsgroups : moray.win : Plugin idea : Re: Plugin idea Server Time
29 Jul 2024 08:24:55 EDT (-0400)
  Re: Plugin idea  
From: Twyst
Date: 12 Mar 1999 20:05:08
Message: <36e9b9c4.0@news.povray.org>
Oh ya, thinking about this a bit more:

All the math can be done by pov-ray itself -- so you don't need any
calcualtion functions (Unless you want to do a wireframe representation --
this could be done as well, I think.. . add drawing commands, maybe -- the
plugin defines the points in an array, or a loop, or something..  and passes
the list to the drawing method  )

also, the only thing necessary for povray output, is a method of getting the
values from the dialog, and a print command (that gets called when the
plugin is polled for output)-- after all; povray is happy with text.

Hmm...

Wireframe output prob. isn't possible.. but that's not a big deal, imho.

I can see this bringing out a whole bunch of math or repetitive "scripts"...



--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/O d+(-) s-: a-- C+++(++++) UL++ P+(--) L+ E- W+++>$ N++ o- K-
w+(---) O- M-- V- PS+ PE+ Y PGP t 5 X R tv- b++++ DI++ D G++ e h* r-- !y++
------END GEEK CODE BLOCK------
Twyst wrote in message <36e9b59d.0@news.povray.org>...
>How about a "scripting language" plugin? It would make it really easy to
add
>new ideas...
>
>For example, you could have a text file like so:
>
>
>Dialog
>
>  name "MyDialog"
>  sidebar //puts it in the side menu; could be window instead to make it
>popup
>  //if it's window, have pos X,Y, Size X,Y
>
>checkbox
>
> pos 10,10
> name "C1"
> value 0
>}
>
>label {
>  pos 10,20
> value "This is C1"
>}
>
>editbox
>
> pos 10,30
> size 10
> name "RepeatVal"
> value "100"
> }
>}
>
>output {
> print "#declare Max=" . $MyDialog(RepeatVal) . ";"
> ....
> ....
>}
>
>
>It's very rudimentary -- but I'm thinking of something along the lines of
>the scripting language found uin the mIRC chat program for windows.
>(http://www.mirc.co.uk )
>
>Anyone game for this?
>
>
>Twyst
>--
>-----BEGIN GEEK CODE BLOCK-----
>Version: 3.1
>GCS/O d+(-) s-: a-- C+++(++++) UL++ P+(--) L+ E- W+++>$ N++ o- K-
>w+(---) O- M-- V- PS+ PE+ Y PGP t 5 X R tv- b++++ DI++ D G++ e h* r-- !y++
>------END GEEK CODE BLOCK------
>
>


Post a reply to this message

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