PDA

View Full Version : hidden surface removal



dodo
08-28-2002, 10:18 PM
Hi,

I've tried to use glEnable(GL_DEPTH_TEST) & glClear(GL_DEPTH_BUFFER_BIT) for depth testing, but it's not working at all! Does anyone have any ideas what I might be doing wrong?

Thanx

mikael_aronsson
08-29-2002, 01:36 AM
Hi !

Have you requested a depth buffer in the rendering context ?

Mikael

dodo
08-29-2002, 06:06 PM
hey thanx!! =0)

duh what a stupid mistake...