Vladimír Vondruš
5b569942b8
Shaders: tangent space visualization in MeshVisualizer3D.
6 years ago
Vladimír Vondruš
74c75178de
Shaders: add a 2D variant of MeshVisualizer.
6 years ago
Vladimír Vondruš
de9c289328
Adapted all code and doc snippets to GL library changes.
6 years ago
Vladimír Vondruš
a68946df5b
Primitives: port tests and related tools away from MeshDataXD.
...
Improving the tests a bit for trivial primitives to ensure the attribute
layouts are correct, not just counts.
6 years ago
Vladimír Vondruš
c8de337c06
Primitives: port away from MeshDataXD.
...
The internals don't use any std::vector anymore, only the icosphere
needs an std::unordered_map to do duplicate removal. Additionally, the
most simple primitives are now simply views on constant data,
being completely zero-allocation.
On a Mac this resulted in the dylib going down from 1.5 MB to 418 kB in
Debug, and from 129 kB to 90 kB in Release. Quite nice.
The tests are not ported away from MeshDataXD yet as I want to ensure
the behavior is *exactly* as before.
6 years ago
Vladimír Vondruš
de95eddb3f
Use the new Matrix4::normalMatrix() everywhere.
7 years ago
Vladimír Vondruš
a0f0015211
Shaders: de-inline uniform setters.
...
Reduces includes in the header quite a lot, yay.
7 years ago
Vladimír Vondruš
93789721b2
De-inline Image headers, remove dependency on ImageView.
...
This means users have to add some more #includes on their side. Sorry
but it's for your own good :P
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
24b8ff086c
Removed std::optional backwards compatibility.
...
This was a dirty mess. Good riddance. Also removing the include from the
header now, as it has a forward declaration and thus is not needed.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
0793d31d2b
Primitives: new gradient primitive.
8 years ago
Vladimír Vondruš
e7d99a1190
doc: convert primitive renderings to proper sRGB and HiDPI.
...
Quick detour that took me quite an extreme amount of time to finish.
8 years ago
Vladimír Vondruš
d798960587
doc: use MeshTools::compile() for vertex color primitives as well.
8 years ago
Vladimír Vondruš
453fc0b3e7
Shaders: more convenient VertexColor::Color[34] attribute specifiers.
...
Much easier to write (and explain!) than Shaders::VertexColor2D::Color{
Shaders::VertexColor2D::Color::Components::Three}. Ugh. Why again it
took me *years* to realize?
8 years ago
Vladimír Vondruš
ff07b165c5
doc: avoid using deprecated functionality in image generators.
8 years ago
Vladimír Vondruš
499984e82c
Split the OpenGL layer out, pt 25: updated documentation code snippets.
8 years ago
Vladimír Vondruš
067fc43b6b
doc: adapt image generators to new plugin workflow.
8 years ago
Vladimír Vondruš
8c74f4b2db
Primitives: added grid3DSolid() and grid3DWireframe().
8 years ago
Vladimír Vondruš
8662919a2b
Primitives: new solid and wireframe cone primitive.
8 years ago
Vladimír Vondruš
c33fd4d9c6
doc: show how each primitive looks.
8 years ago