Vladimír Vondruš
a119ee2bb2
GL: fix compilation with ANGLE on macOS.
...
This assumed that non-iOS Apple platform is always desktop GL. Wrong.
6 years ago
Vladimír Vondruš
a22d6678a5
Math: I'm extremely stupid lately.
...
This got unnoticed since ... November? Argh.
6 years ago
Vladimír Vondruš
3e310cbd94
Shaders: note to self: *save* before commiting.
6 years ago
Vladimír Vondruš
9da27ce8dd
Shaders: ensure test description is set before skipping it.
6 years ago
Vladimír Vondruš
06ab5b33cd
Shaders: fix strict aliasing warnings.
6 years ago
Vladimír Vondruš
44609d845f
doc: fix the recommended texture format.
...
Forgot that ES wants the component count to match.
6 years ago
Vladimír Vondruš
e3841ade7e
Shaders: object and primitive ID visualization in MeshVisualizer.
6 years ago
Vladimír Vondruš
60968779da
Shaders: avoid using deprecated functionality in a test.
6 years ago
Vladimír Vondruš
46d492fcc9
Shaders: list forgotten MeshVisualizer test files.
6 years ago
Vladimír Vondruš
6b0d29bec2
Shaders: turn a construction test into an instanced one.
...
Got more cases to test for.
6 years ago
Vladimír Vondruš
d32fcecf68
MeshTools: fix self-contradictory docs.
6 years ago
Vladimír Vondruš
d569ad2e78
MeshTools: combineFaceAttributes() overload with direct attributes.
...
Needed to add a per-face attribute to an existing mesh in a test and
this seemed like a good idea to have available in general.
6 years ago
Vladimír Vondruš
11df186a44
MeshTools: support an extreme corner case in interleavedData().
...
I need this for combineFaceAttributes() internals, I don't expect this
to be useful for actual humans.
6 years ago
Vladimír Vondruš
1cb7193034
Shaders: reorder MeshVisualizer docs.
6 years ago
Vladimír Vondruš
f16a1b7731
Bloody hell.
6 years ago
Vladimír Vondruš
be337787b2
Math: explicitly include <type_traits> in TypeTraits.h.
...
We need it there, but somehow it was not being explicitly (transitively)
pulled in by any header.
6 years ago
Vladimír Vondruš
f2f66d764f
Math: make TypeTraits::epsilon() consistent with Corrade.
...
The precision stays the same, but the long double variant is now exposed
on Emscripten as well, following a similar change in Corrade.
Additionally, the alien-looking _EQUALITY_PRECISION macros are now
unused and deprecated. For some reason these weren't ever prefixed with
MAGNUM_, and the ability to override those is an extremely rare use case
that would break half of the assumptions everywhere, so better not allow
that at all.
The TypeTraits test is further extended to compare directly the epsilons
between Magnum and Corrade, in addition to verifying that TestSuite and
TypeTraits have the same comparison results.
6 years ago
Vladimír Vondruš
ea3bcb6d93
MeshTools: handle the ObjectId attribute in compile().
...
And that's the last warning fixed.
6 years ago
Vladimír Vondruš
02525527a4
Shaders: ability to render instanced object ID in Flat/Phong.
6 years ago
Vladimír Vondruš
3759d26a7d
Shaders: NO, these are not layers.
6 years ago
Vladimír Vondruš
5a43db88ce
doc: make the 3rd party license info page more discoverable.
6 years ago
Vladimír Vondruš
3b40d91f6c
DebugTools: added a few preset colormaps.
6 years ago
Vladimír Vondruš
27f4a7073e
AnySceneImporter: treat both *.gltf and *.glb the same.
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago
Vladimír Vondruš
92655c7238
Trade: implement magnum-imageconverter --info.
...
Useful for inspecting unknown files.
6 years ago
Vladimír Vondruš
0df0bd58ef
Trade: improve docs of magnum-imageconverter.
6 years ago
Vladimír Vondruš
18f9581d4e
Trade: extract reusable code out of magnum-imageconverter.
...
Will be needed by magnum-sceneconverter as well.
6 years ago
Vladimír Vondruš
a7a0acd3a4
MeshTools: add a primitiveCount() utility.
...
I need it in magnum-player.
6 years ago
Vladimír Vondruš
c3299ad3c5
Trade: print a message when named thing is not found.
...
Otherwise it's hard to distinguish whether it's a particular importer
fault (failing without a message) or if the name is not found.
6 years ago
Vladimír Vondruš
4a6e5ff5a4
Trade: reduce needless duplication in AbstractImporter test.
...
Should have done this since the beginning, would save my carpal tunnels
a bit.
6 years ago
Vladimír Vondruš
081dd8981f
Doxygen, FFS.
6 years ago
Vladimír Vondruš
8085ebba09
Trade: fix tangent retrieval from four-component normalized types.
...
By accident this code path was not tested, and of course it had a bug.
6 years ago
Vladimír Vondruš
0c3a7fabae
Trade: recognize also Matrix3/Matrix4 types.
6 years ago
Vladimír Vondruš
cf914c1f78
package/archlinux: make ASan output colored.
6 years ago
Vladimír Vondruš
814a00fdf6
doc: updated changelog.
6 years ago
Konstantinos Chatzilygeroudis
1c3e386e35
Undef xlib nonsense to avoid conflicts
6 years ago
Vladimír Vondruš
b9e7d20c4e
modules: expand the list of static SDL2 dependencies for macOS as well.
6 years ago
Vladimír Vondruš
171e8a5301
Shaders: remove MeshVisualizer default behavior.
...
It was rendering everything with a plain color, which is rather useless.
Moreover it wasn't consistent with TBN visualization where you might
actually want only the lines rendered and not the triangle.
6 years ago
Vladimír Vondruš
6299ece980
Shaders: test MeshVisualizer TBN direction defaults.
...
Now possible, with compile() supporting the new attribs and primitives
generating them.
Finally out of this cyclic dependency hell, yay.
6 years ago
Vladimír Vondruš
80c6fef7bf
MeshTools: handle generic Tangent and Bitangent attributes in compile().
...
A bit unfortunate that the test needs ES3.2 and GS, but I got nothing
better right now. Not handling ObjectId yet, for that I need to
implement instancing first (so yes, GCC/Clang will still warn about an
unhandled switch case).
6 years ago
Vladimír Vondruš
37373aaf35
MeshTools: minor.
6 years ago
Vladimír Vondruš
ab32d6598d
TgaImporter: MSVC 2015, you too.
...
You're not supposed to just crash, not even the apocalypse is an excuse
for that.
6 years ago
Vladimír Vondruš
c01dc81d04
GCC 4.8, stay alive for a few more days please.
6 years ago
Vladimír Vondruš
c82a34c157
Shaders: doc++
6 years ago
Vladimír Vondruš
ef7a970326
Shaders: update MeshVisualizer image to show TBN direction as well.
6 years ago
Vladimír Vondruš
2a88a885c1
Primitives: tangents in the plane primitive.
...
This turned the primitive from being fully defined at compile time to
being mostly dynamically allocated. Keeping just the positions+normals
case defined at compile time, and splitting the function into two
overloads so the extra code can be DCEd when people call the function
with no flags.
6 years ago
Vladimír Vondruš
1e04dbcaba
Primitives: add a sanity assert.
6 years ago
Vladimír Vondruš
b16861693a
Primitives: tangents in the 3D grid primitive.
6 years ago
Vladimír Vondruš
1b776e13bc
Primitives: tangent support in the 3D circle primitive.
6 years ago
Vladimír Vondruš
a099a57464
Primitives: implement tangent generation in spheroid primitives.
6 years ago