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 > Display List Questions

#82095 - deathrabbit - Thu May 04, 2006 12:05 am

I have 2 questions regarding display lists from the examples included in devkitpro.

1. What is the first item in the array for?

2. How do you make an array into a .bin model, like the one included in Display_List_2?

Thanks.

#82105 - ecurtz - Thu May 04, 2006 12:54 am

deathrabbit wrote:
1. What is the first item in the array for?


That's the length of the display list (IMO this should be fixed, length should be a separate parameter to the call.)

deathrabbit wrote:
2. How do you make an array into a .bin model, like the one included in Display_List_2?


You need an exporter for your 3d application of choice or a converter. I don't think that there are any generally available yet although several people (including me) are working on them.

#82287 - deathrabbit - Thu May 04, 2006 11:50 pm

Thanks, I got triangles working in a display list. :)

I'm going to try to dump the arrays I use to files on my sd card, so I can use them in filesystems by allocating memory and copying them in, so they don't all have to be stored in ram all the time.