Hi! Thank you for your quick answer. That was the problem. I thought that all capability is a bit in an int.
Thx Ivan -----Original Message----- From: ext Dipl. Ing. Paul Szawlowski [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] capability problem Ivan Zahoranszky schrieb: > Hi! > > Can anybody help me? > > I get the next exception: > Exception occurred during Behavior execution: > javax.media.j3d.CapabilityNotSetException: Group: no capability to set transform > > at javax.media.j3d.TransformGroup.setTransform(TransformGroup.java:105) > at Anim8OrLoader.Bone.calculateTransformGroup(Figure.java:183) > at Anim8OrLoader.Anim.doAnim(Anim.java:225) > at Anim8OrLoader.Anim.processStimulus(Anim.java:234) > at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:167) > at javax.media.j3d.J3dThread.run(J3dThread.java:256) > > BUT I set this capability earlier and the result of my following println is true > > Figure.java:182 -> >System.out.println(transformGroup.getCapability(TransformGroup.ALLOW_TRANSFORM_READ | >TransformGroup.ALLOW_TRANSFORM_WRITE)); > Figure.java:183 -> transformGroup.setTransform(t3d1); > > Thank You > > Ivan Zahoranszky > > ========================================================================= > 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". > Capabilities cannot be ored. Each capability has to be set in a seperate call to setCapability(). =========================================================================== 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".