PDA

View Full Version : Texture mapping problem



jenny_wui
11-18-2011, 06:15 AM
I have drawn a plane with a texture mapped on it. Now when I deform the plane, the texture deforms. Please ignore my poor knowledge.I just want to know, do the texture coordinates automatically map to deformed vertices or I need to do manipulation in texture coordinates to get better output? Thanks in advance.

mobeen
11-18-2011, 08:21 AM
Once you have assigned the texture coordinates to a vertex unless you assign a new value to it, they retain their old value. If you polygon is deforming, naturally the image on it would deform along with it.
What do u mean by getting better output? The output will be dictated by the filtering settings of ur texture and the resolution of the image you are using as texture.

V-man
11-19-2011, 01:58 AM
maybe he is talking about this
http://xyzw.us/~cass/qcoord/

jenny_wui
11-19-2011, 03:52 AM
Actually I wanted to know the way I am doing texture mapping, is it the proper way or there is a better way of texture mapping when deformation takes place. Resolution of the textured image is quite ok.