Pyviz3d
No description available
Install / Use
/learn @pierdell/Pyviz3dREADME
pyViz3D: A lightweight point cloud visualization library in python

pyViz3D is a lightweight OpenGL-based Point Cloud visualization library, which is primarly designed for research and debug purposes.
Utilization
from viz3d.window import OpenGLWindow
from viz3d.engineprocess import *
window = OpenGLWindow()
window.init() # Starts the engine in a new process
pc = np.random.randn(100, 3).astype(np.float32)
color = np.random.rand(100, 3).astype(np.float32)
window.set_pointcloud(0, pc, color) # Sets a colored point cloud model for id=0
...
window.close(force=True) # Closes the window (forcing the process to close)
Navigation in the Window
The user can navigate in the window with a
First Person Camera, which has the following key binding:
| Key Pressed | Action *(IF THE CAMERA IS ACTIVATED)| | --- | --- | | Z | move Forward | | S | move Backward | | Q | move Left | | D | move Right | | R | move Up | | F | move Down | | A | rotate clockwise in roll | | E | rotate counter-clockwise in roll | | SHIFT | Accelerate camera motion x 10, while the key is pressed |
| Mouse Action | Action | | --- | --- | | Right Click | Activate/Deactivate the Camera | | Move the cursor away from the center | yaw, pitch orientation changes IF THE CAMERA IS ACTIVATED |
To Install the pyViz3d as a python module:
pip install .
TODOS
- [ ] Switch from pygame to glfw
- [ ] Improve the camera
- [ ] Improve the documentation
- [ ] Robustify the suppression of the engine process if the origin process dies unexpectedly
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
