Hi I am trying to use the VRML loader which I downloaded from http://www.web3d.org/TaskGroups/source/xj3d.html using the Xj3dInstall(Min).exe. (I couldn't face 27 meg at my BT line speed). I have a two questions and two problems. First the questions... One ---------------------------------------------------- I want to load VRML (i.e. #VRML V2.0 utf8) exported from various CAD systems into into an existing J3D application. Having played with the example programs, Browser and Loader, Loader clearly meets my needs in demonstrating how to load VRML geometry into an existing SimpleUniverse. However I would like to understand more about the VRMLBrowser solution. Unfortunately I could find no documentation to explain the VRMLbrowser concept and its utility entities like e.g. VRMLUniverse & J3DVRMLSceneBuilder. There is (terse) documentation for the VRMLloader in xj3d_javadocs for the basic loader but it doesn't seem to cover these. (Maybe the answer is just that I have to do the full 27 meg download?). Two ---------------------------------------------------- What is the relationship between the VRMLloader code and the Xj3D Open Source Browser Project. If I just want VRMLloader and not VRMLbrowser, should I be picking up a simpler package from somewhere else? Three ---------------------------------------------------- So. I can get the example loader to work for "simple" data (OK - quite complex really). More complex data sets frequently seem to generate the error Exception loading URL:javax.media.j3d.MultipleParentException: Group.addChild: child already has a parent javax.media.j3d.MultipleParentException: Group.addChild: child already has a parent at javax.media.j3d.GroupRetained.checkValidChild(GroupRetained.java:443) at javax.media.j3d.GroupRetained.addChild(GroupRetained.java:452) at javax.media.j3d.Group.addChild(Group.java:261) at org.web3d.vrml.j3d.nodes.J3DGroupingNode.setupFinished(J3DGroupingNode.java: 412) at org.web3d.vrml.j3d.nodes.core.J3DTransform.setupFinished(J3DTransform.java:4 25) at org.web3d.vrml.j3d.J3DVRMLSceneBuilder.endNode(J3DVRMLSceneBuilder.java:570) at org.web3d.vrml.parser.vrml97.VRML97RelaxedParser.Node(c:/cygwin/home/adminis trator/projs/x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/vrml97/VRML9 7RelaxedParser.java:914) at org.web3d.vrml.parser.vrml97.VRML97RelaxedParser.NodeStatement(c:/cygwin/hom e/administrator/projs/x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/vrm l97/VRML97RelaxedParser.java:387) at org.web3d.vrml.parser.vrml97.VRML97RelaxedParser.Statement(c:/cygwin/home/ad ministrator/projs/x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/vrml97/ VRML97RelaxedParser.java:357) at org.web3d.vrml.parser.vrml97.VRML97RelaxedParser.Scene(c:/cygwin/home/admini strator/projs/x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/vrml97/VRML 97RelaxedParser.java:331) at org.web3d.vrml.parser.VRML97Reader.parseWeakly(c:/cygwin/home/administrator/ projs/x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/VRML97Reader.java:3 15) at org.web3d.vrml.parser.VRML97Reader.parse(c:/cygwin/home/administrator/projs/ x3d/xj3d/src/testrel/x3d/src/org/web3d/vrml/parser/VRML97Reader.java:112) at org.web3d.vrml.j3d.VRMLLoader.load(c:/cygwin/home/administrator/projs/x3d/xj 3d/src/testrel/x3d/src/org/web3d/vrml/j3d/VRMLLoader.java:204) at org.web3d.vrml.j3d.VRMLLoader.load(c:/cygwin/home/administrator/projs/x3d/xj 3d/src/testrel/x3d/src/org/web3d/vrml/j3d/VRMLLoader.java:144) ... Is this a known problem? Is there a work around? (Or maybe is it something odd in the data that Unigraphics is generating?) Four ---------------------------------------------------- The issues list in http://www.web3d.org/TaskGroups/source/xj3d-issues.html under VRML implementation says - InLine node only looks at first URL But when I try to use inline e.g. as DEF Member_0_0 Transform { translation 0.000000 0.000000 0.000000 rotation 0.000000 0.000000 0.000000 0.000000 children [ Inline { url "93326565_a.wrl" } ] } I get the error Exception type:class org.web3d.vrml.lang.InvalidFieldException Message:Unknown field name: url The exception trace is: org.web3d.vrml.lang.InvalidFieldException: Unknown field name: url at org.web3d.vrml.j3d.J3DVRMLSceneBuilder.startField(J3DVRMLSceneBuilder.java:5 99) ... So what syntax is the loader expecting for the inline directive if that isnt it?? The above sounds rather negative. Actually I am very encouraged with the results so far and if we can resolve the two problems above then I think that the loader will be very useful. Thanks in advance for any info Regards Alex Bowden ([EMAIL PROTECTED]) =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
