opengl camera

BlitzMax Forums/OpenGL Module/opengl camera

Cruis.In(Posted 2005) [#1]
Hey, how would I create an opengl camera facing down, with the ability to zoom in / out?

I created a zoom with the mouse wheel, but this really only zooms a specific image, so its fake :)

I;d like to be able to zoom in on the whole 2d scene, or zoom out a bit. With the mouse wheel of course.


Skurcey(Posted 2005) [#2]
glFrustum -zoomX,ZoomX,-ZoomY,ZoomY,.1,10000;


Cruis.In(Posted 2005) [#3]
thanks ill try it