PDA

View Full Version : Shifting the entire scene?



PowersWithin
07-24-2009, 11:28 AM
Is there a way to shift the entire scene upwards or downwards? As in, shifting it in a way that it's like moving a 2D picture up/down so that the perspective doesn't change? Thanks!

dletozeun
07-24-2009, 01:04 PM
Yes you can do it playing with the projection setup using the glFrustum or glOrtho functions for example. Swap bottom and top parameters.

PowersWithin
07-27-2009, 11:41 AM
Thank you, that's exactly what I was looking for :D