Texture mapping Problem with gerbera implementaion

Recently I used hybrid’s implementation
gerbera-2.0.4-es-1.1 win32 non-commercial version to code a small program.
But When I use texture mapping and mode-view transforming, it comes to the result that the texture is not transformed correctly with the triangle that is rotated.

Anyone else also encountered such problem?

I visited the hybrid forum, and found the answer. It’s the problem of perspective correction. After I use
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
The texture is correctly deformed and displayed.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.