Jump to content
  • Advertisement
Sign in to follow this  
pucca

3ds problem..

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

Hi I was trying to extract data from a 3ds file and draw it on screen. I used a sample file from the net. I read the 4110 chunk length as 308 bytes and the number of triangles as 25. This is the dump of the command line data of chunk 4110(list of vertices): -500 -2.97009e-05 -502.32 -250 -2.97009e-05 -502.32 0 -2.97009e-05 -502.32 250 -2.97009e-05 -502.32 500 -2.97009e-05 -502.32 -500 -1.47997e-05 -252.32 -250 -1.47997e-05 -252.32 0 -1.47997e-05 -252.32 250 -1.47997e-05 -252.32 500 -1.47997e-05 -252.32 -500 1.01418e-07 -2.32018 -250 1.01418e-07 -2.32018 0 1.01418e-07 -2.32018 250 1.01418e-07 -2.32018 500 1.01418e-07 -2.32018 -500 1.50026e-05 247.68 -250 1.50026e-05 247.68 0 1.50026e-05 247.68 250 1.50026e-05 247.68 500 1.50026e-05 247.68 -500 2.99037e-05 497.68 -250 2.99037e-05 497.68 0 2.99037e-05 497.68 250 2.99037e-05 497.68 500 2.99037e-05 497.68 What might be the problem with 'y' coordinate?? Thanx.

Share this post


Link to post
Share on other sites
Advertisement
Hi

All my formatting seems to have gone down the drain..

The dump contains one vertex in each line.
If you notice the x and z coordinates are in a larger scale( 100 - 500) compared to y coordinate which is in e-05.

What might be the problem??

Thanks..

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!