PDA

View Full Version : Text Performance



Caspa
09-17-2005, 11:31 PM
Hi all,

I am drawing a scene with around 50 - 70 small cubes (representing computer files), with about 4 different textures (so about 15 cubes per texture). I am using a display list to draw the cubes, and then binding the appropriate texture just before the display list is called. This is working fine, however, when I want to add filenames to the cubes (the same number of filenames as cubes) using glutBitmapCharacter (which is perfect for what I need), the system slows down to a crawl. Are there any good ways that I can optimise this, or are there more efficient ways to draw the text on the screen?

Any suggestions would be great!
Thanks! :)

dorbie
09-18-2005, 11:39 PM
Yes there are faster ways, try a search for textured font rendering.