Sign in to follow this  

Help with models

This topic is 3630 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! I am chugging along learning OGL, and loving it. I feel the next step is to learn how to go about loading models (really, any format, as I presume they use the same concepts in the end). The problem is, most tutorials seem to think you know either a ton about it already, or they start with you explaining things such as primitives (triangles, quads, etc.). Is there a really good tutorial online somewhere that explains the details of loading some sort of model (or creating your own format) that is possibly visual? Thanks so much! FlyingIsFun1217

Share this post


Link to post
Share on other sites
Ya know, this is one of the hardest things to do in OpenGL, since the API is completely agnostic of any particular model format. You can find tutorials for .3ds files, .bsp files, and many others on google.

Share this post


Link to post
Share on other sites
Alright, I'd heard that OBJ was easy to understand...

But I'm wondering if there's any really outstanding tutorials anywhere. Something that explains all of the texture coord stuff, vertex data, those kind of vitals to a model.

It would really be awesome if there was a tut that explained most of the stuff with pictures too. I'm quite the visual learner :)

Thanks again!
FlyingIsFun1217

Share this post


Link to post
Share on other sites
I haven't been able to find any source code for importing 3d files so I read in obj files.

http://www.csit.fsu.edu/~burkardt/txt/obj_format.txt

This explains the format but you might be able to understand it just by opening an obj file in a text editor. You can also turn off all the features you don't need when exporting the files to reduce clutter.

Share this post


Link to post
Share on other sites
Thanks everybody! All of these seem like extremely useful explanations of the format!

I will be sure to check out all of these in-depth when I get home, as I am currently stuck at school... :/

Thanks again!
FlyingIsFun1217

Share this post


Link to post
Share on other sites
http://www.wotsit.org/list.asp?fc=2

wotsit.org is a great first stop for links to (m)any sorts of file format,
with examples of reader source code for the typically more common
formats such as 3ds, obj etc.

Share this post


Link to post
Share on other sites

This topic is 3630 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.

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