Jump to content
  • Advertisement
Sign in to follow this  
x86asm

OpenGL Models and co-ordinate systems

This topic is 4623 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 everyone, let me just start by wishing you all happy holidays! I have always been confused about models and such. Getting them to be displayed in the screen has been a struggle for me. For example we can load models that have skewed co-ordinate systems then the one OpenGL might be set up for. How would we be able to make it so that we can say, centre this object on the world origin (put the camera inside the model)? For example, I have tried on numerous occassions to load the free 3DS files in memory, but the vertex values look very weird (even with the co-ord system conversion). Drawing the verticies yields nothing on the screen. How do you guys design your models? What model format will I have the least trouble in this respect? As always, thanks for hearing me out and I look forward to hearing from you!

Share this post


Link to post
Share on other sites
Advertisement
"Skewed" coordinate systems? The only possibility I can think of is that they're simply scaled, up or down, and are too large or too small compared to the current OpenGL units to show. You can easily find the size of the bounding box of the model by finding the max and mins for x,y,z, and then scale to the desired size.

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!