| Crates.io | kiss3d-trackball |
| lib.rs | kiss3d-trackball |
| version | 0.7.0 |
| created_at | 2021-04-03 08:59:02.209577+00 |
| updated_at | 2025-10-19 16:27:17.346046+00 |
| description | Coherent Virtual Trackball Camera Mode for Kiss 3D |
| homepage | |
| repository | https://github.com/qu1x/kiss3d-trackball |
| max_upload_size | |
| id | 378094 |
| size | 107,406 |
Coherent Virtual Trackball Camera Mode for Kiss 3D
Complements the trackball library with Kiss3D-specific Input resulting in a compound
Trackball camera mode implementation for the Kiss3D graphics library.
This is an alternative trackball technique using exponential map and parallel transport to preserve distances and angles for inducing coherent and intuitive trackball rotations. For instance, displacements on straight radial lines through the screen's center are carried to arcs of the same length on great circles of the trackball (e.g., dragging the mouse along an eights of the trackball's circumference rolls the camera by 360/8=45 degrees, dragging the mouse from the screen's center to its further edge linearly rotates the camera by 1 radian, where the trackball's diameter is the maximum of the screen's width and height). This is in contrast to state-of-the-art techniques using orthogonal projection which distorts radial distances further away from the screen's center (e.g., the rotation accelerates towards the edge).1
See the release history to keep track of the development.
The works are licensed under the BSD-2-Clause-Patent.
This license is designed to provide:
GPL-2.0-or-later, andApache-2.0 without patent retaliation.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the works by you shall be licensed as above, without any additional terms or conditions.
G. Stantchev, “Virtual Trackball Modeling and the Exponential Map”, S2CID 44199608 (2004) , Archived PDF ↩