Visualizes point clouds and particle datasets in 3d using python and openGL with VisPy.
- numpy
- PyGLM
- PyOpenGL
- VisPy
- matplotlib (for color maps)
- 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
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.