Skip to main content

Xj3d + Aviatrix3d scene graph

4 replies [Last post]
anne
Offline
Joined: 2006-05-05

Hello,

I am working with Xj3d-M9, Aviatrix3d-Beta2 and a x3d-file trying to load a scene and render it via OpenGL. First of all I'd like to say that I spent a huge amount of time trying before I posted this message. But still I could be the "problem" here.

Unfortunately, I can't run half of the browser examples released with the latest milestone of xj3d. The only example using the aviatrix3d package is one of the non-working ones.

Does anybody know what happened to the DISProtocolHandler- class used within the DIYBrowser.java? It is running without it. I am just curious.

The latest (!!) error is:
>java.lang.NoSuchMethodError: >org.j3d.aviatrix3d.SceneGraphPath.([Lorg/j3d/aviatrix3d/Node;ILjavax/vecmath/Matrix4f;Ljavax/vecmath/Matrix4f;)V

And yes, there isn't such SceneGraphPath constructor asking for a Node and two Matrix4f objects. If anybody has a simple (working) example using xj3d, aviatrix3d scene graph and jogl, could he/she post it here or send it via mail?

Thx,
Anne

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jcouch
Offline
Joined: 2006-02-17

One more thing that I should mention. This list is for Java3D-specific issues. Out of fairness to the others here, discussions on higher-level or alternate APIs should take place on their own lists.

For Xj3D-related queries, please post to the Web3d Consortium's source code list. Details are here:

http://www.web3d.org/x3d/workgroups/source.html

For Aviatrix3D, please head to the Aviatrix3D discussion list. The signup details are here:

http://www.j3d.org/mailing_lists.html

Justin Couch

java3d-interest@javadesktop.org wrote:

> Does anybody know what happened to the DISProtocolHandler- class used within the DIYBrowser.java?

That file is included in the xj3d-common JAR file if you're running from
the expanded version from, say, a dev release. In the milestone
releases, all classes are contained in a single big JAR file. The
package is org.web3d.vrml.renderer.common.input.dis.

> The latest (!!) error is:
>
>>java.lang.NoSuchMethodError: >org.j3d.aviatrix3d.SceneGraphPath.([Lorg/j3d/aviatrix3d/Node;ILjavax/vecmath/Matrix4f;Ljavax/vecmath/Matrix4f;)V

That looks like you've got some class clashes by having different
versions of the JAR files floating around in your classpath. Can you
give me the rest of the stack trace that came with it? As part of our
build process for each milestone and dev release, we always do a clean
build so that we know everything is valid, to avoid these sorts of
problems. When we see these, that typically means that there's a
classpath clash somewhere - say an old version of Xj3D running around in
a JRE lib/ext area unexpectedly.

I assume you're trying to get the OGLBrowser running, correct? Or
something else? Some more details would be handy.

--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler http://www.yumetech.com/
Author, Java 3D FAQ Maintainer http://www.j3d.org/
-------------------------------------------------------------------
"Look through the lens, and the light breaks down into many lights.
Turn it or move it, and a new set of arrangements appears... is it
a single light or many lights, lights that one must know how to
distinguish, recognise and appreciate? Is it one light with many
frames or one frame for many lights?" -Subcomandante Marcos
-------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

anne
Offline
Joined: 2006-05-05

Yes, I am trying to get the OGLBrowser running. I know about the class clash problem and use the classpath file provided by IBM's Eclipse to make sure the VM is not messing with files of the Windows JDK.
But because you mentioned the problem again, I set all jar-files provided by the xj3d-M9 release in the classpath and the OGLBrowser started running. (Jihhaa!)
Then I replaced the aviatrix3d-all.jar with the beta1 and beta2 versions provided by "http://aviatrix3d.j3d.org/download.html" and non (!) of them led to a running OGLBrowser. What aviatrix3d version is the M9 release working with?

Thanks a lot for replying so fast.

Anne

jcouch
Offline
Joined: 2006-02-17

> Then I replaced the aviatrix3d-all.jar with the beta1 and beta2 versions provided by "http://aviatrix3d.j3d.org/download.html" and non (!) of them led to a running OGLBrowser. What aviatrix3d version is the M9 release working with?

Ah, yes. No, we're not using Beta 2 of AV3D in the M9 release of Xj3D. AV3D B2 was released about 2 weeks before Xj3D. We found and corrected a number of further bugs in AV3D before the M9 release that are post B2.