Kleis Auke Wolthuizen
d11a1e1a9d
DebugTools: fix the non-deprecated build on ES3.
4 years ago
Vladimír Vondruš
723c747df4
Make plugin *.conf filenames follow the C++ source filenames.
...
I don't see why they couldn't be the same.
4 years ago
Vladimír Vondruš
b01f8765e9
Doc++
...
Forgot to check doc generation before pushing, ug.
4 years ago
Vladimír Vondruš
7c5089617a
sceneconverter: ability to apply a converter to each image in the scene.
4 years ago
Vladimír Vondruš
2f977d45c8
sceneconverter: fix --plugin-dir for image converters.
...
Sigh, wrong again, it should be the parent directory. The tests for this
are coming too late.
4 years ago
Vladimír Vondruš
0465cf030c
sceneconverter: simplify plugin load error tests a bit.
...
Should have realized this right at the start.
4 years ago
Vladimír Vondruš
6d2a585e06
sceneconverter: minor.
4 years ago
Vladimír Vondruš
387d0dcd84
sceneconverter: ability to apply a converter to each mesh in the scene.
4 years ago
Vladimír Vondruš
5cfa9fddfe
sceneconverter: forgot to exclude this from code coverage.
4 years ago
Vladimír Vondruš
2dc27439d0
sceneconverter: print packed feature enums in error messages.
4 years ago
Vladimír Vondruš
50216faa9e
Platform: print key release events in application tests as well.
4 years ago
Vladimír Vondruš
1925da0a73
sceneconverter: propagate names and custom attributes of processed meshes.
...
It's done by addSupportedImporterContents() only if they aren't
processed explicitly and passed directly.
4 years ago
Vladimír Vondruš
db58ce9acb
package/ci: link sceneconverter to AnySceneConverter on static build.
...
For slightly better test coverage. Majority of the tests needs plugins
from the magnum-plugins repository though, so it's not much.
4 years ago
Vladimír Vondruš
682ba2c41c
sceneconverter: initial support for whole-scene conversion.
...
Quite boring commit message for such a FEATURE, eh?? Yes, the docs need
updating at least.
4 years ago
Vladimír Vondruš
ecee152c03
Trade: unify AbstractSceneConverter::end*() error messages.
...
Not sure why 4ce7d8e9f4 did the change
just for the file variant and not all 3.
4 years ago
Vladimír Vondruš
c73ecffc66
sceneconverter: one more half-done corner case test.
4 years ago
Vladimír Vondruš
bfca053140
sceneconverter: properly test that converters get chained together.
...
What was there didn't really check that the output of one converter was
used as input for the next one. Especially with the upcoming rework for
full scene conversion that could lead to dangerous regressions.
4 years ago
Vladimír Vondruš
e9125c0c8a
sceneconverter: recognize whole-scene converters.
...
Just a minimal support to get single-mesh conversion working with
GltfSceneConverter. The whole thing has to be subsequently reworked to
not be oriented around meshes, but this is the first step.
4 years ago
Vladimír Vondruš
dfbade5670
sceneconverter: make test files resemble a triangle fan.
...
Need that in order to test certain cases better without having to craft
completely new files.
4 years ago
Vladimír Vondruš
1137b56c25
sceneconverter: add .gitattributes and conversion script for test files.
...
Because no way I'm doing that conversion and diffing by hand every time.
4 years ago
Vladimír Vondruš
45e7473d9e
sceneconverter: more needless isEmpty() cleanup.
4 years ago
Vladimír Vondruš
085b3dcabc
sceneconverter: profile also the --concatenate-meshes option.
...
Bah, this is way too brittle (and impossible to test / verify).
4 years ago
Vladimír Vondruš
4af1e8653c
sceneconverter: MeshTools::concatenate() takes an Iterable now.
...
So creating a temporary array of references isn't needed anymore.
4 years ago
Vladimír Vondruš
312a4a9fac
sceneconverter: don't have an array of optionals for no reason.
4 years ago
Vladimír Vondruš
afc79d43f0
sceneconverter: clean up some unnecessary std::string allocations.
...
In one case I can even avoid a double lookup thanks to StringView having
sane bool conversion by default.
4 years ago
Vladimír Vondruš
5114893d31
sceneconverter: rename options in preparation for whole scene conversion.
...
Not sure why I didn't do this from the start, I knew this tool would
eventually be for whole scenes. Now it's an unfortunate breaking change.
4 years ago
Vladimír Vondruš
0a2148b93f
Trade: ability to feed the whole importer into a scene converter.
...
Makes a lot of use cases significantly simpler -- apart from the trivial
"convert an OBJ to a glTF" scenario, many processing steps are about
passing most data through but only doing a pass on meshes, or images, or
materials. And this simplifies that use case quite a lot.
This is only "driver" code, with no new interfaces for the plugins. For
them it still looks like all data, their names and related metadata were
added one by one.
Also, a suprisingly large amount of code for this feature.
4 years ago
Vladimír Vondruš
5623c1314b
package/archlinux: use just -j for ctest.
4 years ago
Vladimír Vondruš
396268fc12
doc: document GDB pretty printers, updated credits & changelog.
...
Mostly just a copy of what's in Corrade already.
4 years ago
William JCM
13d8291cbc
debuggers: add GDB pretty-printers for some types.
4 years ago
Vladimír Vondruš
f5f3b91654
SceneTools: Corrade has fixed arrayAppend() for lists now, clean up.
4 years ago
Vladimír Vondruš
c4a4823f5d
Math: TODO++
4 years ago
Vladimír Vondruš
82c9485bc1
Doc++, updated credits & changelog.
4 years ago
Hugo Amiard
bc1b9e39d7
GL: adapt Buffer/TransformFeedback to use Triple instead of std::tuple.
4 years ago
Hugo Amiard
62363094ae
GL: adapt Buffer/TransformFeedback to use ArrayView.
4 years ago
Vladimír Vondruš
e9bf47144f
package/archlinux: switch to Ninja Multi-Config in the dev PKGBUILD.
...
See 5b81786b7d
for details.
4 years ago
Vladimír Vondruš
04b931cbca
package/archlinux: use llvmpipe instead of swiftshader for Vulkan tests.
...
It's easier to get.
4 years ago
Vladimír Vondruš
bd5f6670c2
Shaders: fix an unused expression warning on Clang.
4 years ago
Vladimír Vondruš
cd2a674ef2
Doc++, updated changelog.
4 years ago
Vladimír Vondruš
50b75378c1
GL: no need to have WebGL #ifdefs in desktop-only code.
4 years ago
Hugo Amiard
40d132664f
GL: use non-pointer glUniform*() calls for single values.
...
Generates much less garbage on WebGL and circumvents certain Quest bugs.
4 years ago
Vladimír Vondruš
fa00122fdb
Platform: don't attempt to link GLX apps to EGL.
...
This was done correctly in the Find module, but here somehow not -- if
MAGNUM_TARGET_EGL is enabled, then [Windowless]GlxApplication and
GlxContext were linking to MagnumSomeContext_LIBRARY, which is EGL. Whic
is wrong. Those should always link to GLX, if it exists, and nothing if
there's just the old libGL.
4 years ago
Vladimír Vondruš
c8ae9f7e57
CMake: expose *_STATIC_PLUGINS options only if they make sense.
...
I.e., if the build is static including plugins and the corresponding
application is actually enabled. The options will work even if not
(because it's easier that way), they will just not appear in the CMake
option list.
4 years ago
Vladimír Vondruš
ae01dba442
Platform: don't rely on a deprecated preprocessor define.
...
No idea what was I thinking in eb89b5cbf9 .
4 years ago
Vladimír Vondruš
e5d3ec8d83
package/ci: link plugins to the sceneconverter in static builds.
...
So the executables get tested at least somewhat.
4 years ago
Vladimír Vondruš
31cf9e848c
sceneconverter: use MAGNUM_SCENECONVERTER_STATIC_PLUGINS for the test too.
...
So both have consistent results from plugin existence queries.
4 years ago
Vladimír Vondruš
5c36b39ba2
CMake: add a possibility to link static plugins to utility executables.
...
Funny/sad that this possibility took me so long to realize. Until now it
was "you can have command-line utilities or static plugins but never
both", and only with CMake 3.13+ it was possible to link static plugins
to these executables from outside. Now it's a builtin and supported
option.
4 years ago
Vladimír Vondruš
8d4d854d9c
MagnumFont: peroperly link the TgaImporter dependency on static build.
...
It's correct in MagnumFontConverter (and probably all other plugins as
well), nut sure why not here.
4 years ago
Vladimír Vondruš
92052e7a11
CMake: properly prefix an option dependency variable.
...
Caused magnum-sceneconverter to not be built if was enabled but
MAGNUM_WITH_SCENETOOLS was disabled. Sigh.
4 years ago
Vladimír Vondruš
52d51b8cbd
doc: mention that the Corrade::Cpu-related options affect Magnum as well.
...
Or, they eventually will. Nothing published uses CPU dispatch here at
the moment.
4 years ago