Hi all!
 
I have a class which extends JFrame, and the error occurs at runtime after after this method is called in the constructor:

private void createCanvas(){
    canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration());
    canvas.setBackground(Color.WHITE);
    cpane.add(canvas, BorderLayout.CENTER);
    universe = new SimpleUniverse(canvas);          
    universe.getViewingPlatform().setNominalViewingTransform();     
}

----------------------------------------------------

java.lang.UnsatisfiedLinkError: textureclear
at javax.media.j3d.Canvas3D.textureclear(Native Method)
at javax.media.j3d.Renderer.doWork(Renderer.java:1015)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)

----------------------------------------------------

The codes worked with Java3D, DirectX version, but due to some problems with adjustment of line width for LineAttributes , I installed the OpenGL version. Then this error appears.
Anyone has any idea what is the problem?
 
And other using the setNominalViewingTransform(), is there any other alternatives to this method?
Sorry for the numerous questions but I just started on 3D 2 weeks ago.
 
Thanks!
 
 
Jasmine Kwok

Reply via email to