How I can scale a 3D graph when the windows height changes?
I did something like that ,
but i think if you add a listener on the window (Wich i dont remeber now ;]
conect that to the transformGroup from the shape that will work.
I hope that helped you
(My english is not good as i want)
> Thanks for you response:
> I prove it using a specific ViewingPlatform when I create the
> SimpleUniverse simpleU = new SimpleUniverse(new MyViewingPlatform(), new
> Viewer(new OffScreenCanvas3D(config)));,
> Where MyViewPlataform() has the reimplmented method:
> public double getViewPlatformDistance(BranchGroup scene, Component canvas,
> View view),
> Bit it doesn´t work, i don´t know if I must do something more.
> Thanks, best regards.
> [Message sent by forum member 'miguelmu123']