Graphics/3D/nehe/lesson10b - textures do not display;
Line 32 of lesson10b.c is
Code: Select all
int texture[0];
input/Touchpad/touch_look - textures do not display, and controls behave unexpectedly.
Has the same issue as lesson10b above with textures, same fix.
Also, the signs in the button handlers are wonky; if you're facing -z or +z, they work fine, but turn 90 deg and they are backwards;
my fix was to change the 'x+= sinLerp(etc)' line to '-=' for the 'UP' key, and the similar line to '+=' for the DOWN key. Also need to flip the signs for the zpos lines in the left/right button handlers.
While I was monkeying around, I tossed some of the code from the ansi_console demo into it, so it displayed the current xpos/zpos/heading etc in the subscreen... that was dead easy. libnds has changed SO much since I was last into this 2 years ago!
input/Keyboard - both demos have odd corruption behind the keyboard when it's displaying; bits of keys and gradients and weirdness in the space above the keyboard. touch_look.nds was built on OSX 10.5.8; and run on my red/black DSLite, via a microSD/Datel Games 'n Music cart. This is what I've got installed:
r26 devkitARM
1.3.8 libnds
1.0.4 libfat-nds
0.3.10 dswifi
1.0.6 maxmod
0.5.6 default-arm7
I will try backing up to an older libNDS to see if the corruption goes away, maybe try the srcs for 1.3.8. Barring that, I'll try to get a photo of the problem, tho it may be tricky.
Edit: photo below. Also tried compiling under libnds 1.3.6, and the oldest version of default.arm7 (in case the keyboard code is there) that I could find; tried 1.3.1 but it lacks the keyboardDemoInit() function; all displayed this same issue. Will grab 1.3.8 src and see if I can track it down.
