Archived

This topic is now archived and is closed to further replies.

Quake 3 Mesh Skinning

This topic is 6366 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This question is really for anybody who''s programmed a quake 2 (or three) model editor or viewer successfully before. Basically, I have the vertices for the model and the frames. I can get all of the triangles right, so that''s not my problem. Hoever, when I go to skin the model, I get everything except the stuff that I want. I don''t understand--I''m using the .mdX file''s texture coordinates, and I''ve even tried dividing by the width and height of the textures. I''m using OpenGL, and I tried to adjust the skins to be square by stretching and stuff, so maybe that''s a problem. Anyways, if anybody could answer this, it would help.

Share this post


Link to post
Share on other sites
are u sure youre reading in the texture coords right. cause i have no problem with them. although i do resize the textures in a paint program first to a ^2 size (for speed reasons).

but it should be a simple matter of scaling your the coords to the texture size
model->texCoords.s / skinwidth
model->texCoords.t / skinheight

Share this post


Link to post
Share on other sites