zooming in/out
i have this 2d game where i will need to zoom out at an extreme level. thing is, once i translate past about -100 in the z direction, it doesnt draw the objects. i have it set up so that the closest possible zoom level (-0.11) is the closest i want to get, but how can i got farther away than -100?
Thats an easy one, In the code you use to resize the scene, or wherever u use gluPrespective, change the last parameter to what you want. Understand?
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
Or zoom in/out by changing the perspective angle, because then you won''t have to deal with the near/far clipping plane at all.
-~-The Cow of Darkness-~-
You could
(1) as bob suggested, increase your far clipping plane distance
(2) reduce the scale of your world
(3) as cows suggested, change the viewing angle.
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[edited by - zealouselixir on July 22, 2003 3:58:30 PM]
(1) as bob suggested, increase your far clipping plane distance
(2) reduce the scale of your world
(3) as cows suggested, change the viewing angle.
Later,
ZE.
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
[edited by - zealouselixir on July 22, 2003 3:58:30 PM]
[twitter]warrenm[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement