skinning md2 models


Anyone know how do you skin an md2 model. Right now i load the skin bmp to an unsigned int and render the md2’s triangles one by one applying the texture. As you can see the entire skin shouldn’t be applied to each triangle. How do you just use the parts of the texture that you need for that particular triangle???


[This message has been edited by eckiller (edited 05-02-2000).]