Hacker News new | ask | show | jobs
by romwell 590 days ago
Yes, and it has the path independence property, as well as the ability to arrive at any orientation with a single drag.

But hey, most implementations talk about using quaternions, which scare people.

And so the author of the article (...and a lot of software) is completely ignorant of how e.g. 3DS Max, Maya, etc do it.

FWIW, here's a proper arc ball implementation. Try it vs. your favorite 3D software, and by God, implement it in yours:

(Demo requires mouse)

https://romankogan.net/math/arcball_js/index.html