Jump to content
  • Advertisement
Sign in to follow this  
FlyingIsFun1217

Help with models

This topic is 3849 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
Advertisement
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
Sign in to follow this  

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