Hi,

I�m having some problems with my Lightwave loader (again). I experience that
the pickRotateBehavior acts differently on Lightwave imported objects
compared to using this behaviour on ordinary Java3D objects (such as the
colorCube object). When adding the 'pickRotateBehavior' to the Lightwave
branchgroup the rotation is not about the objects own axis. That is: the
object rotates, but it does not stay at the same position as the rotation
goes on. ( Does this mean that there will be similar problems with any
transformation done one a Lightwave object?) Here is how the scene graph is
constructed:

...
.....
TransformGroup sceneTransform = new TransformGroup(t);//Set view
objRoot.addChild(sceneTransform);
sceneTransform.addChild(objRotate);
LWSRoot = loaderScene.getSceneGroup();  // Load Lightwave scene.
objRotate.addChild(LWSRoot);

pickRotate = new PickRotateBehavior(LWSRoot, canvas, behaveBounds);
LWSRoot.addChild(pickRotate);
.....
...

Is there anyone among you who is an expert on Java3D versus Lightwave? I
could really need some help.
Or, does anyone know where I can find some detailed documentation about the
Lightwave loader and the common problems that might occur when using it in
Java3D?

Thanks for you time.
Anders.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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