Jump to content
  • Advertisement

Archived

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

homer_simpson

Problem with ASE-File in MATERIAL section

This topic is 5743 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 in programming with OpenGL. I learned the basics in OpenGL from the very good tutorials of NeHe. So now i''m writting a small OpenGL engine with this i would load ASE-files (3DMax ASCII-Scene-Exporter) in my scene and i adding a some methods to load a BMP or a TGA textur in it. So now to my problem: The ASE-file have a *MATERIAL_LIST were all materials are defined in the *MATERIAL_LIST there are a few MATERIALS an this MATERIALS have a few SUBMATERIALS. But the SUBMATERIALS can have some SUBMATERIALS too. The faces of the mesh have a MATERIAL_ID and the MESH have a MATERIAL_REF. So i can reference to a MATERIAL by the MATERIAL_REF and get the right SUBMATERIAL by the MATERIAL_ID. But i don''t now how to refer to the SUBMATERIAL of a SUBMATERIAL. I hope that anyone anderstand this problem and can help me please. Thanks homer_simpson P.S. sorry for my bad english

Share this post


Link to post
Share on other sites
Advertisement

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