|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why not Java ?
>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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Why not Java ?
Huh?
Johannes.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>>Why not Java ?
>
>Huh?
>
>Johannes.
>
Uhu !
Philippe
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Uhm.
Java sucks. End of story. Apart from the fact that Moray doesn't use or
support it.
--
-----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------
Ph Gibone wrote in message <36ea1454.0@news.povray.org>...
>Why not Java ?
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
>Uhm.
>
>Java sucks. End of story. Apart from the fact that Moray doesn't use or
>support it.
>--
Java Exists. End of story
Moray doesn't use or support any scripting language so far
Philippe
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ph Gibone wrote in message <36ecbcc9.0@news.povray.org>...
>
>>
>>Uhm.
>>
>>Java sucks. End of story. Apart from the fact that Moray doesn't use or
>>support it.
>>--
>
>
>Java Exists. End of story
>
>Moray doesn't use or support any scripting language so far
>
That's the reason for my previous "Huh?": Java is not a scripting language,
so I don't really see a good reason to use it here.
Maybe you mean JavaScript??? (Wouldn't be very useful either, since it is
mostly web-oriented)
Johannes.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ph Gibone wrote:
>
> Moray doesn't use or support any scripting language so far
>
> Philippe
Moray can use the older versions or Pov script if run thorugh a parser
first. Has been able to do that for years now. Not that many people
go thorugh the trouble but it is possible.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Maybe you mean JavaScript??? (Wouldn't be very useful either, since it is
>mostly web-oriented)
>
You're right on this point, but at least you can define something which more
or less looks like a dialog box !
BTW I'm not a Java freak neither a Java fan but when something exists you
can take the good out of it !
Philippe
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |