Advertisement Jump to content
Sign in to follow this  
jkereluk

Trying To Grasp Models/Meshs

This topic is 3522 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

Hey all, so far I have managed to get my terrain rendering in OpenGL, and now its time for some models! Anyways, I'm trying to understand how to organize a very basic model. From what I understand Models are made up of meshes, meshes are made up of triangles. I just want to have a simple class which I can draw a very basic model, and then create an importer on my content pipeline to fill this class from various formats. I think I might attempt to read the basic stuff I need from Collada files, seems the easiest, since I know how to move around inside of xml. Anyways, does anyone know any tutorials on how to get a basic model rendering in opengl, any source code welcome to, or explanations, most stuff I find is on specific model formats, which doesn't give you much room to implement other formats. (I guess i'm looking at it from a engine perspective.) How do you guys organize your classes for this kind of stuff inside of your engine? Thanks a lot! :D

Share this post


Link to post
Share on other sites
Advertisement
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!