PDA

View Full Version : Zooming



02-19-2004, 04:18 AM
Can any one please help me out with the code that can do zooming in and out on an object when using orthographics projection (glOrtho())?

brcain
02-19-2004, 07:11 AM
You can get the effect of zooming by moving the eye-point with gluLookAt(). I don't recommend actually using glScale* since it will denormalize your normals for lighting.