Commit graph

33 commits

Author SHA1 Message Date
c37609f3f7 add bounding boxes 2023-04-18 13:18:29 +02:00
133b74699e add color in BufferVertex 2023-04-17 20:13:03 +02:00
c94acb14a2 external ofNode to transform text 2023-04-17 17:15:44 +02:00
c9f89f5853 pseudo rotation with ofNode 2023-04-17 17:07:36 +02:00
cd4d7f2224 cout correctly ... 2023-04-16 17:20:04 +02:00
1af76d8726 identify glyphs by character and variations 2023-04-16 14:51:41 +02:00
3a156be801 check for existing #defines 2023-04-16 07:37:49 +02:00
eff83cda8b add ft2build header for freetype 2023-04-14 16:54:14 +02:00
d40db6389b textureOffset & other smaller things 2023-04-13 17:16:08 +02:00
604240360e allow collection of vertices/indices
this way we need only one draw call for multiple layers
2023-04-13 12:54:49 +02:00
26ca2bdf43 allow transparency & little cleanup 2023-04-13 12:53:36 +02:00
8b7cb20503 allow external update request 2023-04-13 12:42:32 +02:00
b49d3cf459 pixel perfect font size 2023-04-13 07:24:16 +02:00
48c64c9326 naive vFlip 2023-04-12 15:48:33 +02:00
c69c17899e cleanup 2023-04-12 15:48:16 +02:00
0cf31e51c6 use shared_ptr for font 2023-04-12 13:58:17 +02:00
5d3dbc075c automatically get correct float size for curve buffer 2023-04-12 13:57:44 +02:00
ee47b7649a slight refactor 2023-04-12 11:07:19 +02:00
470b831c61 slight refactor 2023-04-11 17:45:20 +02:00
e1557285de add shaders 2023-04-11 17:44:46 +02:00
51058def87 add html template 2023-04-11 17:43:44 +02:00
2fdec44c3a add rudimentary variation animation 2023-04-04 11:30:54 +02:00
3be6c9ddb5 add TODO's 2023-04-04 09:39:54 +02:00
c37729e0ba add more fonts 2023-04-04 09:37:06 +02:00
2d22e8b61d naively fixed buffer size (we hope) 2023-04-03 19:58:14 +02:00
61ae05c003 the power of two 2023-04-03 16:07:18 +02:00
5c4627f247 make GLuint fontShaderProgram global, control point visualisation, etc 2023-04-03 15:45:29 +02:00
0ef89aac10 end binding mayhem? do not generate ascii glyphs on start 2023-04-03 15:44:42 +02:00
eeb211844e remove drawing debug sdfatlas 2023-04-02 17:15:45 +02:00
d894c07d3e draw debug sdfatlas 2023-04-02 16:14:14 +02:00
412c64298d verifying glyphs
glyph.start & glyph.count look good, curves look good, incremental debugging :-)
2023-04-01 19:48:41 +02:00
d8a7bc7a98 get curves data in shader 2023-04-01 17:36:00 +02:00
6661f7eb0f initital commit 2023-03-31 16:45:23 +02:00