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

does md2 contain vertexNormals

This topic is 5375 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

I''m making a game using md2 files for animation. I basically used the lesson 4 in Nehe''s tutorials it shows up fine now, but I notice that maybe there''s no shading because I think there isn''t any vertexNormal information in the struct of that tutorial does anyone know if md2 format contains vertexNOrmals or not, I want to have shading so can I just put vertexNormals in the struct? And use it that way. But if milkshapes md2 conversion won''t convert it it''ll be a waste or will I have to just compute them myself, can anyone help in this dilemma.

Share this post

Link to post
Share on other sites
MD2 contains an index into an array of precalculated normals. This table can be found somewhere in the Q2 source code.

However, rather than dig out the table, I would simply compute them yourself.


Those who dance are considered insane by those who cannot hear the music.

Focus On: 3-D Models
Evan Pipho (

Share this post

Link to post
Share on other sites