Having loaded a VRML model I can pick it with
BranchGroup.pickxxx(PickRay)
but cannot use either

        shape3D.intersect(PickRay, PickRay, Double[ ]);

as ALLOW_INTERSECT isn't set.

Similarly

        PickResult result = pickCanvas.pickClosest();
PickIntersection pickIntersection =
result.getClosestIntersection((Point3d)eyePosition);

Fails with ALLOW_GEOMETRY_READ not set.


However the BranchGroup returned by the VRML loader is a pretty odd beast
made of Links, Nodes, SharedGroups , ElasticBands and PaperClips and it
isn't obvious how to find the geometry in it all.

So, a) can one tell the VRML loader in advance how to set the capabilities
of what it loads or b) is there any methods or documentation on how to walk
the  result to find the Geometry??

Any input much appreciated.

        Thanks

                Alex Bowden

===========================================================================
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".

Reply via email to