#116446 - NeX - Thu Jan 25, 2007 9:02 pm
This works in an emulator; on hardware nothing appears.
The array TRACKMESH is a v16 array; nothing unusual there. In Dualis, the track displays perfectly. If I set the first vertex to a fixed position, the DS draws a single line across the screen - like one of the quads is stick thin. It is no where near as messed up in Dualis... it just does exactly what I expect it to.
I could check the array with a console output, but there is unfortunately no v16tofloat command, so all I get is jibberish.
The array TRACKMESH is a v16 array; nothing unusual there. In Dualis, the track displays perfectly. If I set the first vertex to a fixed position, the DS draws a single line across the screen - like one of the quads is stick thin. It is no where near as messed up in Dualis... it just does exactly what I expect it to.
Code: |
//draw the obj glBegin(GL_QUAD_STRIP); u8 i=0; while(i<22) { glColor3b(255,0,0); glVertex3v16(trackmesh[i][0][0],trackmesh[i][0][1],trackmesh[i][0][2]); glColor3b(0,255,0); glVertex3v16(trackmesh[i][1][0],trackmesh[i][1][1],trackmesh[i][1][2]); i++; } glEnd(); |
I could check the array with a console output, but there is unfortunately no v16tofloat command, so all I get is jibberish.