v0.0.3
New in 0.0.3
Full camera control: use scene.camera.from_mouse(gui)
after a gui.get_event()
call (without arguments) to control the camera with the mouse
- Drag with the left mouse button pressed to orbit the camera.
- Drag with the right mouse button or use the wheel to zoom in and out.
- Drag with the middle mouse buttom to pan the camera.
Other updates:
- Support binding textures to models.
- Backface culling for perspective cameras.
- Used the area method to compute barycentric coordinates.
- Clip the triangle bounding box to prevent drawing outside the camera.
Credits: @victoriacity, @DSaurus, and @Zony-Zhao, thank for their contributions!