I effect Zoom by altering the field of view. There's a good post on the subject in the archives. Search for "field of view". Daniel -----Original Message----- From: Qiu Guojin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 07, 2000 1:44 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] I want to add a button for zoom in or out hi, Now I develope a program and It need zoom in and zoom out. I want to use a button to make it zoom in or out when press it. But i don't know how to do ,can someone tell me . thanks in advance. I tried to do as following. Transform3D mmm ; double x=0; .... if (e.getSource=="button"{ mmm.setScale(x); behaviorTrans.setTranslation(mmm);//behaviorTrans is a TransformGroup } =========================================================================== 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". =========================================================================== 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".
