POV-Ray : Newsgroups : povray.animations : JavaScript en POV-Ray (voor een Newbie) Server Time
5 Jul 2024 12:17:02 EDT (-0400)
  JavaScript en POV-Ray (voor een Newbie) (Message 1 to 2 of 2)  
From: Victor Reijs
Subject: JavaScript en POV-Ray (voor een Newbie)
Date: 8 Jan 2003 13:16:18
Message: <3E1C6AF1.DAA3CE96@iol.ie>
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

From: Warp
Subject: Re: JavaScript en POV-Ray (voor een Newbie)
Date: 8 Jan 2003 15:50:37
Message: <3e1c8f1d@news.povray.org>
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

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