Hi ! Some time ago I developed an own browser that uses the class VRML97Loader(Xj3D M2). Since the replacement of this Loaders against the new VRML97Loader(Xj3D M5) two mistakes occur.
1) A static VRML-file is loaded indeed, but it is not represented although
lights are available in scene and file.
Geometries already existing in the scene are represented however
correctly.
2) As soon as the "not visible VRML-Scene" was loaded, the navigation
supplies the following mistake :
javax.media.j3d.RestrictedAccessException: Node: local to vworld transform
is undefined for a node that is not part of a live scene graph
at javax.media.j3d.Node.getLocalToVworld(Node.java:259)
at
org.j3d.ui.navigation.NavigationHandler.checkCollisions(NavigationHandler.ja
va:1077)
at
org.j3d.ui.navigation.NavigationHandler.access$800(NavigationHandler.java:14
9)
at
org.j3d.ui.navigation.NavigationHandler$FrameTimerBehavior.processStimulus(N
avigationHandler.java:385)
at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:172)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
Exactly the two same mistakes occurred with the example LoaderDemo (author
Alan Hudson, from the codebase Xj3D M5) and a VRML test file. Source and
test-file are appended to this eMail.
I employ Win2K, Java3D 1.3(OpenGL) and Java2 SDK 1.3.1
Can somebody help me or give me a hint/tip ?
Best regards,
Claus
test.wrl
Description: VRML model
LoaderDemo.java
Description: JavaScript source
