Possible GeometryInfo or Xj3D problem

Has anyone else had any problems creating indexed geometry arrays with GeometryInfo?

When I load a VRML model using Xj3D and turn its geometry into indexed geometry using GeometryInfo with the compact setting or the useCoordIndexOnly setting I get ArrayIndexOutOfBoundsExceptions in the internals of Java3D’s processing/render classes when I try to render the geometry or use it to initialize another GeometryInfo instance. I have not had the same problem with the .obj loader so this may have to do with Xj3D. I am using version M7 of Xj3d.

I believe in “using what works best”,
if the ‘new’ Loaders from Yumetech.com
work best for your VRML Great, use them,

if the ‘new’ loaders fail then

try the older Sun VRML Loaders.

If the Sun VRML Loaders have the funcitionality
you need, great: enjoy.

The Sun VRML Loaders sometimes succeed
where the newer Yumetech.com loaders fail.

and the old loaders can animated lots of
textured VRML objects with animation as
you can see here:

VRML Loaders Working: Sun’s VRML Loaders

http://www.frontiernet.net/~imaging/vrml_loaders_working.html

I’ll try your VRML with my programs if
you want a quick test to see if it works
with your VRML, you can send it to me
at the e-mail address on my website above.

To answer your question directly,
no, I haven’t had that problem,
I haven’t used the ‘new’ loaders much,
I’ve used mostly the ‘old’ loaders and
have worked with the functionality
they offer and have been able to animate
human avatars web browsers with nothing
more than a proper installation of Java 1.3
and the Java3d package.

– Paul