Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


Just about finished my MTR material loader. I didn't want to wait so I cheated a bit and filled in the diffuse parameter. UPDATE: Its done now.

The MTR scanner took WAY longer than I had hoped. The big problem, as I explained yesterday, was the complete lack of any kind of magic number or other identifying mark. I ended up testing for non-ASCII bytes and that the second line was an opening bracket. After that, I'm leaving it up to my reader to only load the material if the expected parameters are there.

I also decided not to support root path from the scanner because its just not worth screwing with my virtual path heirarchy for a non-standardized format like MTR.

I'm planning to do an MD5ANIM animation loader or an MD5MESH skeleton loader before I hit the sack.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!