I looked up the capability bits for boxes in the java doc and added all of
them. But I still get those errors.
Why do I get a Shape3D and a GeometryArray error when I click on a Box?

Thanks!
Katja

> > I tried to do it with PickCanvas, but I always get a
> > CapabilityNotSetException: "GeometryArray: no capability to get vertex
> count" when I click on the
> > plane and "Shape3D: no capability to get geometry" when I click on one
> of the
> > boxes. Which capabilities are have to be set?
>
> You need to set the capabilities, the objects (the Geometry array and the
> shape3d have setCapability(int) methods (actully inherit it from
> SceneGraphObject), the ones you need are GeometryArray.ALLOW_COUNT_READ
> and
> Shape3D.ALLOW_GEOMETRY_READ, it's all in the java doc for java3d
>
> HTH
>
> Jeremy
>
> --
> ________________________________________________________
>
> PGP key is here -> http://www.computerbooth.com/pgp.html
>
> * If debugging is the process of removing bugs, then programming must be
> the process of putting them in.
>
>
===========================================================================
> 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".
>

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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