| bio | website | |
|---|---|---|
| location | Joinville, Brazil | |
| age | 26 | |
| visits | member for | 9 months |
| seen | yesterday | |
| stats | profile views | 10 |
|
Nov 2 |
comment |
LWJGL Text Rendering @Trixmix I edited my answer, add two main things. Shaders are not actually needed, sorry for that. And, a small touch: font texture background must be transparent. |
|
Nov 2 |
revised |
LWJGL Text Rendering added 83 characters in body |
|
Nov 2 |
revised |
LWJGL Text Rendering added 66 characters in body |
|
Nov 2 |
comment |
LWJGL Text Rendering @Trixmix if you use the fixed rendering pipeline, you may read this link. All you have to do is set your vertices color with glColor3f() and draw your glyphs as usual. |
|
Nov 1 |
comment |
LWJGL Text Rendering One example of this using libGDX can be found in this link: link. libGDX uses LWJGL for its desktop version, you can check it out if this solutions interests you. |
|
Nov 1 |
answered | LWJGL Text Rendering |
|
Oct 29 |
comment |
“LNK2001: unresolved external symbol” when trying to build my program @random a wild guess would suggest something with your "main" function, but I dont code for Windows. Any reason not to manage your application window with just Allegro? (without #include <windows.h>)? Like in this link |
|
Oct 29 |
answered | “LNK2001: unresolved external symbol” when trying to build my program |
|
Oct 21 |
comment |
Is there any heuristic to polygonize a closed 2D raster shape with n triangles? Have you tried link? |
|
Oct 21 |
comment |
What's best to use OTF or TTF? @Zhen TTF also has width variation, and kerning. If you use a Bitmap font generator software like BMFont (AngelCode) or Hiero, it will give you a text file including all this information. Just read it, and map this information for each glyph. |
|
Oct 21 |
comment |
What's best to use OTF or TTF? With Bitmaps fonts you can easily add extra decorations. The main problem with BMP fonts is it do not scale well, you will not get pixel perfect visuals in every possible resolution. TTF in the other hand works well in any resolution, but can be slower to generate each glyph. Also, chinese characters in a(many) Bitmap texture(s) would be hard to accomplish. |
|
Oct 16 |
awarded | Editor |
|
Oct 16 |
revised |
Polygonal Triangulation - algorithm with O(n log n) complexity edited body |
|
Oct 16 |
answered | Polygonal Triangulation - algorithm with O(n log n) complexity |
|
Oct 8 |
awarded | Supporter |
|
Oct 7 |
awarded | Revival |
|
Oct 5 |
awarded | Teacher |
|
Oct 5 |
answered | Trying to Draw a 2D Triangle in OpenGL ES 2.0 |