Hi again,
I discovered an error in the VRML97 file and must have accidentally worked with the
old version by creating an indexed line with one vertex. Strange, but my only
explanation. By hand-editing the VRML file I fixed it.
josh
>>> [EMAIL PROTECTED] 11/27/01 03:44PM >>>
Hi,
I've encountered an error using the old Sun VRML97 loader and the new J3D. I know the
VRML loader is no longer supported (I'll eventually migrate to the X3D version), but
I'm wondering why the change and what I can do to work around it?
Here's the exception I get:
Exception: java.lang.IllegalArgumentException: stripVertexCounts element less th
an 2
Last token was "}" at line 1965
java.lang.IllegalArgumentException: stripVertexCounts element less than 2
at javax.media.j3d.GeometryStripArrayRetained.setStripVertexCounts(Geome
tryStripArrayRetained.java:61)
at javax.media.j3d.GeometryStripArray.<init>(GeometryStripArray.java:60)
at javax.media.j3d.LineStripArray.<init>(LineStripArray.java:60)
at ca.mdrobotics.j3d.loaders.vrml97.impl.IndexedLineSet.initImpl(Indexed
LineSet.java:151)
josh
==========================================================================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".