hi,
What should my hierarchy be if I want to be able to zoom and scale both
a submarine model and an axes. I have been able to zoom and scale on
just the submarine model, but need to know where to add in the axes in
order to have it included in this action.
At the moment, I load the submarine model from a .obj file in to a Scene
"s".
- I then make a branchgroup "b" by calling s.getSceneGraph on my
previously created scene.
- I then add this branchgroup as a child of a transformGroup
"objTrans".
- objTrans is added as the child of both objScale and objZoom in order
to implement the zooming and scaling.
For my axes I developed the axes class which extends branchgroup, but at
the moment I just add this straight to the simple universe with
s.addBranchGraph(Axes). Where in the hierarchy should I be adding this
branchgraph in order to make it zoomed and scaled at the same time as my
model.
Cheers
Chris
===========================================================================
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".