PDA

View Full Version : Texture mapping Problem with gerbera implementaion



richardz
01-23-2005, 03:47 PM
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?

richardz
01-23-2005, 04:04 PM
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.