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 > basic question about 3d placement

#146738 - Sora3087 - Sat Dec 08, 2007 7:24 am

how exactly do i specify which screen the ds is displaying the models on

right now i have the whole program with main screen set to mode_0_3d and the sub to mode_1_3d

it draws the same thing on both screen also is there a way i can make the ds draw only 1 plane and two cameras instead of two planes and two cameras?

thanks for any help

#146749 - simonjhall - Sat Dec 08, 2007 2:34 pm

Setting the subscreen to MODE_1_3D make both screens show 3D? Really? Is this on the real kit or is this in an emulator?
Doing 3D on two screens is something that is a little involved. Look up 'capture' with the search function and I'm sure you'll turn up loads of "3D on two screens" posts.
If you just want 3D on one screen and want to choose which screen it is, set the main graphics controller to use 3D as you've done and then use either lcdMainOnTop() or lcdMainOnBottom() to choose which physical screen it's on.
_________________
Big thanks to everyone who donated for Quake2