|
|
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 |
|
|
|
4e2aa5f577
|
Update stb_image.h
|
2025-01-30 12:39:13 +03:00 |
|
|
|
2c3565df61
|
32-bit compilation fixes:
* Use uint64_t instead of size_t as hash return value
* Expect alignof(uint64_t) <= 8 instead of == 8
|
2025-01-25 20:35:37 +03:00 |
|
|
|
c59b28e13f
|
Rename 'geom' library to 'math'
|
2024-12-10 20:22:59 +03:00 |
|
|
|
5138e00c35
|
Move heavy gltf animation code to a cpp file
|
2024-11-14 21:45:08 +03:00 |
|
|
|
ce8547c8d3
|
Preprocess glTF rotation animations to force shortest-arc interpolation
|
2024-10-15 21:42:00 +03:00 |
|
|
|
b5d556d06f
|
Fix cubic spline interpolation in glTF animations
|
2024-10-15 21:40:18 +03:00 |
|
|
|
2bd4e5790b
|
Support embedded textures in glTF
|
2024-08-26 23:42:29 +03:00 |
|
|
|
17a0aef630
|
Fix uninitialized value warning
|
2024-08-21 19:18:16 +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 |
|
|
|
9ce8082e4d
|
Add gfx::blend(color_rgba, color_rgba)
|
2024-08-08 17:40:27 +03:00 |
|
|
|
0718282dda
|
Support booleans in glTF extras
|
2024-08-02 16:56:15 +03:00 |
|
|
|
aa32b09fca
|
Support matrices in gltf_accessor_iterator
|
2024-06-08 17:33:14 +03:00 |
|
|
|
6d13bfa407
|
Load gltf skin names
|
2024-06-08 17:32:57 +03:00 |
|
|
|
b9a6fbf99f
|
Add non-const accessors to gfx::gltf_animation channels
|
2024-06-08 17:07:41 +03:00 |
|
|
|
22a57f91db
|
Huge refactor: use util::hash_table instead of std::unordered everywhere
|
2024-06-03 14:36:39 +03:00 |
|
|
|
e1201e7913
|
Fill in iterator traits for gltf accessor iterator
|
2024-05-28 12:36:40 +03:00 |
|
|
|
b5117ca8b2
|
Support quaternions in gltf::accessor_iterator
|
2024-05-28 12:36:03 +03:00 |
|
|
|
663f7bc5f4
|
Support retrieving extra properties & raw mesh from gltf mesh
|
2024-03-16 17:37:57 +03:00 |
|
|
|
1cc2c23602
|
Support glb in gfx::gltf_mesh
|
2024-03-15 23:26:43 +03:00 |
|
|
|
a26826fc03
|
Add ignored warning in stb_image_write
|
2024-03-14 08:41:47 +03:00 |
|
|
|
dbcffa8d4a
|
Support gamma-correction in gfx::blur
|
2024-03-11 21:04:43 +03:00 |
|
|
|
646ef45acf
|
Disable alpha blending in gfx::blur
|
2024-03-11 21:04:27 +03:00 |
|
|
|
1ccf82c2c5
|
Add comment about gfx::texture_view units
|
2024-03-04 13:49:11 +03:00 |
|
|
|
efbcf48d01
|
Add gltf accessor iterator
|
2024-01-03 03:25:28 +03:00 |
|
|
|
c3d964fafd
|
Support loading GLB assets
|
2024-01-03 02:21:16 +03:00 |
|
|
|
de9c695a7a
|
Windows compilation fix
|
2023-12-04 18:14:46 +03:00 |
|
|
|
30ae586b98
|
Remove dependency on libpng
|
2023-12-04 18:01:37 +03:00 |
|
|
|
1b949c0b7f
|
Remove old NetPBM & PNG code in favour of new stb_* implementations
|
2023-12-04 18:00:08 +03:00 |
|
|
|
1c54dd85a5
|
Support saving images via stb_image_write
|
2023-12-04 17:43:04 +03:00 |
|
|
|
6ff3351ab8
|
Compile stb_image as C++ and use proper assertion handler
|
2023-12-04 11:38:14 +03:00 |
|
|
|
dca01b7cc4
|
Support reading arbitrary image formats via stb_image
|
2023-12-03 20:32:13 +03:00 |
|
|
|
de1a454079
|
Don't request alpha channel when loading monochrome PNG
|
2023-11-03 11:34:18 +03:00 |
|
|
|
340a04d17c
|
Fix loading paletted PNG without alpha channel
|
2023-11-02 13:03:22 +03:00 |
|
|
|
721c88fbee
|
Change the way discrete GPU forcing works
|
2023-10-25 16:50:08 +03:00 |
|
|
|
76c91e50c1
|
New gcc compilation fixes
|
2023-10-03 21:32:13 +03:00 |
|
|
|
27a9c9ee7b
|
Support access bits in gfx::buffer::map
|
2023-09-17 20:19:36 +03:00 |
|
|
|
85d7a0ca33
|
Huge refactor: use util::exception everywhere instead of std exceptions
|
2023-08-06 18:33:07 +03:00 |
|
|
|
95e99e4104
|
Support retrieving specific channels from gltf_animation
|
2023-08-02 19:18:35 +03:00 |
|
|
|
5630ae2da3
|
Fix gltf_animation for cubic interpolation when time is outside bounds
|
2023-08-02 19:18:20 +03:00 |
|
|
|
64672d3f1f
|
Parse metallic & roughness pbr parameters from glTF materials
|
2023-08-01 22:27:53 +03:00 |
|
|
|
564a0001a2
|
Support padding in instance attributes
|
2023-07-29 18:35:29 +03:00 |
|
|
|
644c9ca5b6
|
Add depth32f pixel
|
2023-07-22 20:04:06 +03:00 |
|
|
|
de5c0a3371
|
Fix mapping gfx::buffer
|
2023-07-22 00:49:28 +03:00 |
|
|
|
0836cf00a6
|
Properly log graphics api name in gfx::init
|
2023-07-22 00:49:15 +03:00 |
|
|
|
54b78e6c66
|
Android WIP: support OpenGL ES 3.2 and implement Android backend library
|
2023-07-18 15:43:14 +03:00 |
|
|
|
b910d16261
|
Grand app refactor: move main to sdl2 lib, make the rest of the engine independent of SDL2
|
2023-07-14 22:25:45 +03:00 |
|
|
|
33488e67ca
|
Fix gltf animation channel sampler
|
2023-07-06 19:25:46 +03:00 |
|