Bitmap Fonts Question
Hi,
Using the Particle Engine code from the NeHe site (god bless u Nehe!) I added a Frames per second counter and displayed it as a bitmap font (also using the bitmap font tutorial). I noticed that when I have the Bitmap font displayed on the screen the framerate is roughly half that of when it is just displaying the particles (about 100 of em). I thought it might just be this crappy video card im using, but I tried it on my GF3 at home and its still the same!
Particles - 22fps
Particles + Text - 12fps!
Its weird I know, I didn''t think that using bitmap fonts would give me such a huge performance hit.. I can''t explain why. Its not the code that generates the fonts etc.. cos I can speed it up just by remming out the line that actually draws it on the screen. (glPrint function). Even re-sizing the screen so that the font isn''t displayed will speed it up, then bringing the font back slows it down again..
Would using outline fonts be less of a performance hit?
I had the same problem...
Use the fonts described in lesson 17. They are quick and look good
Use the fonts described in lesson 17. They are quick and look good

PM Times change...
Excuse my poor english!
I had the same problem...
Use the fonts described in lesson 17. They are quick and look good
Use the fonts described in lesson 17. They are quick and look good

PM Times change...
Excuse my poor english!
I had the same problem...
Use the fonts described in lesson 17. They are quick and look good
Use the fonts described in lesson 17. They are quick and look good

PM Times change...
Excuse my poor english!
Uups I didn''t want the spam...
I don''t know why it is here...
I don''t know why it is here...
PM Times change...
Excuse my poor english!
DaZ: yes bitmaps are really slow. It''s pretty weird since bitmaps are in theory the fastest way to render pictures, but since consumer cards are designed for games before all, and because bitmaps are not a priority for games (not like textures), the direct consequence is that our famous GeForce or Radeon are really slow with bitmaps.
In other words, if you had a professional card (for instance a SGI workstation) you would experience far better performance.
PM: you can delete your dubbed posts by clicking the ''edit post'' button and then check the ''Delete post'' box before entering the ''make modifications'' button.
In other words, if you had a professional card (for instance a SGI workstation) you would experience far better performance.
PM: you can delete your dubbed posts by clicking the ''edit post'' button and then check the ''Delete post'' box before entering the ''make modifications'' button.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement