Skip to content

v2.6.0

Latest

Choose a tag to compare

@nmwsharp nmwsharp released this 17 Feb 06:39

Polyscope v2.6 Release notes (C++ & Python)

Core Library

  • Improvements to basic navigation and camera motion
    • Change default panning behavior: turntable center moves as you pan the camera (thanks @Kiord)
    • Double-clicking on a point in the scene to recenter the camera!
  • Add new sparse volume / sparse voxel grid structure type
  • Added a new (optional) onscreen colorbar, which looks more like a typical traditional colorbar and is shown directly on the screen
    • Added function to export the colorbar to an .svg file for creating figures
  • Rework the Transformation Gizmo, use ImGuizmo to render it, add many more options for customizing the Gizmo transformations (rotation/translation only, etc)
    • Allow arbitrary additional user-created Transformation Gizmos to manipulate transforms/positions in custom UIs
  • Added functions to create/get/manipulate slice planes with custom names (thanks @merlinND)
  • Add a callback to drag-and-drop files into the Polyscope window (thanks @merlinND)
  • Update ImGui v1.91.9b --> v1.92.5
  • Rework support for multiple contexts with ImGui+GLFW
  • Change the way font loading and custom fonts work (breaking change for advanced users only)
  • Add Icon fonts for use with ImGui (currently internal, not yet exposed to end users)

Python

  • Move python bindings to nanobind, add type hints for almost everything (thanks @wjakob)
  • Re-generate ImGui bindings, bind essentially all of ImGui and ImPlot (thanks 🤖)
  • Add Python bindings to all slice plane functions (thanks @merlinND, @xiangdonglai)
  • Add Python bindings to configure imgui styles from Python (thanks @merlinND)
  • Wheels are now published for Python 3.9-3.14 (dropped end-of-life 3.7 & 3.8, as well as pypy builds)

Misc Bugfixes / Tweaks

  • Screenshots with the ImGui UI enabled are remarkably hard. Disable the old broken behavior, improve docs for what does work. (thanks @mengf821)
  • Fix a camera bug when the turntable view nearly aligns with the vertical axis
  • Fix several rendering bugs when using the orthographic camera (thanks @xarthurx @renanbomtempo)
  • Bindings fixes (thanks @ningnawang @BrunoLevy)
  • Rendering related crash with camera views after adjusting view widget properties
  • Surface mesh tangent vector rendering was briefly broken
  • Fix VolumeGrid isosurface indexing for non-uniform dimensions (thanks @danhambleton)
  • UI tweaks