Jump to content
  • Advertisement


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


MS3d Loading

This topic is 6155 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 know this subject has been covered before, but does anyone know where i can get reliable milkshape loading code? the stuff on nehes site doesnt work with any model except the one in his project, it loads them, but it wont skin them atall. any help would be greatly apreciated. Or if anyone knows where i can get some hl model loading code. cheers

Share this post

Link to post
Share on other sites
Have you tried my MS3D loading tutorial on NeHe''s site? Its Game Programming tutorial #4, and it goes over loading MS3D, and MD2 (Quake 2 model format) files. Give it a look-see, it could be what you''re looking for.

Trent (ShiningKnight)
E-mail me
ShiningKnight Games

Share this post

Link to post
Share on other sites
I just did, and that md2 code is JUST what i was looking for. very very good, and easy to use code, even for a newbie like me
I have a couple of questions however, I had a friend make me a simple model, it has no animation frames. I replaced the hobgoblin model with it, and loaded it into my scene. it works fine, for a moment, then it corrupts horribly, im guessing this is because teh code is trying to move on to frames that arent there, my question is this (i am a newbie so please bear with me ) How do i go about loading very simple md2 files with no animation?(using your code) what do i need to add or rip out? or if its a model thing, what frames do i need to add?
Thanks again.

Scratch that, i fixed it with the ratio value
I have another question, can i use gltranslatef to position the model? basically so i can add more than one model.
thnx again

Edited by - Paddeh on November 17, 2001 6:48:56 PM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!