Commit graph

23 commits

Author SHA1 Message Date
f75c04d988 Make gfx::mesh only bind index buffer as GL_ELEMENT_ARRAY_BUFFER, in accordance with WebGL restrictions 2025-01-30 12:40:19 +03:00
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
abc0af2a79 Setup gfx::mesh when loading imported mesh 2022-06-30 14:06:02 +03:00
9edf94be0c Clang compilation fixes 2022-06-11 13:58:54 +03:00
69c0ce8c59 Make imported mesh attributes' indices fixed 2021-08-05 16:29:47 +03:00
bc7378456b Add gfx::mesh::create(imported_mesh) 2021-07-24 10:13:57 +03:00
de1950f1a6 Rewrite mesh exporter to support armature & poses 2021-07-13 11:55:57 +03:00
1cc5d28761 Support integer vertex attributes 2021-07-13 11:46:46 +03:00
39855a5d84 Make gfx::load_mesh return structured data instead of a tuple 2021-07-11 11:38:00 +03:00
3e4cea25e7 Make gfx::load_mesh return data instead of loading mesh directly 2021-03-07 19:05:13 +03:00
5255abd66a Implement loading meshes from binary format 2021-03-07 18:31:20 +03:00
697de5c422 Add gfx::mesh::load_raw for loading buffers from raw data 2021-03-07 18:30:00 +03:00
e4f0675a1d Refactor gfx attribs: store vertex & instance size in attrib description 2021-03-07 18:29:25 +03:00
131f06b012 Support binding gfx::mesh 2020-10-24 19:39:35 +03:00
ec36942f7d Support merging attrib descriptions 2020-10-23 17:14:54 +03:00
440fa3777e Refactor attribute specification: move to a separate file + standalone function for use in vertices 2020-10-23 17:14:54 +03:00
e9af93b747 Refactor meshes: single unified mesh class 2020-10-04 17:22:38 +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
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
1590ec4ece Move gfx/source/gfx -> gfx/source 2020-08-30 10:32:34 +03:00
Renamed from libs/gfx/source/gfx/mesh.cpp (Browse further)