non-central vanishing point
Hi all
I'm trying to get a vanishing point that is not at the center of the screen, and maintain a camera plane that runs on the x-y axes.
gluPerspective doesn't seem to be an option as the only way to have a non-central vanishing point is to have differing x or y values between the camera's position and target. This unfortunately makes the x/y plane rotate.
It seems I probably need to do something funky with the projection matrix... perhaps using some values that I can not figure out in glFrustum?
I'm trying to get a vanishing point that is not at the center of the screen, and maintain a camera plane that runs on the x-y axes.
gluPerspective doesn't seem to be an option as the only way to have a non-central vanishing point is to have differing x or y values between the camera's position and target. This unfortunately makes the x/y plane rotate.
It seems I probably need to do something funky with the projection matrix... perhaps using some values that I can not figure out in glFrustum?
Chopper, iSight Screensavers, DuckDuckDuck: http://majicjungle.com
Thanks Keith. Looks like I should translate before calling gluPerspective. I'll give it a go tonight.
David
David
Chopper, iSight Screensavers, DuckDuckDuck: http://majicjungle.com

