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 > Quick Question

#48323 - Eclipse - Tue Jul 19, 2005 4:08 am

Do homebrewers have access to the Nintendo DS's zbuffer yet? A coder friend of mine that is intreted in a project I'm working on and he said that he would need to be able to access it for his raycasting engine to have 3d models in it or something...and I thought it has been accessed, but he said it didn't...soo ANYWAY can homebrewers access it yet? and if not, is anyone working on it?

#48325 - ravuya - Tue Jul 19, 2005 4:44 am

You can create a software z-buffer; I've seen it done in some software engines. He can also just optimize his ordering sysem and use the painter's algorithm to get past that.
_________________
Rav (Win/Mac/Linux games for free)

#48327 - tepples - Tue Jul 19, 2005 5:27 am

Have the raycasting engine draw each wall as a quad, and if a wall has already been drawn, don't draw it again during that frame. Then you can use hardware depth-sorting.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.