TImageFont Filters

BlitzMax Forums/BlitzMax Programming/TImageFont Filters

TartanTangerine (was Indiepath)(Posted 2005) [#1]
Is there a way to MIPMAP the font textures? The Scaled fonts look rather clumsy.


ImaginaryHuman(Posted 2005) [#2]
You probably could get OpenGL or blitz to create some mipmaps, since the mipmaps are automatically selected by the rendering library not by blitz.

What would be a lot nicer than this would be, instead of pre-rendering the text and grabbing it and then pasting it as an image, would be to store the outline of the font as lists of vertices, maybe using vertex arrays, and then just draw them as scalable fonts in realtime with texturing applied (mipmapped/filtered if you like). It could be antialiased too.

Am I the only one that sees the awesome coolness of being able to render fonts in realtime using the graphics hardware? Slow fond/page rendering has always been a problem in various application software over the years, it's definitely someting that can be accelerated.


TartanTangerine (was Indiepath)(Posted 2005) [#3]
It was actually quite easy, just make one of the BMAX functions work correctly :D

http://www.blitzbasic.com/Community/posts.php?topic=49082