Jump to content
  • Advertisement
Sign in to follow this  
all_names_taken

3ds models and normals

This topic is 4182 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 having some trouble with getting incorrect normals when I load 3ds models. - is the 3ds format the problem? I've tested several models and several loaders and they all have the same problem. - if I change to some other file format for my models, which one should I pick? And where can I find a free model loader for that file format?

Share this post


Link to post
Share on other sites
Advertisement
Probably the problem isn't with the file format. 3DS is a very good format, very consistent.

Which loader are you testing it with? Also, are you configuring both the loader and 3ds correctly?

Share this post


Link to post
Share on other sites
I tested l3ds first, then lib3ds. Both were configured according to the instructions etc., loaded into vertex buffer objects, and rendered as usual. By the way, the l3ds homepage stated that the 3ds file format could cause such errors with normals, because the 3ds file format doesn't store normals, but rather stores something called smoothing groups, which are then converted to normals upon loading, but sometimes fails to recreate the original normals data. So basically I'm looking for a 3d file format that is guaranteed to store the normals correctly...

The test models were 5 different randomly chosen models from this page, and all gave problems with the normals:
http://modelsbank.3dm3.com/

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!