PDA

View Full Version : texture coordinates



miko
12-28-2002, 01:30 AM
assume i've got a 2d polygon and texture coordinates at all its vertices... and now i want to get a texture coordinates at some vertex inside the polygon. is it possible, plz.... http://www.opengl.org/discussion_boards/ubb/eek.gif

mmm
12-28-2002, 03:59 PM
Divide your poly... you can't assign texture coordinates to a point inside a poly because that point isn't a vertex.

mmm

miko
12-29-2002, 12:49 AM
ehm... i know. but i don't want to assign a texture coordinate. i acutally want to split polygon but i need to compute some reasonable texture coordinates for new vertices... http://www.opengl.org/discussion_boards/ubb/frown.gif