Vladimír Vondruš
c026ac1cb5
MeshTools: handle JointIds and Weights in compile().
...
And also add a compiledPerVertexJointCount() helper which returns the
amount of components used in the primary and secondary joint IDs /
weights slots.
Co-authored-by: Squareys <squareys@googlemail.com>
3 years ago
Vladimír Vondruš
2395e39c41
MeshTools: print a warning if compile() ignores conflicting attributes.
...
Which is currently the case for any two attributes of the same name
(such as two texture coordinate sets), or bitangents and object ID used
together.
Plus extending the check for matrix attributes (such as instanced
transformation conflicting with secondary joint IDs and weights).
None of these attributes are builtin though, so the check can't be
verified at the moment.
And also documenting the behavior, for some reason the comment was
apparently not updated since the MeshData2D/MeshData3D days!
3 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
41a50f4924
MeshTools: make compile() aware of impl-spec index types.
...
The assertion added for strided index buffers was blowing up on this, so
check it only if the type is not implementation-specific.
4 years ago
Vladimír Vondruš
6527ec35c2
MeshTools: assert in compile() if non-contiguous index buffers are used.
4 years ago
Vladimír Vondruš
11cd5d5cd0
MeshTools: assert in compile() if zero or negative strides are used.
4 years ago
Vladimír Vondruš
a72b4039f8
MeshTools: clarify behavior of impl-specific MeshPrimitive in compile().
4 years ago
Vladimír Vondruš
2066d82ea4
Shaders: suffix all existing shaders with GL.
...
To make room for Vulkan shaders. Also renaming the headers, of course
everything is still aliased to the old names (and marked as deprecated).
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
868843c9bb
Remove heavy compatibility includes added in 2019.01.
...
Should have a strictly positive effect on compile times.
6 years ago
Vladimír Vondruš
cd48c59cab
Remove remaining APIs deprecated in 2018.10.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
a4bf0e61a1
MeshTools: option to disable unknown attribute warnings in compile().
6 years ago
Vladimír Vondruš
a3bb6ba4c5
MeshTools: explicitly handle unavailable attribute types in compile().
6 years ago
Vladimír Vondruš
006790969a
Trade, MeshTools: deprecate MeshDataXD and everything that uses it.
6 years ago
Vladimír Vondruš
16c3480d7f
MeshTools: implement compile() taking a MeshData.
...
Also add new variants that allow for external buffers.
6 years ago
Vladimír Vondruš
2a12ca14e3
MeshTools: test compile() with both flat and smooth normals requested.
...
And clarify the docs about what gets the priority.
6 years ago
Vladimír Vondruš
a920722839
doc: label deprecated APIs and stuff new since 2019.10 with version info.
...
Should make new things more discoverable, avoid confusion when a
documented API isn't there and reduce the need for maintaining multiple
separate versions of the docs.
7 years ago
Vladimír Vondruš
5d2cf7ef93
MeshTools: ability to generate smooth normals in compile().
7 years ago
Vladimír Vondruš
d20a17c5c3
MeshTools: ability to generate flat normals in compile().
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Squareys
e6fd70fe00
MeshTools: compile mesh colors to Color4 attribute
...
Signed-off-by: Squareys <squareys@googlemail.com>
8 years ago
Vladimír Vondruš
424eec4818
MeshTools: simplify compile().
...
I wanted to do this since *ever*.
8 years ago
Vladimír Vondruš
4e757a3f64
Split the OpenGL layer out, pt 26: remove dependencies on the GL lib.
...
Primitives, MeshTools, Trade and TextureTools are not depending on the
GL library anymore.
8 years ago
Vladimír Vondruš
f279549044
Split the OpenGL layer out, pt 18: adapted MeshTools.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
eee9cbb353
MeshTools: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
4caeb30f7b
Shaders: there's never enough documentation.
...
Each shader now has sample image, example mesh configuration and example
rendering setup. Also properly documented all attribute types and made
introductory chapter for whole Shaders namespace.
11 years ago
Vladimír Vondruš
26e7c9ce34
MeshTools: added compile() function.
...
All-in-one solution for preparing generic meshes with optional normals
and texture coordinates, configured for use with Shaders::Generic.
12 years ago