Commit graph

34 commits

Author SHA1 Message Date
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
c16194c95c Support drawing polygons in gfx::painter 2024-08-20 11:51:12 +03:00
a2c83633ae Support non-const width lines in gfx::painter 2024-08-18 01:12:17 +03:00
6368ca5e68 Support 2D scale in gfx::painter::text 2024-08-17 18:17:32 +03:00
1b949c0b7f Remove old NetPBM & PNG code in favour of new stb_* implementations 2023-12-04 18:00:08 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
54b78e6c66 Android WIP: support OpenGL ES 3.2 and implement Android backend library 2023-07-18 15:43:14 +03:00
36123f0a7d Move profiler to a separate library to break io <- util dependence 2022-06-09 11:23:53 +03:00
75e6db45f1 Redesign resources system: centralized id-based resource registry 2022-03-07 00:05:40 +03:00
6994b23fdb Support interpolated line color in gfx::painter 2021-06-20 15:53:08 +03:00
4ab4788eca Support drawing quadratic besier lines in gfx::painter 2021-06-13 14:14:37 +03:00
ebda20ff9c Support drawing multi-color triangles in gfx::painter 2021-06-13 14:14:25 +03:00
ed41bc6583 Explicit circle quality parameter for gfx::painter::circle 2021-06-13 12:30:18 +03:00
eecc054870 Use io::stream for png input 2021-04-20 15:11:41 +03:00
f878321628 Convert default font to PNG 2021-02-27 19:45:27 +03:00
f8d127d700 Support blending textures with a color in painter 2021-02-17 14:55:17 +03:00
5e7aa7601d Pimpl declaration macros now define a make_pimpl(...) static helper function 2021-01-23 10:42:14 +03:00
b53dc0a14a Fix compiler-specific diagnostic in painter.cpp 2021-01-18 18:18:52 +03:00
e7cac4a618 Clang compilation fixes 2021-01-18 18:01:03 +03:00
2b1e772870 Make gfx::painter set up OpenGL state 2020-12-14 13:44:25 +03:00
77125540e6 Implement texture rendering in gfx::painter 2020-10-16 07:44:13 +03:00
e9af93b747 Refactor meshes: single unified mesh class 2020-10-04 17:22:38 +03:00
8040d5e1d2 Fix painter text rendering 2020-10-04 17:20:31 +03:00
631a720e56 Fix 3d line drawing 2020-09-28 14:10:51 +03:00
e73da04a31 Add 3D line painting 2020-09-27 19:40:22 +03:00
dbc429eaa7 Support 3D text in painter 2020-09-27 19:14:50 +03:00
8877f6dedd Redesign gfx::mesh: stores primitive type, supports loading from pointers & simplices (deduces primitive type in the latter case) 2020-09-24 12:45:25 +03:00
5f422f1452 Use non-normalized texture coordinates for text & add more space between font glyphs 2020-09-21 21:53:56 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
9aac943efd Fix min filter for painter font 2020-09-13 12:17:43 +03:00
78fd6db86c Add axes & sphere drawing for gfx::painter 2020-08-31 09:58:59 +03:00
eb67ee846d Implement simple text rendering in gfx::painter 2020-08-30 21:27:34 +03:00
3d3e6c583b Refactor gfx::painter methods 2020-08-30 21:23:33 +03:00
1590ec4ece Move gfx/source/gfx -> gfx/source 2020-08-30 10:32:34 +03:00
Renamed from libs/gfx/source/gfx/painter.cpp (Browse further)