View Full Version : 3 different views, xy, xz, yz, technique question

09-03-2005, 07:24 PM
i need to write a program that views the 'world' in 3 different views, xy, xz, yz. basically, sort of flatten each view. my question is, which would be easier?

-for each view, translate how each object is being set in the world


-somehow move the camera so it is viewing from the other axis.

09-03-2005, 09:15 PM
You can use glulookat or any combination of glRotate and glTranslate on the modelview stack to orient the camera. Look at the chapter on viewing in the redbook.