Hi,
 
I have a scenegraph object containing some lines, circles, arcs, texts etc. I wish to do some zooming and hence I did the follg to the scenegraph's transformgroup
 
    Transformgroup t3d;
  t3d.setTranslation(new Vector3d(0,0,0));
  t3d.setScale(scale);
  t3d.setTranslation(new Vector3d(test.x,test.y,test.z));//screen origin
  scenegraph.transformgroup.setTransform(t3d);
 
 
With this I am able to zoom line and circle. But the arc, text etc are not zoomed but only translated.. Can anyone tell me whether what I did is correct or not? If yes, why it is not zooming all the objects? Is my approach correct?
 
Regards,
ishwari

 

Reply via email to