PDA

View Full Version : My way of drawing a background, correct me plz.



Anonymous Coward
10-29-2000, 12:40 AM
Im drawing a background forone of my apps changing the Projection matrix to glOrtho2D and then drawing the background (static background). Then I switch back again to a perpective projection and draw all the geometric data left.

Is this a correct way of drawing an static background or is damn slow?

Cya!

zed
10-29-2000, 12:13 PM
thats the way its normally done.
remember u can turn off the depth testing before u draw the background. also u dont need to clear the screen before hands