Dear all,
I'm currently working on an x3d project in the world of academia; I have
experience with various other languages, but I'm a complete newbie with x3d.
Is it possible to build my x3d application on top of Java3d (/Java)??
To me, it seems sensible to build all my proto's as Java3d objects and
handle all my scripting within Java3d??
I suppose my question is "How do Java3d and x3d work together?"
(This question could just as easily be phrased - "How do Java and VRML fit
together?")
Any help would be much appreciated!
Regards,
Ben
bensmyth - 16 Dec 2004 15:12 GMT
Here's an example of what I've done so far......
I've created a (static) pool table - completely in x3d (I could have done
the same in VRML).
I now want to add interaction.
Firstly I would like to add collision detection[1]. This obviously requires
scripting... For which I will opt for Java[2]... This is where the issues
arise! In my current world everything is static (ie I have created a model),
in order to handle collisions my script must know where all the balls are
positioned. Hence it makes sense to handle the positioning of balls within
the script rather than the x3d code.....
Collision detection would be far easier if I had created the balls within
Java3d!!!
Hence, my question, is it possible to create my world using Java (or in my
case Java3d), using x3d for the front end only??
Hope that helps clarify my problem......
Cheers,
Ben
[1] I'll develop this as a small prototype, before implementing in my
virtual world
[2] Javascript is just as suitable, but I'm more familiar with Java. In
fact, I may actually use Java3d.