Commit graph

55 commits

Author SHA1 Message Date
7d1a43cb5e use references instead of pointer 2023-06-02 09:58:49 +02:00
7c2f886239 couts 2023-05-25 12:45:26 +02:00
382885948b recursive create atlas dir 2023-05-25 12:45:10 +02:00
9095d2d972 add tinyxml2 in libs 2023-05-16 18:46:08 +02:00
514c3110c1 fix GL3 mix shaders 2023-04-12 10:57:31 +02:00
f000eb7d31 public getAtlasPath 2023-04-11 12:22:34 +02:00
b0a18dc88a store atlascache in msdfgen subfolder 2023-04-11 10:05:06 +02:00
903b03b6c3 cache atlasses on demand 2023-04-08 17:15:20 +02:00
244abc777a less couts 2023-04-07 09:50:04 +02:00
c0de84ab00 remove couts 2023-04-06 11:16:21 +02:00
971a9f089d adjust shaders 2023-04-06 11:16:06 +02:00
5fc06a177b glyph pairs for interpolation 2023-03-30 16:19:13 +02:00
cfb5502dd3 add mix shader for ES3
TODO: translate shader
2023-03-30 16:17:07 +02:00
d4b86f5026 atlas with variations 2023-03-29 20:45:39 +02:00
bfbf02e49e comment unnecessary code 2023-03-29 20:45:09 +02:00
3d1900d9ce comment unecessary headers, add macros dotnumber/double 2023-03-29 20:44:33 +02:00
521816920c cleanup and flip y axis for memcpy 2023-03-29 20:42:52 +02:00
f81faaa42a getFontGeaometry and destroy fonts on Atlas destructor 2023-03-28 17:50:38 +02:00
3933e7b2ba do not flip glyphs anymore 2023-03-27 18:55:56 +02:00
b2b0fafe76 get individual glyphgeometry ... and namespace 2023-03-26 21:18:33 +02:00
c3c58b422b flip after all TODO: fix? 2023-03-25 18:59:21 +01:00
a0af51fdb4 shader discard alpha < 0.5
quick fix for depth with treshold alpha
later: depth peeling
2023-03-25 13:48:54 +01:00
99bb561291 moved license 2023-03-19 12:03:25 +01:00
9e458a817a ignore non standard compile_commands 2023-03-19 12:02:41 +01:00
39f629312d do _n_o_t_ invert y-axis" 2023-03-19 12:01:06 +01:00
b02c7178d1 better comments 2023-03-19 12:00:39 +01:00
d3359db1e8 adjust default atlas params 2023-03-19 12:00:04 +01:00
51bb04dd80 gles 3, use cam 2023-03-19 11:59:19 +01:00
7300658629 move license 2023-03-19 11:58:18 +01:00
668c1977c7 ignore nohup output files 2023-03-19 11:57:18 +01:00
33b400c5d7 unitRange vec2 2023-03-19 11:55:58 +01:00
7210d0746a compile with pthread 2023-03-16 12:46:51 +01:00
9621b5ce26 remove unnecessary 2023-03-16 12:43:11 +01:00
0a2f688bae update formula for pthreads 2023-03-16 12:42:54 +01:00
c74dc9e336 naively draw letters with atlas 2023-02-27 16:24:51 +01:00
494a1e702d load charset 2023-02-27 16:24:14 +01:00
7b47d9b743 emscripten shader 2023-02-27 16:10:16 +01:00
ea928d0190 calc unitRange on cpu 2023-02-27 16:08:27 +01:00
21c7c3efd0 gles 3 shaders 2023-02-27 16:07:46 +01:00
c4252e6748 add rough examples 2023-02-22 19:31:17 +01:00
2e1d94193c ignore celines fonts 2023-02-22 19:25:07 +01:00
a8d1161685 Add LICENSE 2023-02-22 17:59:06 +00:00
289e513383 add temporarily slightly useless README 2023-02-22 18:51:00 +01:00
f15be89fa4 revert msdfgen modification, emscriptenify atlas 2023-02-22 18:28:56 +01:00
39f2373958 update shaders 2023-02-22 18:21:26 +01:00
10496b8aa7 ignore more dev files 2023-02-21 18:44:32 +01:00
e73f97b326 add Atlas class 2023-02-21 18:41:53 +01:00
bb60924822 ignore compile_commands.json 2023-02-21 18:40:55 +01:00
9ad827c763 add some helper functions 2023-02-21 11:00:43 +01:00
a25be7b41c shader reshuffle 2023-02-21 11:00:08 +01:00