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 > About NDS Display lists

#72870 - ishraam - Wed Feb 22, 2006 5:44 am

Following this thread http://forum.gbadev.org/viewtopic.php?t=8505, where ecurtz told me :
Quote:
4. The DS display list can include commands such as swapping textures or changing the transform matrix within the list along with the geometry. Assuming you only have one bone per vertex you can define the entire model. At that point animation consists solely of setting the bone matrices to the right values prior to submitting the list.


I'd need some more info on DS display list.
Looking at the FIFO section in libnds videoGL.h, I can't see any macros specfically for texture swapping, or matrix operation.
Precisely : can I simply use GFX_MATRIX macros in FIFO stuff ?
Generally : what can / can't be done with NDS display lists ? Are we limited to those few operations the FIFO_xxxx are showing us ?

I couldn't find answers in the forum, so I'm asking. Feel free to redirect me to the post if I'm wrong -but that should not be the case.

#72965 - ecurtz - Wed Feb 22, 2006 6:00 pm

I may have overstated their functionality.

You are correct that you can only do operations that can be built from the registers in the core control section.

However that definitely DOES include MatrixRestore, since I've used that, so I bet you can do all of the other Matrix operations as well. Just define the new values with REG2ID() and try them out.

#72970 - ishraam - Wed Feb 22, 2006 6:55 pm

thank you ecurtz, I'll try this out.