Vladimír Vondruš
f250e7a4c9
Trade: add a type enum *set* to MaterialData.
...
Compared to previous AbstractMaterialData, which was always just a
single type, the new data can describe several different materials at
once. This is the case for example with glTF, where a material can be
metallic/roughness but also have an alternative description using
specular/glossiness.
Currently the usage is undocumented, but when everything is in place, if
a material advertises given type, it can be then cast to one of
its convenience subclasses.
6 years ago
Vladimír Vondruš
9992614c3d
Trade: "optional" access to MaterialData attributes.
6 years ago
Vladimír Vondruš
14d260a3ea
Trade: a redesigned MaterialData class.
...
Next step is reworking PhongMaterialData on top of this one and
deprecating AbstractMaterialData.
6 years ago
Vladimír Vondruš
9557de0534
Shaders,Trade: clarify use{less,ful}ness of specular alpha.
6 years ago
Vladimír Vondruš
6811198532
Trade: rename MaterialData::*CoordinateSet() to *TextureCoordinates().
...
Better since it has the same prefix as other texture-related attributes,
such as *TextureMatrix(). Not using *TextureCoordinateSet() because
that's overly long, *TextureSet() is OTOH confusing (and especially so
if we'd introduce *TextureLayer()).
6 years ago
Vladimír Vondruš
b7199c0710
Trade: remove deprecated mutable accessors in PhongMaterialData.
...
Those would be unfortunately very hard to preserve when switching to the
new MaterialData. These accessors mattered mostly only when populating
the instance (i.e., in importer plugins) so such breakage shouldn't be
too much of a problem for regular users.
6 years ago
Vladimír Vondruš
2e4f2b745a
doc: ArchLinux now uses zstd.
6 years ago
Vladimír Vondruš
851af4fded
GL: add *Texture::target().
...
Useful when interacting with raw GL code.
6 years ago
Vladimír Vondruš
3dacc17f39
doc: fix a bunch of broken links.
6 years ago
Vladimír Vondruš
8b9bf07dce
SceneGraph: added Object::move().
6 years ago
Vladimír Vondruš
18fffd6fdf
Trade: remove compatibility include of PointerStl from AbstractImporter.
...
For some reason forgotten in 868843c9bb .
6 years ago
Vladimír Vondruš
70336a6a98
Math: remove pointless Emscripten restrictions in TypeTraits.
...
Size of long double is now tested in Corrade itself, so no need for any
of this.
6 years ago
Vladimír Vondruš
32b3f2810d
GL: doc++
6 years ago
Vladimír Vondruš
c87ea349bb
Updated toolchains submodule, once again.
6 years ago
Vladimír Vondruš
be79cd5ea5
Primitives: mention MeshTools::owned() in immutable primitive docs.
6 years ago
Vladimír Vondruš
bd44e2ab7c
package/ci: yet another workaround for MSYS signatures.
6 years ago
Vladimír Vondruš
ba3c0e57c0
Updated toolchains submodule.
6 years ago
Vladimír Vondruš
b05a7ce3b7
Fix generation of the version.h header when inside a Git submodule.
6 years ago
Vladimír Vondruš
1f55a11f31
Platform: fix Clang compiler warning about signed/unsigned comparison.
6 years ago
Vladimír Vondruš
c357a449fc
MeshTools: use only the first set of vertex attribs in compile().
6 years ago
Vladimír Vondruš
af0ab0d25b
MeshTools: test compile() with multiple sets of vertex attributes.
...
It should be using only the first set ... but it doesn't.
6 years ago
Vladimír Vondruš
ad27487e4c
Trade: minor.
6 years ago
Vladimír Vondruš
f8389cf271
Trade: doc++
6 years ago
Vladimír Vondruš
1d0ffc0217
Trade: accidentally missed a test for empty MeshAttributeData.
6 years ago
Vladimír Vondruš
f052fc43ec
Trade: oh, those material APIs were also long-deprecated. Delete.
6 years ago
Vladimír Vondruš
8b97946996
Trade: Y tho.
6 years ago
Vladimír Vondruš
f70924dbdd
doc: make clang-cl instructions easier to find.
6 years ago
Vladimír Vondruš
d32d3de99b
external: hmm, forgot to regenerate something here?
6 years ago
Vladimír Vondruš
23698eed7b
external: print an error when gl32.h is encountered as well.
...
Followup to 80a844c6c5 , forgot this
initially.
6 years ago
Vladimír Vondruš
f225497475
Math: assert valid binomialCoefficient() input instead of returning 0.
6 years ago
Vladimír Vondruš
53a26ad024
Math: use 64-bit literals in a test to be really really sure.
6 years ago
Vladimír Vondruš
f1c713f4c8
Minor cleanup, doc++, updated changelog & credits.
6 years ago
janos
8013afc28c
Math: add binomial coefficient function.
6 years ago
Vladimír Vondruš
5d78d7fe59
package/archlinux: update the stable package for 2020.06.
6 years ago
Vladimír Vondruš
80a844c6c5
external: avoid conflicts of our GL headers with GLES3/gl32.h.
6 years ago
Vladimír Vondruš
cec77c0a80
SceneGraph: remove constructor signature requirements in addChild().
...
It now calls setParent() afterwards instead of requiring the last
constructor parameter to be a parent pointer.
6 years ago
Vladimír Vondruš
87381d1744
modules: make our own FindVulkan.cmake.
...
With blackjack and actually working properly on all platforms.
Seriously, did nobody ever try to use the vanilla version on Mac or MSYS
since it was added several years ago in CMake 3.7?
6 years ago
Vladimír Vondruš
90283408cc
Math: doc++
6 years ago
Vladimír Vondruš
8050339ca1
doc: allow ignoring portions of code snippets.
...
Ugh finally I'm able to write docs without unimportant boilerplate.
6 years ago
Vladimír Vondruš
e8f4f475ea
doc: fix a path.
6 years ago
Vladimír Vondruš
c68ea7945b
Shaders: mention the setViewportSize() requirement clearer.
6 years ago
Vladimír Vondruš
8ac9750a81
Platform: properly initialize EmscriptenApp GLConfiguration.
6 years ago
erikwijmans
68aec7b088
Platform: *really* destroy EGL context in WindowlessEglApp destructor.
6 years ago
Vladimír Vondruš
3ceedb3680
Doc++
6 years ago
Vladimír Vondruš
b38892474a
doc: expand Developers Guide for singles.
6 years ago
Vladimír Vondruš
8d4dda12cd
GL: recognize all remaining WebGL extensions.
6 years ago
Vladimír Vondruš
af73929c67
GL: implemented WEBGL_blend_equation_advanced_coherent.
6 years ago
Vladimír Vondruš
bb5004dbb5
GL: added Framebuffer::Status::IncompleteDimensions.
...
Sigh, NVidia.
6 years ago
Vladimír Vondruš
083ecf72b8
GL: implement EXT_texture_norm16 ES and WebGL extension.
6 years ago
Vladimír Vondruš
9668ad6307
doc: whoops, wrong extension name.
6 years ago