Sign in to follow this  
  • entries
  • comments
  • views

Text rendering, part 2

Sign in to follow this  


I've done a bunch of work on text rendering. I switched to monochromatic FreeType rendering, which greatly increased the speed. I'm currently texture state limited, so I'm planning to switch to a texture atlas for fonts. I'm also planning to switch from immediate mode to vertex buffers for text rendering. I've got some nice text rendering features planned, including alignment options, textures with masking, and top-bottom gradients.

I added some nice lazy-initialization features to the cache system, so you can create chains of dependent proxies where the concrete object is only created when dereferenced. This makes things like caching atlases from fonts and vertex buffers from text drawing calls almost automatic, minus the actual implementation details of such features.

I'm in the MAGIC competition, so I'm going to have to take some time away from PAGE. I'm planning to do a low-resolution 2D adventure game involving a tower of some kind.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now