Background;
My scene consists of approximately 500 branchgroups that are roughly
arranged in a tree type structure which is loaded using the Openflight
loader from fullsail.

Problem 1:
The nodes at the root of the tree refuse to allow me set a Bounding object.
I can call setBounds(new BoundingBox()) on the Node without any problems but
if I immediately call getBounds() I recieve a null BoundingSphere
description. Even after compilation of the scene the node still seems to
lack any Bounds information. Are there any capabilities or switches that
might be stopping the Bounds object from being registered? I don't get any
capability exceptions when calling the functions. On the other hand nodes
lower down in the tree of BranchGroups do have their bounds information
calculated.

Problem 2:
When I try to use PcikTool to intersect the database with an arbitrary
vertical ray (i.e. to get terrain height) I always recieve a null result. I
have tried using BOUNDS and GEOMETRY modes but with no joy. I thought it
might be related to my problem above, however when I use the PickTool on a
node in which I know there is bounding information the PickTool still
returns null. If I get the Bounds object directly from the same node and
call the intersect function with the same PickShape I do get an
intersection. I have checked that picking is allowed on the node and all the
capabilities to read and write information about picking and the nodes
children are enabled. Is there anything else I could check or is this a bug
with PickTool? I'm not sure how the internals of the BranchGroup PickAll
function works, can anybody shed some light?

Many Thanks,

Matt

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