Vladimír Vondruš
12950365e3
python: properly test trade.ImageData.data refcounting.
...
Was tested for the Image/ImageView classes but not here.
4 years ago
Vladimír Vondruš
09e5e90426
python: CgltfImporter is deprecated, test with GltfImporter instead.
4 years ago
Vladimír Vondruš
a79bc39f3e
python: ability to import images and meshes by name.
4 years ago
Vladimír Vondruš
831631e10e
python: properly test also image import level OOB checks.
4 years ago
Vladimír Vondruš
c2e2a8e520
python: expose basics of trade.AbstractSceneConverter.
4 years ago
Vladimír Vondruš
da21863ac7
python: exposed basics of trade.AbstractImageConverter.
4 years ago
Vladimír Vondruš
fda9e34b9d
python: use CgltfImporter instead of TinyGltfImporter in tests.
...
It compiles significantly faster and there's no time to waste these
days!!
4 years ago
Vladimír Vondruš
a325f3d0c1
python: minor, doc++, add TODOs.
4 years ago
Vladimír Vondruš
8e8a03e175
python: use AssertionError for trade.AbstractImporter usage errors.
...
Because using RuntimeError conflates with import failures. Also update
and fix docs to not show ValueError for where IndexError should be.
4 years ago
Vladimír Vondruš
2295f43873
Updated copyright year.
4 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
2045e22463
python: properly check also level bounds in importers.
6 years ago
Vladimír Vondruš
a470eae5f1
python: adapt to Trade::MeshDataXD deprecation.
...
Right now there's no deprecation logic in place for the Python bindings,
so this is a breaking change. Sorry about that.
6 years ago
Vladimír Vondruš
45eb76446b
python: expose trade.abstractImporter.imageXd_level_count().
6 years ago
Vladimír Vondruš
59a2773808
python: expose mesh import.
7 years ago
Vladimír Vondruš
7da09f9080
python: expose basic image import in trade.
...
Quite a huge commit because it all needs to be tested together.
7 years ago
Vladimír Vondruš
293c5eca64
python: *very* little from Trade.
7 years ago
Vladimír Vondruš
2922f28267
Initial code for the Python bindings, adding math angle types.
...
Only the double ones, exposed as floats, because the extra ALU required
by doubles is negligible to function call overhead. It'll be different
for non-scalar types, but here I use this.
7 years ago