Hi, I am working on a problem that requires the display of the 3D Viewing parameters ( Translations and Rotations about X,Y and Z global axes) associated with a scene. I am a little confused by the extraction of these parameters during execution of an Orbit Behavior. The application also requires that the user be allowed to input of these parameters for direct manipulations.
This is what I have implemented so far: ViewingPlatform viewingPlatform = m_universe.getViewingPlatform(); TransformGroup vpTG = viewingPlatform.getViewPlatformTransform(); //retrieves VPT from simpleU which is a TG Transform3D transform3D = new Transform3D(); vpTG.getTransform(transform3D ); Vector3f vTranslate=new Vector3f(); Quat4f qRotation=new Quat4f(); double scale=transform3D.get(qRotation,vTranslate); For user input, my intent is to reverse the process. Am I on the right track for this ? Does anyone have any additional insight or solutions to this problem ? Regards Mark Vasudevan =========================================================================== 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".
