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

I was wondering where my paperclips went!


> 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??
>

Currently there is no mechanism in the loader interface for specifying
the requested attributes.  We generally turn on all attributes that the
VRML execution and scripting engines will need.  Beyond that you will
need to walk the resulting scenegraph and set attributes yourself.

I don't have example code currently(maybe we should add to the
distribution).  But the general idea would be to walk the scenegraph.
If the node an instanceof Group then walk its children.  If its a Link
then just ignore it as you will pick it up from the sharedGroup.  Look
for all nodes instanceOf Shape3D and then set the required capability
bits.

--
Alan Hudson
President: Yumetech, Inc.                      http://www.yumetech.com/
Web3D Open Source Chair        http://www.web3d.org/TaskGroups/source/

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