Jump to content
Sign in to follow this  
  • entries
    88
  • comments
    117
  • views
    62394

Textures!

Sign in to follow this  
dcosborn

120 views

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  


0 Comments


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.

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!