|
The solution is very simple.
See a sniplet cut from Test4DLoad
demo:
/* the root */
BranchGroup objRoot = new
BranchGroup();
/*the scale TG*/
TransformGroup objScale = new
TransformGroup();
Transform3D t3d = new Transform3D();
t3d.setScale(1.2/sl);
objScale.setTransform(t3d); objRoot.addChild(objScale); /* this is the TG where the scene will be in
*/
TransformGroup objTrans = new
TransformGroup();
(...) /* it is child of tgScale */
objScale.addChild(objTrans);
/* the scene objects are put here
*/
objTrans.addChild( _mySceneShapes);
Alessandro
|
- [JAVA3D] Transformations Stefan Racz
- Re: [JAVA3D] Transformations Vladimir Olenin
- Re: [JAVA3D] Transformations Stefan Racz
- Re: [JAVA3D] Transformations Stefan Racz
- [JAVA3D] Transformations ahmet balci
- Re: [JAVA3D] Transformations Alessandro Borges
- Re: [JAVA3D] Transformations ahmet balci
- Alessandro Borges
