🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Scaling Problem

Started by
1 comment, last by RedKnite 24 years ago
I finally got off my ass and finished an .ase loader, loads models fine, but the viewport is totally wrong i assume. Because the model im testing with, its like maybe 100x100x100 on each axis, yet on the screen its like maybe an inch long off in the distance. i change gluPerspective to what "should be" a acceptible call for viewing the object at a decient size, but still its tiny, any ideas? thanks ~ Chris
Advertisement
More than likely gluPerspective() won''t be your problem, unless you have a really small FOV or your aspect is weird. Are you glTranslate()''ing the model so it fits into the viewport? That sounds like your problem to me.

Nate Miller
http://nate.scuzzy.net
Just like glTranslate it up the Z axis i assume? i can see the object, its just really small. Thanks for your help ill give it a try tomorrow

~chris

This topic is closed to new replies.

Advertisement