Jump to content
  • Advertisement


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

monkey man

mds file format + rendering

This topic is 5387 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 am writing some classes that parse and load an mds file, from Return to Castle Wolfenstein, and then renders it. A few weeks ago I posted a question on how to go about constructing the transformation matrix using the animation data encoded in the file and received a much appreciated pointer to a web site. Now, I''ve got the model rendering but the problem is that it almost looks like it''s being rendered inside out, if that makes any sense. During my original research into parsing an mds file I remember quickly reading that someone had a problem rendering the model and fixed it by using the inverse of the transformation matrix when drawing the points. Am I on the right track here? And if so, can somebody point me to a good tutorial on calculating the inverse of a matrix. I''ve been looking around but when I find something there''s very little explanation and no commenting of sample code. I think the Gauss method is the method needed. If anyone out there can give me a hand with this one I''d appreciate it.

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!