Hi All,
I am new to Xith3D, but not to computer science …
I would like to explain you a litle pb : installing Xith3D is not an easy task, you know ? no up-to-date install HOWTO, no packaged installer … even the inscription to this forum is not easy, if you use Mozilla as I do (this site’s catcha doesn’t work on Mozilla …).
Is anybody has a idea where to find resources to help me ? Because after having installed Java3D 1.5.0 and all the Xith stuff, I have this error:
Exception in thread "main" java.lang.NoSuchMethodError: javax.vecmath.Matrix4f.setTranslation(Ljavax/vecmath/Tuple3f;)V
at org.xith3d.scenegraph.Transform3D.lookAt(Transform3D.java:706)
at org.xith3d.scenegraph.View.lookAt(View.java:536)
at org.xith3d.scenegraph.View.<init>(View.java:912)
at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:704)
at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:729)
at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:761)
at app.App.<init>(App.java:12)
at app.App.main(App.java:28)
when I try to execute this (simple…) code:
package app;
import org.xith3d.render.base.Xith3DEnvironment;
import org.xith3d.render.canvas.Canvas3DWrapper;
import org.xith3d.render.canvas.Canvas3DWrapper.Resolution;
import org.xith3d.render.loop.RenderLoop;
public class App
{
public App()
{
Xith3DEnvironment env = new Xith3DEnvironment();
Canvas3DWrapper canvas = Canvas3DWrapper.createStandalone( Resolution.RES_800X600,
"My empty scene" );
env.addCanvas( canvas );
RenderLoop rl = new RenderLoop();
rl.setMaxFPS( 128L );
rl.addRenderEngine( env );
// never forget to start the RenderLoop!
rl.begin();
}
public static void main( String[] args )
{
new App();
}
}
Is anybody can help ?
Thank’s a lot
Pat