Skip to content

Releases: schlegelp/octarine

Version 0.2.5

31 Aug 09:51
Compare
Choose a tag to compare

This release fixes an issue where (depending on the backend) opening a new Viewer from iPython would crash Python.

Version 0.2.4

28 Aug 11:48
Compare
Choose a tag to compare

This is a small release with a few fixes that allow running octarine on headless machines.

Version 0.2.3

27 Aug 20:14
Compare
Choose a tag to compare

Bugfix release.

Version 0.2.2

27 Aug 16:23
Compare
Choose a tag to compare

Three minor improvements:

  1. We now track open viewers for you in case you forget to assign them to a variable:
    import octarine as oc 
    oc.Viewer()   # whoops, forgot to assign
    v = oc.viewers[0]  # phew!
    Closing via Viewer.close() removes the reference to avoid preventing garbage collection.
  2. Viewer.show() will now just simply display the jupyter_rbf widget when used in Jupyter (eliminates the previous extra step)
  3. Viewer.add_lines: the linestyle parameter now also accepts matplotlib-like styles such as -- or :

Version 0.2.1

19 Aug 09:18
Compare
Choose a tag to compare

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

18 Aug 08:18
8707584
Compare
Choose a tag to compare

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 also Viewer.get_view()

Fixed

  • fixed Viewer.screenshot()
  • fixed bugs in Viewer.remove_objects
  • Viewer.add_mesh now passes through pygfx.Mesh

Full Changelog: v0.1.4...v0.2.0

Version 0.1.4

13 May 10:24
Compare
Choose a tag to compare

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 through pygfx.Mesh objects
  • better, more explicit conversion for pygfx.Geometries and pygfx 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

24 Apr 10:06
Compare
Choose a tag to compare

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

16 Apr 14:00
Compare
Choose a tag to compare

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 and Viewer.add_volume
  • Viewer can now optionally be initialised with a perspective camera

Version 0.1.1

07 Apr 11:35
Compare
Choose a tag to compare

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 with sidecar)
  • basic support for animations (see tutorial)
  • improved support for adding trimesh.Trimesh and trimesh.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 set cmin and cmax
    • added center argument to all Viewer.add_... methods
    • added alpha argument to Viewer.add_mesh()

Breaking:

  • Viewer.add_scatter was renamed to Viewer.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