Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port PrusaSlicer's Measure & Cut gizmos (#2603)
Build on top of #2520 and replaces it. This PR includes: - Rewrite the opengl rendering code, which now renders (almost) everything using shaders instead of legacy opengl function calls - Rewriting the gizmo mouse handling code that moves the mouse handling coding into each gizmo themselves - Rewriting the mouse picking code, now it uses ray casting to figure out what's under the mouse cursor - Porting of the PrusaSlicer's measure tool - Replacing existing cuting tool with the better one PrusaSlicer has - Updating of other gizmos using PrusaSlicer's latest code base There was a plan to also port PrusaSlicer's emboss & svg tools, but this PR is already very big and the changes needed for emboss will be even bigger and might take forever to finish. So I decided to separate them so we can get something out and start rolling out testing builds for people to play with as soon as possible. This was developed mainly using Windows, be prepared it could have graphic issue under Linux & macOS. Huge credit to Prusa for their amazing job! ![image](https://github.com/SoftFever/OrcaSlicer/assets/1537155/b7ec85d7-1013-4d8e-9914-c2b4d8cb5360) ![image](https://github.com/SoftFever/OrcaSlicer/assets/1537155/1e97d744-99c0-402d-9b23-456d95e07bba) ![image](https://github.com/SoftFever/OrcaSlicer/assets/1537155/f0a5dbea-677a-43f5-918b-c6817ff659c8) Fixes #717 Fixes #1150 Fixes #1590
- Loading branch information