Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

pollier

Urgent: 3ds model importing misaligned

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

Can anyone improve on the source code from http://www.gamedev.net/community/forums/topic.asp?topic_id=46834 ? In every model I import, every different object is displaced a certain distance - it depends on their size. If I can get this fixed quick enough I might be able to enter the Apocalypse contest, thanks.

Share this post


Link to post
Share on other sites
Advertisement
As I remember, 3ds max exports using world coordinates. So if your export object is not centered at 0,0,0 when you export it, it will be the same offset when you import it.

If you don't want to export all that again, you could try finding a center point by averaging all the vertices and then recalculating each vertex relative to that center point.


Edited by - feagle814 on November 6, 2001 11:30:52 PM

Share this post


Link to post
Share on other sites
Er, that''s not exactly what I want, but thanks. My .3ds file contains several meshes, and each mesh is slightly displaced from the others. I''m not loading multiple files, just one only.

Share this post


Link to post
Share on other sites

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