Need .mtl (material) loader help

Started by
1 comment, last by Blodyavenger 13 years, 3 months ago
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!
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.
[size=2]My Projects:
[size=2]Portfolio Map for Android - Free Visual Portfolio Tracker
[size=2]Electron Flux for Android - Free Puzzle/Logic Game
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.

This topic is closed to new replies.

Advertisement