[SDL] pixels vs blit
emulynx at delfi.lv
Fri Jan 24 02:41:01 PST 2003
Thursday, January 23, 2003, 9:57:57 PM, you wrote:
GM> Just pointing out a completely different method:
GM> StepMania uses SDL+OpenGL, using texture fonts. We can get arbitrary
GM> coloring, blending, and alpha shadows very quickly. Fonts are usually
GM> full RGBA, so the font can have color in it directly (for fullcolor
GM> fonts or simple borders; we use diffuse color on top of that). Fonts
GM> are antialiased on the alpha channel. We could even fit a 2000-glyph
GM> grayscale Kanji font in memory in less than a meg (using a 4-bit alpha
GM> texture, 2048 glyphs at 24x24 pixels each is 576k).
Ehm, I don't want to use OpenGL. I'm working with 2D apps for now and
don't like the idea of moving to OpenGL.
BTW StepMania is great, we've spent hunderds of hours playing it.
http://dotNet.lv mailto:emulynx at delfi.lv
More information about the SDL