Hi,
only one capability or capabilityIsFrequent bit may be set or cleared per method invocation (see SceneGraphObject javadoc). These bits (integers) cannot be 'ORed' together, because they are numbered consecutively.
For each concerned class the capability bits can be considered as an unique bit position within a long number (64 bit). That's the way Java 3D stores them internally, but these 'longs' are not public.
The open source utility class [b]CapAndFrqBits[/b] allows to retrieve these 'longs' as well as to set and clear 'ORed'-bits in a convenient way. Specific 'longs' can be generated with the program [b]CapBitSelector[/b]. The [b]magic number[/b] to set or clear all bits for an arbritary scene graph object is '281474976710651L' or '2**48 - 1 - 2**2' (bit positions 0 - 47, position 2 isn't used).
CapBitSelector and CapAndFrqBits :
http://www.interactivemesh.org/freeware/capbitselector.htmlAugust
[Message sent by forum member 'interactivemesh' (
A.Lammersdorf@...)]
http://forums.java.net/jive/thread.jspa?messageID=369668---------------------------------------------------------------------
To unsubscribe, e-mail:
interest-unsubscribe@...
For additional commands, e-mail:
interest-help@...