Hi,

I encountered some serious problems with groupnodes (both Branch- and
Transformgroups), because setting flags like
ALLOW_CHILDREN_READ/WRITE/EXTEND, ENABLE_PICK_REPORTING, ALLOW_DETACH
(for BranchGroup) do not seem to work.

For example: I tried to add a BranchGroup to another BranchGroup on a
live Graph. Both had all the above ALLOW_... flags set (all Childnodes
too), and ... I got a CapabilityNotSetException.
So I tried to set the flags earlier and later in the code, set other
flags too (I ended up in setting all known flags on all nodes), but
nothing worked. The same for detaching a BranchGroup, and removing a
child.

Another problem was mousepicking. I tried to pick by TransformGroup.
Though I set ENABLE_PICK_REPORTING for the TransformGroup, used
setPickable and set any picking-related flags for the Group itself and
all its children , I did not get any TransformGroups in my
SceneGraphPath (neither using bounds nor geometry).
Picking by e.g. Primitives works fine, but that does not help me much.

I hope anybody out there can explain these strange effects.

Thanks in advance,
    Carsten
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to