POV-Ray : Newsgroups : moray.win : Plugin idea Server Time
29 Jul 2024 16:32:35 EDT (-0400)
  Plugin idea (Message 1 to 10 of 28)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Twyst
Subject: Plugin idea
Date: 12 Mar 1999 19:47:25
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

From: Twyst
Subject: Re: Plugin idea
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

From: Ph Gibone
Subject: Re: Plugin idea
Date: 13 Mar 1999 02:31:32
Message: <36ea1454.0@news.povray.org>
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

From: Johannes Hubert
Subject: Re: Plugin idea
Date: 13 Mar 1999 04:59:53
Message: <36ea3719.0@news.povray.org>
>Why not Java ?

Huh?

Johannes.


Post a reply to this message

From: Ph Gibone
Subject: Re: Plugin idea
Date: 13 Mar 1999 05:58:43
Message: <36ea44e3.0@news.povray.org>

>>Why not Java ?
>
>Huh?
>
>Johannes.
>

Uhu !

Philippe


Post a reply to this message

From: Twyst
Subject: Re: Plugin idea
Date: 14 Mar 1999 22:48:42
Message: <36ec831a.0@news.povray.org>
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

From: Ph Gibone
Subject: Re: Plugin idea
Date: 15 Mar 1999 02:54:49
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


Philippe


Post a reply to this message

From: Johannes Hubert
Subject: Re: Plugin idea
Date: 15 Mar 1999 03:33:42
Message: <36ecc5e6.0@news.povray.org>
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

From: Ken
Subject: Re: Plugin idea
Date: 15 Mar 1999 07:57:09
Message: <36ED041C.CDB298F9@pacbell.net>
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

From: Ph Gibone
Subject: Re: Plugin idea
Date: 15 Mar 1999 12:54:41
Message: <36ed4961.0@news.povray.org>
>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

Goto Latest 10 Messages Next 10 Messages >>>

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