#139283 - FireSlash - Tue Sep 04, 2007 6:08 am
I've tossed around some ideas and implementations, most have either failed, or fell short in some way, so I'm asking the rest of you: How do you get text on the 3d screen?
Situation: I've got a top screen in 3d that displays a greater part of the gameplay. It needs to show some text in two areas, ideally in different fonts.
Requirements: Basic A-z 0-9. etc; doesn't need to be fancy unicode or anything.
I was looking at bitmap based fonts, but I've yet to see an implementation that could be readily and quickly done without libs and functions that don't exist on the ds (OGL display lists, GLUT, GLAUX, etc)
I was thinking of a more dumbed down bitmap font routine, but then I'd have to create a disgusting and slow switch to handle all 2*26+10 letters I need.
More than anything, I'm interested to see how other people did it. I realize I could burn an extra vram bank and use 2D sprites, but I'd rather have the extra texture slot :)
_________________
FireSlash.net
Situation: I've got a top screen in 3d that displays a greater part of the gameplay. It needs to show some text in two areas, ideally in different fonts.
Requirements: Basic A-z 0-9. etc; doesn't need to be fancy unicode or anything.
I was looking at bitmap based fonts, but I've yet to see an implementation that could be readily and quickly done without libs and functions that don't exist on the ds (OGL display lists, GLUT, GLAUX, etc)
I was thinking of a more dumbed down bitmap font routine, but then I'd have to create a disgusting and slow switch to handle all 2*26+10 letters I need.
More than anything, I'm interested to see how other people did it. I realize I could burn an extra vram bank and use 2D sprites, but I'd rather have the extra texture slot :)
_________________
FireSlash.net