Vladimír Vondruš
ea4c792d26
doc: ArchLinux uses zst now.
6 years ago
Vladimír Vondruš
2df41d3afe
doc: updated changelog for 2020.06.
6 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
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š
1aefd45f2c
doc: enable latex caching so docs can finish building in this decade.
6 years ago
Vladimír Vondruš
97062bcc04
python: expose new Matrix4.normal_matrix() and related APIs.
...
Should have gone into 2019.10 already, but I forgot.
7 years ago
Vladimír Vondruš
016f5954e3
python: exposed framebuffer blit.
7 years ago
Vladimír Vondruš
19cb8f41b3
doc: added changelog for Python bindings.
7 years ago
Vladimír Vondruš
027492966d
doc: shorten the experimental notice.
7 years ago
Vladimír Vondruš
6bce9fbeb2
python: remove the black magic from magnum.platform.
...
Implicitly importing whole toolkits was not a good idea.
7 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š
e07e61c1ef
python: expose Image.
...
Owning counterpart to ImageView.
7 years ago
Vladimír Vondruš
c21972efb6
python: document the behavior of ImageView refcounting as well.
7 years ago
Vladimír Vondruš
2eebb45557
python: don't keep a reference to owner for empty array views.
...
We don't need to reference anything from it anyway.
7 years ago
Vladimír Vondruš
e18fbdbb16
python: raise an exception on plugin load/unload failure.
...
Because that makes sense. Returning some None doesn't.
7 years ago
Vladimír Vondruš
483ffb4453
python: document gl.default_framebuffer
7 years ago
Vladimír Vondruš
843160f58a
python: throw instead of returning a falsy value in shader APIs.
7 years ago
Vladimír Vondruš
3f0aa76c28
python: expose Shaders::Flat.
7 years ago
Vladimír Vondruš
313e74142c
python: expose texturing in Phong.
7 years ago
Vladimír Vondruš
02fc8900b9
python: expose Phong tangents and vertex colors.
7 years ago
Vladimír Vondruš
40891858d6
python: raise Python exceptions for shader API usage failures.
7 years ago
Vladimír Vondruš
006987fa45
python: update shader attribute docs, add Phong there too.
7 years ago
Vladimír Vondruš
3c9643ce74
python: expose textures and related APIs.
7 years ago
Vladimír Vondruš
1083e2d6aa
python: improve docs of gl.Mesh primitive setting.
7 years ago
Vladimír Vondruš
bbbda61f6e
magnum: no_create() constructors are useless, don't add them.
7 years ago
Vladimír Vondruš
d818e40698
python: implemented vector swizzles.
7 years ago
Vladimír Vondruš
9faed0651e
python: expose basics of plugin manager.
...
Just the minimum needed to get Trade::AbstractImporter running.
7 years ago
Vladimír Vondruš
c8e99ca086
python: expose corrade and magnum compilation defines.
7 years ago
Vladimír Vondruš
14f7810870
python: finish the magic and docs for Matrix[34].scaling() and friends.
...
This is so ugly it's beautiful. The translation needed a metaclass to
work properly, but the undoubtedly worst/best is making those exposed
nicely in the docs.
7 years ago
Vladimír Vondruš
128c2aa0af
python: use an underscore for the less readable PixelFormat values.
7 years ago
Vladimír Vondruš
3ae0c3fbf2
doc: we have an AppVeyor build now.
7 years ago
Vladimír Vondruš
e105109981
doc: document differences in platform and scenegraph.
7 years ago
Vladimír Vondruš
73087f3b3f
doc: we can disable GL tests now.
7 years ago
Vladimír Vondruš
b84f88e189
doc: add 3rd party license info and contributor list.
7 years ago
Vladimír Vondruš
9a7c167e73
doc: switch to a nicer URL scheme.
7 years ago
Vladimír Vondruš
3ceb292c15
python: update docs with crosslinking and all the fancy stuff.
7 years ago
Vladimír Vondruš
c40627c96c
python: better name [Strided]ArrayView memory owner property.
...
Mirroring Python's obj is not good, as the name is absolutely not
describing what it is.
7 years ago
Vladimír Vondruš
ce3d2564fd
python/corrade: make our own buffer protocol for array views.
...
THe one from pybind11 is severely limited and allocation-happy. Lots of
tech debt and TODOs resolved now, yay.
7 years ago
Vladimír Vondruš
a61ee59825
doc: setup for symbol search.
7 years ago
Vladimír Vondruš
7549d107de
python: implement buffer protocol for Vector types as well.
...
This makes Vector3 to np.array conversion about 20x faster. Yes, *that*
much. Crazy. Timings from the benchmark added in previous commit before:
np.array([]) 0.66096 µs
np.array([1.0, 2.0, 3.0]) 0.70623 µs
a = array.array("f", [1.0, 2.0, 3.0]); np.array(a) 0.57877 µs
a = Vector3(1.0, 2.0, 3.0); np.array(a) 18.18542 µs
after:
np.array([]) 0.57162 µs
np.array([1.0, 2.0, 3.0]) 0.68309 µs
a = array.array("f", [1.0, 2.0, 3.0]); np.array(a) 0.53958 µs
a = Vector3(1.0, 2.0, 3.0); np.array(a) 0.74818 µs
There's still some overhead that could be removed I think, making the
Vector3-to-numpy conversion faster than list-to-numpy.
7 years ago
Vladimír Vondruš
ee2a209e9c
doc: adapt to m.css changes.
7 years ago
Vladimír Vondruš
e5e0ac0e36
doc: hmm, why corrade.containers were automagically included before?
7 years ago
Vladimír Vondruš
d050145e51
python: put everything into a single module if magnum is built statically.
...
That makes it much easier to handle in that case (because that's the
whole point of static builds) and also nicely circumvents any issues
with duplicated global data when a static lib would be linked to
multiple dynamic libraries.
7 years ago
Vladimír Vondruš
8b9146dc78
package: added Homebrew package.
7 years ago
Vladimír Vondruš
82862b8bcd
python: numpy compatibility for matrices and vectors.
7 years ago
Vladimír Vondruš
f6136c8895
doc: python bindings are in master now.
7 years ago
Vladimír Vondruš
7777943a03
doc: add a page with examples.
7 years ago
Vladimír Vondruš
2b0dfaa22a
python: expose MeshTools::compile().
7 years ago