gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > z-buffer anyone ? [solved]

#152420 - Aedrone - Sat Mar 15, 2008 5:51 pm

Hi,

After doing some research, I found out that it was not possible to temporarily disable the depth test on the DS. So, what I would like to know is : are there any alternatives ?

Basically, what I want to do is draw a 3D triangle that would overlap EVERY other poligons which have already been drawn on screen. I suppose it's possible, but I can't seem to find out how to do it with the DS's hardware...

Thanks in advance.

Edit : problem solved by playing with glOrtho. Sorry for those who have encountered the same problem, no code since it's pretty much specific to each situation.