Quake .md2 files query
I've been programming a small .md2 loader (which I intend to use in a tiny opengl project) but I think something may be amiss.
I'm loading the vertex details etc. from the first frame in the file, but the scale value seems strange to me.
Can anyone give me a rough idea of what this value usually is? I'm getting -1610612736 for the x scale, 1610612736 for the y scale and 1073741824 for the z scale.
I think everything is being loaded correctly since the frame name is being extracted fine.
Any ideas?
Many thanks.
E
Edited by - Eight on May 18, 2001 6:40:36 AM
Looks like u read badly some values... Maybe it s ''int'' instead of ''float'', or maybe it''s binary data and u are trying to read text... look for md2 specifications...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement