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

The intersect capability is in the Geometry class, i think its called
ALLOW_INTERSECT or something.

Set this capability before going live and you should be laughing.

Chris.

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