Commit graph

46 commits

Author SHA1 Message Date
440fa3777e Refactor attribute specification: move to a separate file + standalone function for use in vertices 2020-10-23 17:14:54 +03:00
77125540e6 Implement texture rendering in gfx::painter 2020-10-16 07:44:13 +03:00
fb9dceea5e Support texture depth attachments & depth-stencil attachments 2020-10-16 07:43:52 +03:00
c6caf491ab Null framebuffer is returned by reference 2020-10-16 07:41:46 +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
b0ecc6c056 Add OpenGL array class 2020-10-04 12:23:01 +03:00
b1afa3dbc1 Uniformize GL objects' interface & add texture extern templates 2020-10-04 11:44:16 +03:00
db0f7915cf Refactor textures: add generic template, remove copypaste 2020-10-04 11:20:53 +03:00
d8069308ee Support all texture types for framebuffer color target 2020-10-03 20:42:16 +03:00
5e344c408f Add 2D array textures 2020-10-03 20:41:52 +03:00
2771564b94 Add instanced_indexed_mesh class 2020-10-03 15:36:26 +03:00
d4a7611ee5 Refactor mesh vertex size check 2020-10-02 19:13:17 +03:00
b7950a0520 Simple renderer supports textures 2020-09-30 16:22:08 +03:00
f01219c4e7 Add 3D and 1D textures 2020-09-30 07:28:44 +03:00
e42c5dc054 Add a simple colored renderer 2020-09-29 19:20:17 +03:00
d40ec7c0ca Fix netpbm parsing 2020-09-28 18:51:49 +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
4a583d092c Add Wavefront OBJ file parser 2020-09-25 23:16:20 +03:00
64751170cb Implement instanced meshes & matrix attributes 2020-09-25 11:36:18 +03:00
aedd41ae7f Fix mesh move constructor & assignment bugs 2020-09-25 11:36:00 +03:00
616b7cfce5 Add OpenGL error reporting 2020-09-25 11:34:27 +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
e53d5fba13 Add texture_2d wrap options 2020-09-23 21:56:40 +03:00
5f422f1452 Use non-normalized texture coordinates for text & add more space between font glyphs 2020-09-21 21:53:56 +03:00
ae282d796c Implement packaging for windows 2020-09-19 11:51:51 +03:00
d250becf43 Fix missing includes 2020-09-14 11:32:33 +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
6844a01a8f Make gfx::pixmap an alias to 2D util::array 2020-09-10 18:23:56 +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
dba0c78daf Support reading PBM images & fix all Netpbm readers 2020-08-30 21:20:01 +03:00
1590ec4ece Move gfx/source/gfx -> gfx/source 2020-08-30 10:32:34 +03:00
08ab8c00a7 Add simple painter helper (wip) 2020-08-30 09:08:12 +03:00
fd26d8a3a3 Fix shader program creation 2020-08-30 08:46:01 +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