Members - Reputation: 102
Posted 13 September 2012 - 11:41 AM
To start with I have something like this:
and I want to see something like this after I position my camera to look along the normal of this polygon
But, the result is split into 2 triangles along the diagonal and the texture has an effect of Affine mapped texture.
My texture image is a 2D image but the rendering in OpenGL is in 3D World Co-ordinates.
Currently for texture mapping I am supplying the vertices of the polygon and corresponding 2D texture co-ordinates.
Could any one advice on what I am required to do in order to get correct texture mapping? Appreciate all your help.