Alp Yilancioglu wrote:
Hi again..
How can i recompile the scene.
i want to make my robotarm -to pick an available shape from the
eviroment and put it to a another given x,y,z coordinate
i make it like this.
during runtime my robot arm goes on to the shape to pick it. and i
add the shape to the robot arm..
like lowerArm.addChild(Shape3D);
but when i done this rendering during the runtime stops.
is this right? or Wrong? if it is wrong how can i pick an object during
runtime.
if it is right. then how can i re render or re compile the scene which is
created with in a simpleUniverse?
When you compile a scene, the Java3D parser walks the scene graph and
makes tweaks that optimize performance at the expense of limiting
functionality. There are two ways to keep the ability to change the
graph after it starts rendereing:
- Call set|Capability() to enable a certain capability to exist after
the graph is compiled (such as
myTransformGroup.setCapability(TransformGroup.||*ALLOW_TRANSFORM_WRITE
<cid:[EMAIL PROTECTED]>*|))
- Don't compile the graph in the first place
Mark McKay
===========================================================================
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".