Sign in to follow this  
jkereluk

Trying To Grasp Models/Meshs

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

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

Sign in to follow this