Vladimír Vondruš
ecb6351497
python: adapt to std::pair cleanup in Magnum.
...
Also expand the math function tests to explicitly test both the integer
and float variants. Yes, I should have exposed Containers::Pair directly
instead of doing this. No time.
3 years ago
Vladimír Vondruš
561b8ca901
python: consistently use "out of range" instead of "out of bounds".
3 years ago
Vladimír Vondruš
93f9eb814b
python: adapt to deprecated Math::angle() for quaternions.
...
It's renamed to half_angle() here as well. No API deprecation, sorry.
3 years ago
Vladimír Vondruš
2b09a43f99
python: ugh, once again hit the "let's interpret an int as enum" bug.
3 years ago
Vladimír Vondruš
9950b9fca4
python: adapt to Magnum changes re MeshData morph target support.
3 years ago
Vladimír Vondruš
305fdf81ee
It's 2023 already!
3 years ago
Vladimír Vondruš
12230c93b8
python: update some test TODOs.
3 years ago
Vladimír Vondruš
85e8fae9b8
python: expose compressed image APIs in AbstractImageConverter.
3 years ago
Vladimír Vondruš
c9515bbd1d
python: exposed CompressedImage and ImageView classes.
3 years ago
Vladimír Vondruš
6d473cf2aa
python: expose various pixel format helpers.
3 years ago
Vladimír Vondruš
7c78ee34a0
python: expose the CompressedPixelFormat enum.
...
And related Trade::ImageData APIs.
3 years ago
Vladimír Vondruš
5747d58049
python: expose 2D image APIs in AbstractSceneConverter.
3 years ago
Vladimír Vondruš
f7c026fbd3
python: expose image-to-image ImageConverter APIs as well.
3 years ago
Vladimír Vondruš
d1a7a7c6c8
python: convert more Trade assertions to Python exceptions.
3 years ago
Vladimír Vondruš
0858c844e8
python: minor, doc++
3 years ago
Vladimír Vondruš
229ec2cb18
python: the WHAT was done in the test here and then copied 100 times?
3 years ago
Vladimír Vondruš
cfaa484147
python: test SceneData mutable access failures now that it's possible.
3 years ago
Vladimír Vondruš
738c3f8d38
python: improve test coverage for new SceneConverter APIs.
3 years ago
Vladimír Vondruš
05fad9ccdd
python: expose scene-related APIs in AbstractSceneConverter.
3 years ago
Vladimír Vondruš
8d9d7d3230
python: expose scenetools.{parents_breadth,children_depth}_first().
3 years ago
Vladimír Vondruš
561ba51805
python: test the remaining scenetools assertion now that we can.
3 years ago
Vladimír Vondruš
3b799fcad9
python: expose scenetools.filter_objects().
3 years ago
Vladimír Vondruš
f83c2cb1aa
python: expose scenetools.filter_field_entries().
3 years ago
Vladimír Vondruš
4be2d4d9c0
python: expose scenetools.filter_fields(), filter_{only,except}_fields().
3 years ago
Vladimír Vondruš
d8b98c2057
python: expose the new meshtools.filter_attributes() as well.
3 years ago
Vladimír Vondruš
8dec36ff3d
python: adapt MeshTools filter test comments to Magnum updates.
...
What was "not implenented yet" before is now a documented behavior.
3 years ago
Vladimír Vondruš
b5557a94cd
package/archlinux: use Ninja Multi-Config for the dev PKGBUILD.
...
So I have at least some semi-convenient way to switch to a debug build
in order to debug a strange crash or assertion.
3 years ago
Vladimír Vondruš
949820b01a
python: adapt to SceneTools and MeshTools changes.
...
Breaking changes, sorry. Also remade the SceneTools hierarchy test to
not be that much redundant -- the name- and ID-based overloads can be
tested together.
3 years ago
Vladimír Vondruš
ee284aa4aa
python: expose Application cursor setup and warping.
3 years ago
Vladimír Vondruš
007fe23731
python: support bit field access in SceneData.
3 years ago
Vladimír Vondruš
0091fc97d4
python: haha whoops?
3 years ago
Vladimír Vondruš
6298ca29fd
python: add implicit DLL search paths on Windows, if they exist.
...
This should make self-contained builds *actually* working out-of-the
box, without having to fiddle with PATH or nasty copying of all DLLs
somewhere inside a Python installation.
3 years ago
Vladimír Vondruš
8b30876304
python: expose Corrade's utility.copy().
...
Because having to pull in the whole numpy just to efficiently copy some
data around is *silly*.
3 years ago
Vladimír Vondruš
1726086a80
python: add new trade.*Flag.QUIET.
3 years ago
Vladimír Vondruš
57ebae97c5
python: fix meshtools.filter_*_attributes() to reference the owner.
...
These don't copy the data but rather reference the original with
different metadata. That caused use-after-free originally (if the input
variable got deleted or overwritten), the previous commit made it
assert (which was the intention there). Now it works properly.
3 years ago
Vladimír Vondruš
557277e995
python: add an ability for referencing owner of trade.*Data memory.
...
This is important in case the data aren't owned by the instance but
instead referencing something else, for example the importer, a
memory-mapped file or another instance. Will get increasingly
important for zero-copy data import.
3 years ago
Vladimír Vondruš
bc6b67e2f9
python: adapt to Trade::DataFlags changes.
3 years ago
Vladimír Vondruš
f30c1c503f
python: expose meshtools.concatenate() as well.
...
Relies on the new custom Containers::Iterable constructor.
3 years ago
Vladimír Vondruš
13c5ad1ea6
python: huh, not sure why this generated file changed.
3 years ago
Vladimír Vondruš
0eabbebbae
python: expose almost all remaining mesh tools operating on a MeshData.
3 years ago
Vladimír Vondruš
54828bebca
python: fix naming of meshtools.CompileFlags.
...
Was CompileFlag, should be CompileFlags. I hope this is the last
occurence.
3 years ago
Vladimír Vondruš
c1f970139b
python: simplify argument naming in meshtools.
3 years ago
Vladimír Vondruš
bb77c2f25f
python: skip tests that use PrimitiveImporter scenes on static builds.
...
Hitting an assert due to non-owning array deleters. No idea how to fix
this easily without linking all plugins as static as well.
3 years ago
Vladimír Vondruš
8aa953c5f0
python: expose barebones scenetools library.
3 years ago
Vladimír Vondruš
513fbc547d
python: expose trade.TextureData and related importer APIs.
3 years ago
Vladimír Vondruš
55d5445ebf
python: typed access to Image*.pixels.
...
Basically mirroring what's done for MeshData and SceneData already.
3 years ago
Vladimír Vondruš
badc94c122
python: resolve a test TODO now that we have plugin metadata access.
3 years ago
Vladimír Vondruš
6b94109f9f
python: resolve a test TODO now that we can change plugin configuration.
3 years ago
Vladimír Vondruš
52fe802932
python: handle Windows paths in trade.AbstractSceneConverter.begin_file().
...
Consistently with convert_to_file() and other APIs elsewhere.
3 years ago
Vladimír Vondruš
e2642033b3
python: expose pluginmanager.AbstractManager.register_external_manager().
...
And *now* it's possible to use scene converter plugins.
3 years ago