Skip to content

lfzawacki/ds-model-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS Models Example

An example of showing 3D models on the Nintendo DS.

This code uses OpenGL code on the Nintendo DS hardware to display some 3D models with lightning and different camera angles. The models are hard-coded inside .h files and the PatchObj program is included if you need to create new ones.

Compiling

To compile the code you'll need DevKitARM from DevKitPro. Refer to this page for instructions on how to install.

After the deed is done a simple make inside the project folder will generate an *.nds file.

Usage

The file can be ran on DS hardware by means of a flash cart or alternatively you can use Nintendo DS emulator like Desmume.

Press left and right to rotate the camera along the vertical axis, up and down to rotate it along the horizontal axis and X to rotate it along the Z axis.

Use the shoulder L and R buttons to switch the model being shown.

A toggles the wireframe view.

Press Start to reset the parameters.

About

An example of showing 3D models on the Nintendo DS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages