ArcBall revisited, updated
in
Share your Work
•
1 year ago
It wasn't until I came to post here that I realised there had been some recent discussion about ArcBalls here:-
https://forum.processing.org/topic/help-on-learning-how-to-implement-an-arcball-style-rotation, but I have created a new thread because I'm sharing a sketch with you.
There exists a tutorial library here but that is pretty old, and further the ArcBall logic is hidden in a library. However it was sketch by Ariel Malka that I found initially (which looks suspiciously similar). I've updated Ariels sketch to use PVector, in place of a custom Vec3 class, I have also made use of the new PShape3D class (via PShape interface in case you get confused). You can see my sketch here at openprocessing, I hope you find it interesting/useful.
https://forum.processing.org/topic/help-on-learning-how-to-implement-an-arcball-style-rotation, but I have created a new thread because I'm sharing a sketch with you.
There exists a tutorial library here but that is pretty old, and further the ArcBall logic is hidden in a library. However it was sketch by Ariel Malka that I found initially (which looks suspiciously similar). I've updated Ariels sketch to use PVector, in place of a custom Vec3 class, I have also made use of the new PShape3D class (via PShape interface in case you get confused). You can see my sketch here at openprocessing, I hope you find it interesting/useful.