The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by rykowski]

Jon, saw that J3D 1.2.1 Beta was just released, so I tried to install it at
home on Win98. Installer would not work for me (I sent a note to Sun).
However at work I successfully installed on WinNT machine. However, when I
use one of your programs that requires VRML, I get the following error:

C:Java3DJ3duiBookexamplesFancyApp>java FancyApp
WARNING: Canvas3D constructed with a null GraphicsConfiguration.
WARNING: Canvas3D constructed with a null GraphicsConfiguration.
java.lang.UnsatisfiedLinkError: buildGA
at javax.media.j3d.GeometryArrayRetained.buildGA(Native Method)
at javax.media.j3d.GeometryArrayRetained.buildGA(GeometryArrayRetained.j
ava:1320)
at javax.media.j3d.DisplayListRenderMethod.buildDisplayList(DisplayListR
enderMethod.java:129)
at javax.media.j3d.RenderMolecule.updateDisplayList(RenderMolecule.java:
1466)
at javax.media.j3d.RenderBin.updateAllRenderMolecule(RenderBin.java:2148
)
at javax.media.j3d.Renderer.doWork(Renderer.java:602)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)

E.g. FancyApp will work fine until I add an object defined by VRML. The VRML
jar is where it should be. Have you tried 1.2.1 Beta yet? Do you get the
same error?
import-bot (20211) [Avatar] Offline
#2
Re: Potential problem with J3D 1.2.1 Beta
[Originally posted by author]

I haven't tried j3d 1.2.1 beta, and I can't tell too much from the error.
Sorry.

This probably has nothing to do with this problem, but I am using a version of
the array setCoordinate() method that was deprecated for j3d 1.2 (look in
j3dui.feedback.elements.TextureRect.buildGeometry()). I decided to continue
using it so that the code would be compatible with both 1.1 and 1.2. Also, in
the stack trace I can't see where the j3dui code enters into things. Perhaps
the problem is between the particular flavor of VRML loader you are using and
j3d 1.2.1, and has nothing to do with the j3dui code.

good luck
--jon


> Jon, saw that J3D 1.2.1 Beta was just released, so I tried to install it at
> home on Win98. Installer would not work for me (I sent a note to Sun).
> However at work I successfully installed on WinNT machine. However, when I
> use one of your programs that requires VRML, I get the following error:
>
> C:Java3DJ3duiBookexamplesFancyApp>java FancyApp
> WARNING: Canvas3D constructed with a null GraphicsConfiguration.
> WARNING: Canvas3D constructed with a null GraphicsConfiguration.
> java.lang.UnsatisfiedLinkError: buildGA
> at javax.media.j3d.GeometryArrayRetained.buildGA(Native Method)
> at
javax.media.j3d.GeometryArrayRetained.buildGA(GeometryArrayRetained.j
> ava:1320)
> at
javax.media.j3d.DisplayListRenderMethod.buildDisplayList(DisplayListR
> enderMethod.java:129)
> at
javax.media.j3d.RenderMolecule.updateDisplayList(RenderMolecule.java:
> 1466)
> at
javax.media.j3d.RenderBin.updateAllRenderMolecule(RenderBin.java:2148
> )
> at javax.media.j3d.Renderer.doWork(Renderer.java:602)
> at javax.media.j3d.J3dThread.run(J3dThread.java:256)
>
> E.g. FancyApp will work fine until I add an object defined by VRML. The VRML
> jar is where it should be. Have you tried 1.2.1 Beta yet? Do you get the
> same error?
import-bot (20211) [Avatar] Offline
#3
Re: Potential problem with J3D 1.2.1 Beta
[Originally posted by abergstr]

I tested the our applet with the J3D 1.2 and the new 1.2.1 Beta. The cursor
flickered when running the applet in 1.2.1 but not in 1.2. Of course, I
couldn't tell you if that was due to the j3dui package being slightly
uncompatible with 1.2.1 beta or if 1.2.1 beta has a bug... just thought I'd
give you a heads up.