AntonioND / nitro-engine

3D engine for the Nintendo DS
150 stars 10 forks source link

Dual Mode, bank C and D #7

Closed JustMeDaFaq closed 2 years ago

JustMeDaFaq commented 2 years ago

Hi, im sorry! In Dual mode, bank C and D cant be used. What are they used for? If i understand correctly, i cant use them to store textures for the bottom screens ui?

AntonioND commented 2 years ago

The NDS can't render 3D to both screens at the same time. To get it working, you need to capture the 3D output and store it somewhere. Essentially, when you draw screen A you capture it and you're showing the previous captured image from screen B, and then you switch and show the captured screen A while capturing screen B. Banks C and D are the ones that store the saved images.

JustMeDaFaq commented 2 years ago

Didnt received a notification. Thanks alot, im storing a basic looking gui now in banks H and I using native background and OAM api. (i hate OAM lol) So i have the main banks A,B,C & D left for Textures. Thanks for the explanation!