> How come this code works:
>
>
>myBox.getShape(Box.BACK).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
>myBox.getShape(Box.BOTTOM).getGeometry().setCapability(Geometry.ALLOW_INTERSECT
);
>myBox.getShape(Box.FRONT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT)
;
>myBox.getShape(Box.LEFT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
>myBox.getShape(Box.RIGHT).getGeometry().setCapability(Geometry.ALLOW_INTERSECT)
;
>myBox.getShape(Box.TOP).getGeometry().setCapability(Geometry.ALLOW_INTERSECT);
>
>...and this code doesn't:
>
>myBox.setCapability(Primitive.ENABLE_GEOMETRY_PICKING);

The Primitive.ENABLE_GEOMETRY_PICKING is a flag for the constructor, not a
capability bit.  The interface allows you to call:

     Primitive.setPrimitiveFlags(Primitive.ENABLE_GEOMETRY_PICKING)

but the implementation of Box doesn't check the flags after the constructor
(this is probably a bug).

Doug Gehringer
Sun Microsystems

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