Skip to content

2021.0.5

Compare
Choose a tag to compare
@marcomusy marcomusy released this 29 Aug 19:44
· 1227 commits to master since this release

Main changes

  • Added support for ipygany in jupyter notebooks.
  • Command line interface vedo ... should now work on windows 10 too.
  • added skybox environment with show(..., bg="path/to/file.hdr")
  • added (kind of limited) support to wxpython embedding (analogous to Qt, but open-source)
  • updated pymeshlab examples

base.py

  • added .lighting(metallicity=1, roughness=0.1) to include PBR (physics based rendering).
  • method .printInfo() is now simply .print()

addons.py

  • added SplineTool.nodes() to retrieve current node positions.

plotter.py

  • removed global functions closeWindow() ion() ioff()
  • added record() and play() to store and playback camera and all other events
  • keyword interactorStyle becomes now mode

picture.py

  • added flip keyword to flip xy convention
  • added level() and window() methods to control brightness and contrast of a Picture.
  • added smooth() to make gaussian smoothing of a Picture object.
  • added bw() to make a picture black and white
  • added channels keyword to specify rgba channels to use (useful to remove alpha)
  • added pad() to create a padding margin to a picture
  • added median() a median filter that preserves thin lines and corners
  • added frequencyPassFilter() to filter images based on level of detail frequencies
  • added rotateAntiClockWise() to rotate an image (landscape to portrait and viceversa)
  • added tonumpy() and modified() methods.
  • added tiling() to generate tilings from a single picture
  • extract() renamed to select()

pyplot.py

  • added plot(mode="bar")

pointcloud.py

  • added hausdorffDistance() to compute the Hausdorff distance of two point sets or meshes

volume.py

  • added vmin and vmax keywords to share the same mapping across different volumes
  • renamed getDataArray to tonumpy.

cli.py

  • removed bin/vedo and created entry point from vedo/cli.py (command line interface).
    This works better on windows systems.
  • vedo -r now colorizes the code dump.

New/Revised examples:

  • vedo -r plot_bars
  • vedo -r alien_life
  • vedo -r pendulum_ode
  • vedo -r earth_model
  • vedo -r qt_window2
  • vedo -r spline_tool
  • vedo -r wx_window1
  • vedo -r picture2mesh
  • vedo -r record_play
  • vedo -r pymeshlab1
  • vedo -r pymeshlab2
  • vedo -r volume_sharemap
  • vedo -r multiwindows1