Hello
> I have problem when I try to get a VRML object loaded with a x3d loader.
> This error is generate after click on object.
I don't know an easy way to solve it but this:
if (scene != null)
{
// get the scene group
sceneGroup = scene.getSceneGroup();
sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
sceneGroup.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
sceneGroup.setCapability(GeometryArray.ALLOW_INTERSECT);
sceneGroup.setCapability(GeometryArray.ALLOW_FORMAT_READ);
sceneGroup.setCapability(GeometryArray.ALLOW_COUNT_READ);
sceneGroup.setCapability(GeometryArray.ALLOW_COORDINATE_READ);
}
only sets the capabilities of the sceneGroup-Object. All other child-objects
are not affected, so their capabilities are NOT changed. You will have to
walk through the whole tree (get the childs, set the capa's, figure out if
it's a Leaf or an Group, get the children of the groups...) and set the
capabilities of each object.
good luck
Gilson Laurent
===========================================================================
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".