I've had this problem before. The issue is that the name of the ndoes includes "-" instead of underscore "_". You have to convert all of them which can be easily done using the "Replace" command of wordpad. In summary, you should change node names like: node-0
to node_0 Good luck! Jurgen Vansteelant wrote: > > I did the conversion to vrml 2.0 but still can't load it > this is what I get as error: > > Exception: com.sun.j3d.loaders.vrml97.impl.ParseException: Parse error at > line 21, column 28. Encountered: 734753 > Last token was "-0" at line 21 > com.sun.j3d.loaders.vrml97.impl.ParseException: Parse error at line 21, > column 28. Encountered: 734753 > at > com.sun.j3d.loaders.vrml97.impl.Parser.generateParseException(Parser.java:17 > 93) > at > com.sun.j3d.loaders.vrml97.impl.Parser.jj_consume_token(Parser.java:1763) > at com.sun.j3d.loaders.vrml97.impl.Parser.NodeBody(Parser.java:588) > at com.sun.j3d.loaders.vrml97.impl.Parser.Node(Parser.java:510) > at > com.sun.j3d.loaders.vrml97.impl.Parser.NodeStatement(Parser.java:229) > at > com.sun.j3d.loaders.vrml97.impl.Parser._MultNode(Parser.java:1204) > at com.sun.j3d.loaders.vrml97.impl.Parser._MFNode(Parser.java:1692) > at > com.sun.j3d.loaders.vrml97.impl.Parser.FieldValue(Parser.java:699) > at com.sun.j3d.loaders.vrml97.impl.Parser.FieldInit(Parser.java:632) > at > com.sun.j3d.loaders.vrml97.impl.Parser.FieldStatement(Parser.java:623) > at > com.sun.j3d.loaders.vrml97.impl.Parser.NodeBodyElement(Parser.java:596) > at com.sun.j3d.loaders.vrml97.impl.Parser.NodeBody(Parser.java:586) > at com.sun.j3d.loaders.vrml97.impl.Parser.Node(Parser.java:510) > at > com.sun.j3d.loaders.vrml97.impl.Parser.NodeStatement(Parser.java:220) > at com.sun.j3d.loaders.vrml97.impl.Parser.Statement(Parser.java:198) > at com.sun.j3d.loaders.vrml97.impl.Parser.Scene(Parser.java:187) > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:407) > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:355) > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:293) > at com.sun.j3d.loaders.vrml97.VrmlLoader.doLoad(VrmlLoader.java:112) > at com.sun.j3d.loaders.vrml97.VrmlLoader.load(VrmlLoader.java:106) > at BGScene.setupScene(BGScene.java:157) > at BGScene.<init>(BGScene.java:94) > at JPGraphics.openFile(JPGraphics.java:885) > at JMainManFrame.actionPerformed(JMainManFrame.java:517) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) > at > javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto > n.java:1504) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:3 > 78) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) > at javax.swing.AbstractButton.doClick(AbstractButton.java:279) > at > javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic > MenuItemUI.java:886) > at java.awt.Component.processMouseEvent(Component.java:3717) > at java.awt.Component.processEvent(Component.java:3546) > at java.awt.Container.processEvent(Container.java:1164) > at java.awt.Component.dispatchEventImpl(Component.java:2595) > at java.awt.Container.dispatchEventImpl(Container.java:1213) > at java.awt.Component.dispatchEvent(Component.java:2499) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) > at java.awt.Container.dispatchEventImpl(Container.java:1200) > at java.awt.Component.dispatchEvent(Component.java:2499) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) > at > java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) > Exception loading URL: vrml.InvalidVRMLSyntaxException > vrml.InvalidVRMLSyntaxException > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:413) > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:355) > at com.sun.j3d.loaders.vrml97.impl.Loader.load(Loader.java:293) > at com.sun.j3d.loaders.vrml97.VrmlLoader.doLoad(VrmlLoader.java:112) > at com.sun.j3d.loaders.vrml97.VrmlLoader.load(VrmlLoader.java:106) > at BGScene.setupScene(BGScene.java:157) > at BGScene.<init>(BGScene.java:94) > at JPGraphics.openFile(JPGraphics.java:885) > at JMainManFrame.actionPerformed(JMainManFrame.java:517) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) > at > javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto > n.java:1504) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:3 > 78) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) > at javax.swing.AbstractButton.doClick(AbstractButton.java:279) > at > javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic > MenuItemUI.java:886) > at java.awt.Component.processMouseEvent(Component.java:3717) > at java.awt.Component.processEvent(Component.java:3546) > at java.awt.Container.processEvent(Container.java:1164) > at java.awt.Component.dispatchEventImpl(Component.java:2595) > at java.awt.Container.dispatchEventImpl(Container.java:1213) > at java.awt.Component.dispatchEvent(Component.java:2499) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) > at java.awt.Container.dispatchEventImpl(Container.java:1200) > at java.awt.Component.dispatchEvent(Component.java:2499) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) > at > java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) > > If anyone understands this , please help me out! > > Thank you > Jurgen > > ----- Original Message ----- > From: "Tina Manoharan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 03, 2002 11:59 AM > Subject: Re: [JAVA3D] VRML Loader > > > Hi, > > > > I dont think that the VRML loader supports VRML1.0, it gives parsing > > error. Its supports VRML2.0 files. Well, you can easily convert VRML1.0 to > > VRML2.0 files using the vrml1tovrml2.exe converter. You should have it > > in your System directory. > > > > Cheers > > Tina > > > > > > > I'm using the VRML Loader written by the W3C, but I can't load every wrl > file that I want. > > > Currently I'm loading a small wrl file (125kB) and that works fine. But > when I want to load another one (13 MB) into my application it won't work? > > > Does the loader only works on some wrl files? > > > > > > The current wrl file has this written one the first line : #VRML V2.0 > utf8 > > > The other one I want to laod has this : #VRML V1.0 ascii > > > > > > So I suppose the loader can only load wrl files of the type V2.0. > > > > > > Can anyone help me out? > > > > > =========================================================================== > > 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". > > > > =========================================================================== > 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". =========================================================================== 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".