Hi Asaf,

you wrote:

> 1) I created one sphere, called allow_intersect on it and added to the
> world. Cool.
> 2) Icreated a second sphere,  called allow_intersect on it and got a
> "Cannot modify capability bits on live or compiled objects"  exception.
> Not cool.
>
> What am I doing wrong?

Probably your first sphere is already life or compiled when you
add the second one. Sphere and other primitives share the geometry
by default, thus the exception. If you can, add all primitives
before going life. Else create your primitives with the
Primitive.GEOMETRY_NOT_SHARED flag. This is documented in the
J3D FAQ http://www.j3d.org/faq/manipulating.html#restricted_access

regards

Georg
 ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   [EMAIL PROTECTED]           +49 (40) 23 53 27 10

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