Skip to content

Python visualization of point clouds using openGl.

License

Notifications You must be signed in to change notification settings

hschwane/PyParticleVis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python visualization of point clouds using openGl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published