Vladimír Vondruš
5be7fbe1e8
Math: make Range2D and Range3D properly convertible from std::pair.
...
Not sure what was I doing in 64f8a90095 .
6 years ago
Vladimír Vondruš
6053cc6fc6
MeshTools: this goes first, usually.
6 years ago
Vladimír Vondruš
dec7904db1
MeshTools: removeDuplicatesIndexedInPlace() for type-erased indices.
...
Next step is a variant operating directly on a MeshData.
6 years ago
Vladimír Vondruš
7205bcf28c
MeshTools: this actually didn't test the erased version at all.
...
The heck was I doing when implementing these.
6 years ago
Vladimír Vondruš
b180dd7bf0
MeshTools: various cleanup.
6 years ago
Vladimír Vondruš
e9a574f948
MeshTools: why am I discovering all those weird things today.
6 years ago
Vladimír Vondruš
a6302ac7d3
MeshTools: test asserts in type-erased flipFaceWinding().
6 years ago
Vladimír Vondruš
766b03fc38
Animation: add TrackViewStorage::values().
6 years ago
Vladimír Vondruš
cda8504b08
Animation: hmm, this isn't right.
6 years ago
Vladimír Vondruš
f3c2bfb093
Animation: why not just cast the thing?
...
The reinterpret is kinda dangerous, and causes strict aliasing warnings.
6 years ago
Vladimír Vondruš
0fd11e1e5b
CMake: don't declare the WITH_AL_INFO option twice.
...
Like with WITH_GL_INFO, it should be a top-level option and WITH_AUDIO
should depend on it, not the other way around. So removing the second
occurence, which is a cmake_dependent_option().
6 years ago
Vladimír Vondruš
6ad8f26c20
CMake: build MeshTools if sceneconverter is enabled.
6 years ago
Vladimír Vondruš
f269a1baa8
Vk: forgotten leftovers from the depths of MeshData renaming.
6 years ago
Vladimír Vondruš
1fe1dcd76d
modules: updated FindCorrade.cmake and FindNodeJs.cmake.
6 years ago
Vladimír Vondruš
1bd5efc1f8
doc: initial file format support tables.
...
Plus accompanying changes to plugin docs.
6 years ago
Vladimír Vondruš
749ae985b1
sceneconverter: support chaining converters.
6 years ago
Vladimír Vondruš
7100e3b6d8
Revert "Platform: choose a GLXFBConfig with a pbuffer."
...
Caused an error when creating a WindowlessGlxApplication on a Mesa with
just llvmpipe. Note to self: never again try to fix anything related to
Xlib that's not broken.
This reverts commit 511d0c1b27 .
6 years ago
Vladimír Vondruš
2f95345fb1
doc: updated changelog.
6 years ago
Vladimír Vondruš
9d104a7e88
Shaders: document how to propagate generic attribs to shader code.
6 years ago
Vladimír Vondruš
ba70a440a7
package/ci: use externally built ANGLE for the RT build.
...
Should cut some 20 mins from the total 2+ hour build time. Not much but,
blame msbuild, not me.
6 years ago
Vladimír Vondruš
fb32dd4c0e
imageconverter,sceneconverter: support option subgroups as well.
6 years ago
Vladimír Vondruš
0da8f89055
sceneconverter: hook scene converter plugins into this thing.
6 years ago
Vladimír Vondruš
08a51215b6
sceneconverter: add a --profile option.
6 years ago
Vladimír Vondruš
0ad5a8968f
AnySceneConverter: new plugin.
6 years ago
Vladimír Vondruš
2dc47839ef
Trade: bootstrap scene converter plugins.
6 years ago
Vladimír Vondruš
b7edd8df25
sceneconverter: move the utility from Trade to MeshTools.
...
So it can make use of all the APIs in here. Having the utility part of
Trade would make the cyclic dependency a bit weird. Not adding MeshTools
as a dependency just yet, will do that once it's actually needed.
6 years ago
Vladimír Vondruš
e64e40da11
Platform: avoid using 100% CPU in an idle GlfwApplication.
6 years ago
Vladimír Vondruš
d3feb2a2a9
doc: updated changelog.
6 years ago
William JCM
8a42c727c1
Fix one particular kind of linker errors on MingGW Clang.
...
The existing ifdefs apparently were just to work around something in
MinGW GCC. MSVC, Clang-cl and MinGW Clang don't need these.
6 years ago
Vladimír Vondruš
62fa2007e6
DebugTools: add raw data access to FrameProfiler.
...
This took three hours to implement. Wonderful, isn't it.
6 years ago
Vladimír Vondruš
d471a7bebd
DebugTools: remove redundant internal state in FrameProfiler.
...
Imagine spending 3 hours on recursive off-by-one and overflow errors.
Wonderful.
6 years ago
Vladimír Vondruš
be9a782272
DebugTools: rename function/test to match the use better.
6 years ago
Vladimír Vondruš
d4c196e997
DebugTools: suggesting such thresholds for image comparison is criminal.
...
Seriously, what the hell was I thinking. If the mean is above 0.01 you
got a problem.
6 years ago
Vladimír Vondruš
6c7e798d86
DebugTools: moving average over a year worth of frames isn't useful.
...
That would generate 32 GB of data. I think the technology isn't ready
for this yet, so I think capping the frame count (and everything else)
at 32 bits is enough.
6 years ago
Vladimír Vondruš
cda8c8fd09
Math: MSVC 2017 apparently dies on this.
...
But only in the vcpkg package and only with 19.16.27034 (not 27035), so
probably some combination of /permissive- and a compiler bug is to
blame.
The template keyword was unnecessary in any case, it probably got copied
from elsewhere by accident.
6 years ago
Vladimír Vondruš
28965d4887
Shaders: I happily forgot SwiftShader has broken gl_VertexID.
...
Sigh.
6 years ago
Vladimír Vondruš
e8f36033f9
Shaders: GS is needed only for wireframe.
...
So don't skip the test when rendering just object/primitive/.. ID. Turns
out due to the skip this test was never executed on SwiftShader, and it
thus needs some threshold bumping.
6 years ago
Vladimír Vondruš
698a7ed24c
Shaders: whoopsie.
6 years ago
Vladimír Vondruš
062055d20d
Shaders: add vertex ID visualization to MeshVisualizer.
...
Helps visualizing face connectivity (or the lack of it).
6 years ago
Vladimír Vondruš
7a58bf5e42
Shaders: reorder code for consistency.
...
It's InstancedObjectId and then PrimitiveId in the flags, so follow the
same order in the code also.
6 years ago
Vladimír Vondruš
6eccc479f0
Shaders: simplify a bunch of repeated checks in shader code.
6 years ago
Vladimír Vondruš
b858385b84
Shaders: unify assert for common flags in 2D and 3D meshvisualizer.
6 years ago
Vladimír Vondruš
806e080008
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
f1fbafb816
Trade: add a similar assert check for Phong textureMatrix as well.
6 years ago
Squareys
b8cc3f766a
Trade: add *TextureLayer() properties to PhongMaterialData.
...
Signed-off-by: Squareys <squareys@googlemail.com>
6 years ago
Vladimír Vondruš
5f7f219d75
MeshTools: added interleavedMutableData().
...
Needed a mutable variant of interleavedData() without having to do a
const_cast.
6 years ago
Vladimír Vondruš
a3912c7f7f
DebugTools: make FrameProfiler compile w/o TARGET_GL enabled.
6 years ago
Vladimír Vondruš
e7838a8b9e
Platform: check before calling SDL_DestroyWindow().
...
Can cause a crash when exiting from constructor on Windows (but not on
Linux). To be safe do the same for all others.
6 years ago
Vladimír Vondruš
060d8548c6
Math: benchmark some sqrt variants.
6 years ago
Vladimír Vondruš
e05fda0db4
Math: this got forgotten.
6 years ago