[JAVA3D] semi-random movement

1999-12-23 Thread Eric Arnold
Could someone please help me out... I am writing a predator/prey simulation and want the animals to have semi random movement but I can't get them to move unless I use a PositionInterpolator - and then they just move along one axis. I tried adding an extra branch group and rotating it to change

[JAVA3D] getting started

1999-12-23 Thread Mahesh R
Hello J3Dgurus, I have just started with learning java. I have down loaded Java3D. My first aim is to get the demos running. When I run the demos I am getting exceptions : Ex: c:\jdk1.2\demo\java3d\HelloUniverse> java HelloUniverse Exception in thread "main" java.lang.NoClassDefFoundError:

Re: [JAVA3D] Urgent: how to save a scenegraph in a file ?

1999-12-23 Thread Olivier fillon
-Original Message- From: Chen Lu <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, December 24, 1999 12:17 PM Subject: Re: [JAVA3D] Urgent: how to save a scenegraph in a file ? You can write a CGI program to save your datas into file. =>I am afraid this will no

[JAVA3D] Implementing background with VRML approach?

1999-12-23 Thread Kenny-Siu-Ming Tang
Dear all, I am looking for a way to apply a color gradient backdrop to a Java3D scene for which the sky color, ground color, sky angle and ground angle could be set, and the program takes the two colors at each end and automatically calculates the gradient values for the area in between. Is this p

Re: [JAVA3D] Access Named Nodes of a VRML file

1999-12-23 Thread Stuart Fischer
Use the getNamedObjects() method of the Scene object returned when you load the file. This returns a hashtable mapping DEF strings to Java3D nodes. If you save a reference to this hashtable in your program, you can access the named nodes at any time: Node aNode = (Node) myNamedNodeHashtable.get

Re: [JAVA3D] Urgent: how to save a scenegraph in a file ?

1999-12-23 Thread Chen Lu
You can write a CGI program to save your datas into file. - Original Message - '-MZÒ : Patrick GIORDANO <[EMAIL PROTECTED]> ^¶æ : <[EMAIL PROTECTED]> '-M"úZz : 1999"N 12OZ 23"ú -Ø-j"ú OßOã 06:30 O-¼ : [JAVA3D] Urgent: how to save a scenegraph in a file ? > i would like to save a sce

[JAVA3D]

1999-12-23 Thread iñigo recio
Hi all, I developed my own Java3D browser with JBuilder.It worked fine, but when i made a zip file and run it with jre,found next exception: java.lang.NullPointerException at com.sun.j3d.loaders.objectfile.ObjectFile.makeScene(Compiled Code) at com.sun.j3d.loaders.objectfile.ObjectFile.l

[JAVA3D] Urgent: how to save a scenegraph in a file ?

1999-12-23 Thread Patrick GIORDANO
i would like to save a scenegraph with shape and animation nodes in a file. But but there are no save methods for this in java3D and all the java3D methods are not serializable. How can i do this ? What is the best and the simplest solution ? =