Where is your geometry located? The view initially starts at the origin and faces the -z-axis.
Did you set the view platform's TransformGroup to the new Transform3D you created? For example, from your code: viewingGroup.setTransform(transform) Sean > -----Original Message----- > From: Brad Urani [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 3:28 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] view platform transforms > > > I'm trying to place the view platform so that my whole > scene is visible when the program starts like so > > ViewingPlatform viewingPlatform = > universe.getViewingPlatform(); > TransformGroup viewingGroup = > viewingPlatform.getViewPlatformTransform(); > Transform3D transform = new Transform3D(); > transform.setIdentity(); > transform.setTranslation(new Vector3f(0f, > 2f,10f)); > > But this does not put the platform where I'd expect > it. Playing around with the numbers it seems the axis > are all mixed up and I can't move the view far enough > to the right. Any ideas? Thanks. > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > ============================================================== > ============= > 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".
