Releases: schlegelp/octarine
Releases · schlegelp/octarine
Version 0.2.5
Version 0.2.4
This is a small release with a few fixes that allow running octarine
on headless machines.
Version 0.2.3
Bugfix release.
Version 0.2.2
Three minor improvements:
- We now track open viewers for you in case you forget to assign them to a variable:
Closing via
import octarine as oc oc.Viewer() # whoops, forgot to assign v = oc.viewers[0] # phew!
Viewer.close()
removes the reference to avoid preventing garbage collection. Viewer.show()
will now just simply display thejupyter_rbf
widget when used in Jupyter (eliminates the previous extra step)Viewer.add_lines
: thelinestyle
parameter now also accepts matplotlib-like styles such as--
or:
Version 0.2.1
This is a bug fix release that solves an issue with importlib.metadata.entry_points()
in the Python 3.8 and 3.9 standard library (see #8).
Version 0.2.0
New
- minimal picking system (see #7)
Improved
- various improvements to the Qt6 controls (ipywidget side still WIP)
- improved handling for (image) volumes:
Viewer.add_volume()
has more options now- you can set the blend mode via the new
Viewer.blend_mode
property
Viewer.set_view()
now accepts a dictionary with camera state; see alsoViewer.get_view()
Fixed
- fixed
Viewer.screenshot()
- fixed bugs in
Viewer.remove_objects
Viewer.add_mesh
now passes throughpygfx.Mesh
Full Changelog: v0.1.4...v0.2.0
Version 0.1.4
New & Improved
- added a basic overlay system that allows showing message to the user
- generation of large line visuals with lots of breaks is now much faster
Viewer.add_mesh
now passes throughpygfx.Mesh
objects- better, more explicit conversion for
pygfx.Geometries
andpygfx
visuals - added documentation for usage of
octarine
from non-interactive environments such as the standard REPL or scripts
Fixes
- added missing dependencies by @arpy8
- point visual should now work correctly when passing one color per point
- fixed a bug in
Viewer.remove_objects
Version 0.1.3
This version introduces Octarine
plugins to extend its functionality.
See the new tutorial and the octarine-navis-plugin
for an example in the wild.
Version 0.1.2
Highlights for this release:
- a minimal toolbar in Jupyter (this is a prototype, still tinkering with layout/functionality)
- improved/added functionality for
Viewer.add_mesh
,Viewer.add_points
,Viewer.add_lines
andViewer.add_volume
Viewer
can now optionally be initialised with a perspective camera
Version 0.1.1
This is the second release for Octarine
with tons of goodies 🚀
Improvements:
- we added a documentation!
octarine.Viewer
now actually works in Jupyter notebooks (including withsidecar
)- basic support for animations (see tutorial)
- improved support for adding
trimesh.Trimesh
andtrimesh.Scene
objects directly to the viewer - the GUI controls can now be used to toggle visibility, pick colors and perform action on all selected objects
- introduced a extendable system for converting data to
pygfx
visuals (see tutorial) Viewer
:- new properties:
.size
(can be set),max_fps
(can be set),.shadows
(can be set) Viewer.add_volume
lets you setcmin
andcmax
- added
center
argument to allViewer.add_...
methods - added
alpha
argument toViewer.add_mesh()
- new properties:
Breaking:
Viewer.add_scatter
was renamed toViewer.add_points
Bug fixes:
Viewer.screenshot
now works properly with offscreen canvases- conversion of image volumes now works for datatypes
<f
,>f
,>u
and<u