Most notable changes that affect the API
- The internal
pygfx.pylinalghas been replaced with a new (external)pylinalgpackage. Any code that used it will need to be updated to this new API. - The
Controllercode has been refactored, and its API has changed (initialization, and how it connects to events). - The
TextureViewclass has been removed. Update your code to just use textures.
Full list of changes
- Update _shaderlib.py to avoid a bug on Metal by @sadaszewski in #483
- Require pylinalg by @almarklein in #484
- Generate class docs in normal Sphinx way by @almarklein in #479
- add Texture format for uint32 by @kushalkolar in #473
- Cameras and controller overhaul by @almarklein in #457
- Stats helper by @Korijn in #486
- Add look-at example by @Korijn in #488
- Fix shadow camera cull mode by @Korijn in #477
- Fix skybox by @panxinmiao in #466
- Enable getting full uniform_type from classes. by @almarklein in #497
- Add frustum property to perspective camera by @FirefoxMetzger in #498
- Remove TextureView from public api by @almarklein in #493
- Mipmap with proper smoothing by @almarklein in #501
- Make controllers configurable and apply damping by @almarklein in #490
- Add trackball controller by @almarklein in #503
- Tweak reactive example by @almarklein in #502
- Add fly controller by @almarklein in #504
- More flexibly detect sponza data. Als show fps in sponza scene by @almarklein in #505
- Skybox validation by @almarklein in #507
- more informative exception message for
Buffer.update_rangevalid types by @kushalkolar in #511 - Fix that renderer-printed fps was multiplied by number of renders per draw by @almarklein in #514
- More efficient Buffer and Texture updates by @almarklein in #508
- New cache class, apply to mipmaps by @almarklein in #516
- Tweak resource update code a bit by @almarklein in #517
- Refactor pygfx using pylinalg by @FirefoxMetzger in #482
- Apply pylinalg rename by @Korijn in #524
- Remove pyinstaller workaround for freetype by @Korijn in #526
- Caching in _pipeline.py by @almarklein in #525
- Fix ups by @almarklein in #527
- Shadow caching and improvements by @almarklein in #530
- Implement cashing for renderer, blender, flusher by @almarklein in #533
- Final caching tweaks by @almarklein in #535
- Refactor usage of global device by @almarklein in #536
- add example of how to map screen to world by @kushalkolar in #512
- Add more extensive envmap supports by @panxinmiao in #406
- exclude nans in
Geometry.bounding_box()by @kushalkolar in #540 - Show line caps on line segments separated by nan by @almarklein in #541
- Option to make a solid torus knot by @almarklein in #542
- Add Mobius strip (and some more) by @almarklein in #543
- Fix that the polyhedron indices array was 3 times too long by @almarklein in #544
- Adjust rtd links to point to stable by @almarklein in #546
- Clear up some expectations in the readme by @almarklein in #547
- Bump version by @almarklein in #548
New Contributors
- @sadaszewski made their first contribution in #483
Full Changelog: v0.1.12...v0.1.13