Forum > OpenGL
An opengl canvas with signed distance fonts
marcov:
--- Quote from: aradeonas on November 30, 2015, 03:50:39 pm ---Interesting code marcov.
I just talking about OpenGL GUI in MailList and I dont know your system can help it ot not.
Can you explain more or maybe check MailList?
--- End quote ---
This is not an opengl gui or even going in that direction. It is reasonably modern opengl use though, and if you would like an opengl GUI, you could maybe
reuse code, specially the font support. But currently it doesn't even feature wrapping (because it is an "infinite" canvas)
Moreover this demo requires quite modern GPU hardware (geometry shaders), only to accelerate uploading, and many older Socs don't do geometry shaders (or not efficiently)
So probably only as an help to learn a bit more advanced (and that depends on viewpoint) OpenGL
aradeonas:
Thank you.
marcov:
I haven't done much on this the last two months, but in january I found that you can improve the look of the fonts significantly by playing with the discard cutoff in the newtextfrag shader source.
Locally I changed it from .1 to .4 and that made the fonts more streamlined andbetter looking.
PeterX:
--- Quote from: marcov on November 28, 2015, 06:01:19 pm ---The font support is based on signed distance fonts. The test project is not multiplatform (so windows only, win64 should be ok), though many units are relatively platform independent.
http://www.stack.nl/~marcov/standaloneglv3.zip
(exe and source)
--- End quote ---
Hi marcov, this link is invalid now.
Can I get it somewhere else ?
Thanks, Peter
marcov:
Here it downloads, but I have to explicitely allow it, since it contains an EXE
Navigation
[0] Message Index
[#] Next page
[*] Previous page