Blender Git Commit Log

Git Commits -> Revision a05fdb8

Revision a05fdb8 by Alex Fraser (master)
February 4, 2012, 01:51 (GMT)
Fix for aliased fonts in the game engine.
- Mipmaps are generated in BLF when drawing text in-game. In that case, padding around each glyph is increased to prevent bleeding.
- Texture filtering is turned on for in-game text.
- All glyphs are now "twisted": the leading edge is brought a small distance forward, to prevent z-fighting in overlapping (kerned) glyphs. This happens both in the game engine and the rest of the UI, but should have no effect in the UI due to Z-compression in the clipping matrix.
Reviewed and approved by bdiego; see patch [#29882] in the tracker. Tested by dfelinto.

Commit Details:

Full Hash: a05fdb837b89f2fba04587e99d0eecaa9cf174c3
SVN Revision: 43876
Parent Commit: dc97e07
Lines Changed: +28, -8

4 Modified Paths:

/source/blender/blenfont/BLF_api.h (+1, -0) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+23, -4) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp (+2, -2) (Diff)
/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021