Hi Juergen,
I've never used the utility classes, but the error message sounds like you
forgot to set the capability to allow the primitives geometry getting
intersected.
Did you try to set Primitive.ENABLE_GEOMETRY_PICKING ?
Gernot
[EMAIL PROTECTED]
http://www.janet.de
Juergen Neubauer
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
Sent by: Discussion cc:
list for Java 3D API Subject: [JAVA3D] Question about
PickObject.USE_GEOMETRY
<JAVA3D-INTEREST@JAV
A.SUN.COM>
12.01.00 14:39
Please respond to
Discussion list for
Java 3D API
Hello all,
I know this has been discussed before - is there a solution yet or have
I to wait for the Java3D 1.2 release ?
When doing a Pick like this
Node primitive = (Node)pickScene.pickNode(pickScene.pickClosest(xTest,
yTest, PickObject.USE_GEOMETRY),
PickObject.TRANSFORM_GROUP);
I get an error:
javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to
allow intersect
(When setting the wanted Node to PickObject.SHAPE3D, the same error
occurs)
Picking with PickObject.USE_BOUNDS works fine, as long you do not have
to many objects in near distance.
But in my scene, the objects are really close - and sometimes even
overlapping.
SO, where do I have to set this Capability bit ?
In the BranchGroup or TransformGroup does not help.
Thanx for your attention,
-Juergen.
===========================================================================
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".
===========================================================================
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".