Drawing order and Z axis

Hi,

I just realized that OF draws last objects on top of all other objects. It doesn’t matter if I draw an furhter in the Z axis. If I draw it last, it will always draw it on top of the others. Is there a way to get around this?

Cheers

  
glEnable(GL_DEPTH_TEST)  

for things with alpha this can get messy and you’ll need to draw things in the same order as their z

Wow, that was fast!

Thank you so much, arturo!