Commit graph

21 commits

Author SHA1 Message Date
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
e53d5fba13 Add texture_2d wrap options 2020-09-23 21:56:40 +03:00
40324d6db9 Add gfx::lerp for uint8 colors 2020-09-13 19:56:43 +03:00
8922399c74 Add float <-> uint8 color conversions 2020-09-13 16:39:29 +03:00
6844a01a8f Make gfx::pixmap an alias to 2D util::array 2020-09-10 18:23:56 +03:00
6e42502873 Support explicit padding in mesh vertices 2020-09-10 11:06:10 +03:00
d7e0599556 Simplify setting texture filters & add anisotropic filtering 2020-09-10 11:03:25 +03:00
8a37d29b5e Add EXT_texture_filter_anisotropic to OpenGL loader 2020-09-10 11:01:24 +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
e0c67d8043 Fix pixel attributes (std::array -> geom::vector) 2020-08-30 21:20:24 +03:00
dba0c78daf Support reading PBM images & fix all Netpbm readers 2020-08-30 21:20:01 +03:00
08ab8c00a7 Add simple painter helper (wip) 2020-08-30 09:08:12 +03:00
532ac6fdf5 Fix mesh attribute stride calculation 2020-08-30 08:45:44 +03:00
30744dadeb Support std::array mesh attributes 2020-08-30 08:45:11 +03:00
2d6b947809 Move pixmap from util to gfx 2020-08-30 08:44:53 +03:00
0424bae480 Remove gfx::vertex, setup meshes using attributes directly 2020-08-28 11:15:49 +03:00
f69fb7299e Add app library 2020-08-28 11:14:40 +03:00
211b9d7342 Properly destroy shaders & programs 2020-08-27 16:54:04 +03:00
549f2ada41 Add util, geom, cg, pcg & gfx libs 2020-08-27 13:36:16 +03:00