|
|
Hello all of you,
I am new to POV-Ray, but did some programming in VRML. I now want to
convert a VRML world into POV-Ray (because I want to get shadow casting,
which seems not possible with VRML).
I have the program vrml2pov, but I need to get animations also in the
POV-world. In VRML I used to use JavaScript; can I re-use some of the
code for the POV-world?
Thanks for your help and if you can provide a few examples or URL's for
this newbie, that would be great.
All the best,
Victor
--
URLs: http://www.reijs.org/
http://www.archaeocosmology.org/
http://www.iol.ie/~geniet/maeshowe
http://www.iol.ie/~geniet/irishstones
http://www.iol.ie/~geniet/stpatrick
Post a reply to this message
|
|
|
|
Victor Reijs <gen### [at] iolie> wrote:
> In VRML I used to use JavaScript; can I re-use some of the
> code for the POV-world?
You can probably re-write your animation code with POV-Ray script (as
it's quite versatile), but if you don't know anything about POV-Ray's
scripting language, then you will need to learn a bit of it.
The official documentation is a great source of information.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|