Hi, I have a volume rendering application that uses polygon slices that are perpendicular to the view direction. How do I get the view vector in Java3D?
Basically, I am porting my code which is an OpenGL application. In the C++ application, I had computed the view vector using the inverse-Eye-Space-Matrix (GL_MODEL_VIEW_MATRIX). The porting went fine except that there are some bugs when I rotate the view. The view vector I am using is computed using the eye point and the center of the volume. This works for most except when I start looking on the back side of the volume - the volume gets flipped to the front. I am using the Orbit Behavior rotating around the volume's center. Also, I am using Doug Gehringer's VolRend application's Renderer.getViewPosInLocal to get the eye point. Thanks! Kovalan =========================================================================== 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".