via drunkencoders

News from Dovoto

A python script which exports vertex and normal data as DS display list data in c source file format.

Excerpt from site:

Use the export script to save your model to a C file. Keep in mind that the DS will not handle high-polygon meshes well. Place this file inside your "source" directory.

Then create a .h file that looks like this:

const extern u32 Suzanne[];

where "Suzanne" is the name of your mesh. Check the .c file to make sure they match. Then, inside of your code, you can just call


to display the model. (Again being sure to replace "Suzanne" with the actual name of your mesh)