Vladimír Vondruš
0eade80567
python: expose RGB<->XYZ conversion utilities.
...
I just needed to calculate expected output for a doc snippet, that's
all.
4 years ago
Vladimír Vondruš
43d7e10f2d
modules: updated Find modules from the Magnum repository.
4 years ago
Vladimír Vondruš
2b8b67addc
package/ci: add a macOS GLES3 build.
4 years ago
Vladimír Vondruš
281c18fdeb
package/ci: add MSVC 2022 and /permissive- builds.
...
Dropping 2017 ES builds in exchange. Clang-cl doesn't work,
unfortunately, crashing with pybind11.
4 years ago
Vladimír Vondruš
e35de34fee
package/ci: Chocolatey, go away.
4 years ago
Vladimír Vondruš
8938a29f67
python: expose depth/stencil PixelFormat values.
4 years ago
Vladimír Vondruš
9bc5840926
python: gl.Framebuffer has to be defined after gl.Texture2D which it uses.
...
Funnily enough wasn't a problem for the tests, only for the doc
generator?!
4 years ago
Vladimír Vondruš
79009b7d21
python: gl.TextureFormat.SRG8 is available on desktop now as well.
4 years ago
Vladimír Vondruš
7dc03d59aa
doc: updated changelog and credits.
4 years ago
James Murphy
0e84055b49
python: expose depth/stencil gl.TextureFormat values.
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
4 years ago
James Murphy
6f260b05cd
python: expose gl.Framebuffer.attach_texture().
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
4 years ago
Vladimír Vondruš
1dd625a420
python: test gl.Framebuffer renderbuffer refcounting properly.
4 years ago
Vladimír Vondruš
60c48b63f7
python: document gl.Framebuffer.attach_renderbuffer() args.
4 years ago
Vladimír Vondruš
75a0564cc3
python: make it possible to set mesh index buffer.
...
Heh, funny how this is not there yet.
4 years ago
Vladimír Vondruš
71d2cf0d95
python: unify parameter naming of all math.angle() functions.
4 years ago
Vladimír Vondruš
0120b3f768
python: add remaining vector/scalar, exp and other math functions.
...
Except for binomial coefficient, there the asserts are hard to replicate
and would need a change on Magnum side.
4 years ago
Vladimír Vondruš
831ab24e49
package/ci: I wonder how this RPATH mess ever worked.
...
WTH.
4 years ago
Vladimír Vondruš
fa55f1df54
package/ci: we don't need SceneTools for anything here, yet.
4 years ago
Vladimír Vondruš
a2bbcf54aa
package/ci: use Ubuntu 18.04 to restore access to the deadsnakes PPA.
...
Apparently all the old cruft like gcc 4.8 is still there, so we should
be fine?
4 years ago
Vladimír Vondruš
03cbaf5f19
package/ci: GitHub says I can't use git:// anymore.
...
I kinda get the point, to avoid rogue third parties tainting my
ŕepositories with nasty backdoors, yes, but unless *everything* on the
way to the server including DNS queries is encrypted, then it's still
just a half of the solution and any silly corporate firewall can still
prevent me from cloning stuff from github dot com.
4 years ago
Vladimír Vondruš
24921c7409
Doc++
4 years ago
Vladimír Vondruš
32fe5ead80
package/ci: drop Gitter webhook notifications.
...
It never really worked, was either too verbose or too quiet, and now it
404s on AppVeyor.
4 years ago
Vladimír Vondruš
5994150a68
python: expose glfw.Application.{swap_interval,main_loop_iteration}.
...
The first one was for some reason not exposed because it's a write-only
property (but all shaders have writeonly properites, so what's the
problem?), the second one got added in 2020.06 but the code here was not
updated.
5 years ago
Vladimír Vondruš
2a528e23bf
python: doc++, updated credits & changelog.
5 years ago
Vladimír Vondruš
6be3566e9b
package/homebrew: make this work on ARM Macs as well.
...
Thank you, Homebrew! FFS!
5 years ago
James Murphy
40ba765fad
Don't error if path is already fullpath
...
copyfile raises a SameFileError if the source and destination are the same. In this case, the error should be ignored.
5 years ago
Vladimír Vondruš
dda78038be
doc: updated changelog.
5 years ago
Aaron Gokaslan
c50a2f6851
python: add bindings for convenience color functions.
...
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
5 years ago
Vladimír Vondruš
4d5a9ed456
python: expose viewport and exit event.
...
And also a possibility to make the window resizable on startup,
otherwise the viewport event gets never triggered.
5 years ago
Vladimír Vondruš
18ea028c8a
python: fix InputEvent.Modifier to behave like proper flags.
5 years ago
Vladimír Vondruš
8f733ca8db
python: properly expose gl.Context.flags.
5 years ago
Vladimír Vondruš
48b94ffd19
python: doc++
...
Apparently I didn't even attempt to build the docs for quite a while.
5 years ago
Vladimír Vondruš
d66b581e73
python: add off-center variants of 2D/3D orthographic projection.
...
Which also fixes the build against latest Magnum master, as the
overloads are now ambiguous.
5 years ago
Vladimír Vondruš
1417d59b6c
doc: updated changelog with latest fixes.
5 years ago
Vladimír Vondruš
9f08717e77
python: fixed a copypaste error in MouseMoveEvent.relative_position.
...
It returned the same as position, sigh.
5 years ago
Aaron Gokaslan
c7897429af
python: don't pass potentially huge types by value.
5 years ago
Vladimír Vondruš
7ede64e7d4
python: whoopsie.
...
A lot of them. Though, unlike with the C++ side, I still don't think
writing exhaustive tests for all these accessors is worth the time
spent.
5 years ago
Vladimír Vondruš
5c2cad1461
package/ci: curses, lots of curses.
5 years ago
Vladimír Vondruš
dfb44e98ca
doc: updated credits and changelog.
5 years ago
Aaron Gokaslan
31785426d8
Typo fixing
5 years ago
Aaron Gokaslan
a42018d075
python: don't carelessly copy py::args and py::kwargs.
5 years ago
Vladimír Vondruš
7f86477c3e
Adapt to Magnum changes.
5 years ago
Vladimír Vondruš
2fec9c1e5e
Enable a bunch of useful CMake policies.
5 years ago
Vladimír Vondruš
aadc437b25
python: added Vector4 from Vector3 and Vector3 from Vector2 constructors.
...
Not sure why I missed those.
5 years ago
Vladimír Vondruš
431074a776
python: adapt to GL shader renaming.
5 years ago
Vladimír Vondruš
0bf27c07f2
python: I don't understand this comment. Remove.
5 years ago
Vladimír Vondruš
8e00226da3
python: add a caster for Containers::Optional.
5 years ago
Vladimír Vondruš
ba4e20006a
python: adapt to GL::TextureFormat updates.
5 years ago
Vladimír Vondruš
98a3dcf59c
python: basic support for arbitrary types in strided array views.
...
Not ArrayView yet, and also no documentation on this whatsoever. That'll
come next. Also not everything works with arbitrary types yet,
converting from buffer protocol doesn't remember the format and
conversion to bytes doesn't take the actual type size into account
either.
5 years ago
Vladimír Vondruš
805a781f0a
python: adapt to GL::Context changes.
5 years ago