--- John Nelson <[EMAIL PROTECTED]> schrieb: > All, > > I've run into a problem that neither the Java3d > examples or the Sun API > reference seem to be able to explain to me.... and > that is how to perform > rotation traansforms. All the examples I've seen > either use a mouse event > or an Alpha/Interpolator.... but all I want to do is > just create a > cylinder and rotate it to a specific orientation in > three-space. > > Sounds pretty simple but I haven't been able to > figure it out from the > tools available. > > Now, I will tell you that I have tried creating a > Maatrix3d, normalizing > it and then doing rotX, rotY and rotZ and then > pumping that into a > Transform3d. But this doesn't actually seem to do > anything. > > Can anyone post some example code or point me to the > right place? > > -- John > you have to do make a setTransform to your transformgroup:
yourTransformGroup.setTransform(yourTransform3D); this should do it. hope i was of any help (cause i'm myself a newbie). cu mk __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de =========================================================================== 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".
