in reply to POGL Zooming to a certain point
Assuming you want to move the camera (and you probably do), you need to make some sort of glTranslate() call to move the camera into the scene while leaving all of the other objects at fixed locations and orientations relative to the origin. If the camera appears to move toward the upper left (and it does for me), you probably need to move the camera along the X and Y axes as well -- I suspect you're drawing in the fourth quadrant, where the origin is at the upper left of your image.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POGL Zooming to a certain point
by jonsmith1982 (Beadle) on Apr 18, 2008 at 21:57 UTC | |
by chromatic (Archbishop) on Apr 18, 2008 at 22:04 UTC |