Jump to content
  • Advertisement
Sign in to follow this  
Blodyavenger

Need .mtl (material) loader help

This topic is 2891 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'm new to 3D programming but I've done qutie some 2D programming already.
I'm working on simple "space shooter" and I'm in need for .mtl loader. I have loader for .obj already,
but I don't find any good sites with tutorial for it.

If you know for any existing classes for it or tutorials how to make it, pelase let me know.

Thanks!

Share this post


Link to post
Share on other sites
Advertisement
What part about it confuses you? MTL is much simpler than obj parsing, you're just reading some floating point values from a text file.

If you don't know what the letters in the file mean you can look at the spec or ask:

http://www.fileformat.info/format/material/

Most of the values in the mtl you may not even use.

Share this post


Link to post
Share on other sites
Thanks, I found that good description about mtl file before already but I'm confused about more or less everything...ok, I know
that if I take some time I can write something out, but it would take quite some time and I was kinda
looking for something more simple than writing your own loader.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!