Moderngl

Latest version: v5.10.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 17

2.3.dev0

* EGL backend will now use `eglQueryDevicesEXT` instead of only relying on `EGL_DEFAULT_DISPLAY`
* EGL backend now supports `device_index` for selecting a device

2.2.3

* imgui integration no longer relies on pyopengl
* Bug: Properly parse `out` attributes with layout qualifiers
* Bug: Do not cache system shaders at module level. We now cache them in the context to better support multiple windows.
* Bug: OrbitCameraWindow - Fixed radians/degree issue
* Bug: A window can now be closed from inside `render()`

2.2.2

* Fixed several issues causing the window close callback not being called
* imgui: Fixed incorrect mouse button mapping in mouse drag events

2.2.1

* imgui renderer now supports moderngl textures. This opens up for both
displaying images and animated framebuffer textures into imgui.
* Scene: Fixed several issues related to shader assigning based on material properties.
This especially affected wavefront/obj files.
* OrbitCamera: Fixed translation issue (Leterax)
* OrbitCamera: Now using degrees instead of radians (Leterax)
* Bumped pyglet version to minimum 1.5.6. This version
solves several issue with window events for MacBooks with Touch Bar

2.2.0

* `WindowConfig` now supports overriding the default arugment parser.
A classmethod `add_arguments` can be implemented to add additional
arguments. The parsed arguments are available in `self.argv`
* Added in `Scene.draw_wireframe` rendering a scene in wire frame mode
* `Scene.draw_bbox` now support passing in a `color`
* `Scene` should now have better support for all the vertex formats
wavefront/obj files may have.
* Added `WindowConfig.clear_color` attribute so uses can control the
clear color of the screen. The value can be set to `None` to
disable screen clearing (Leterax)
* Added `OrbitCamera` (Leterax)
* Allow setting camera rotation (Leterax)
* `VAO` should now give better feedback if the buffers and program
attributes are not compatible
* `ModernGLRenderer` (imgui renderer) should not rely on moderngl-window (minuJeong)
* `Scene` should now cache default shaders internally so they are not loaded
for every scene
* Several typos in docs (dawid-januszkiewicz)
* `WindowConfig.load_compute_shader` missing in docs
* Bumped pygame to `2.0.0.dev10`

Thanks to Leterax, minuJeong and dawid-januszkiewicz for the contributions to this release
and mtbouchard for input on `WindowConfig` and `Scene` changes.

2.1.2

Vao changed, and will
added linux support and a QT example that should work

Page 13 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.