Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.2 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.2 KB

Python Particle Visualizer

Visualizes point clouds and particle datasets in 3d using python and openGL with VisPy.

required modules

  • numpy
  • PyGLM
  • PyOpenGL
  • VisPy
  • matplotlib (for color maps)

features

  • good performance with large number of points
  • render as shaded spheres or 2d points
  • generate colors based on a transfer function, or load a custom texture for the spheres
  • explore the point cloud interactively in 3D with mouse and keyboard
  • many settings to customize the visualization

usage

The main logic is defined in the ParticleVis.py file. You can run the file directly to start the visualization. All settings and options for input data are defined in the constructor of the Canvas class. There, they are also documented with comments and example values.

By default, the Camera is controlled with W,A,S,D,Q and E, and by dragging the mouse with pressed left mouse button.
You can hold Ctrl instead of the mouse button, e.g. when using a touch-pad. Use X to switch from first person to trackball control mode. F and C change the camera's movement speed. Check the classes Camera and CameraInputHandler in camera.py, to change camera settings and keybindings.