Hi,

I'm trying to setup a texture matrix that will cancel the texture
perspective distortion.

With OpenGL, I'm using GL_EYE_LINEAR texture coordinate generation and
something like the following code to setup the texture matrix:

        glMatrixMode(GL_TEXTURE);
        glLoadIdentity();

        glGetFloatv(GL_PROJECTION_MATRIX, projMatrix);
        glMultMatrix(projMatrix);

        glGetFloatv(GL_MODELVIEW_MATRIX, modelMatrix);
        glMultMatrixf(modelMatrix);

The question is, what is the equivalent code for Java3D?  There doesn't seem
to be a common projection matrix like there is in OpenGL.

Thanks for the help,

Jarno

===========================================================================
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".

Reply via email to