Questions tagged [trackball]
The trackball tag has no usage guidance.
2 questions
4
votes
1
answer
87
views
Why is the color in the cube being weirdly swapped?
I am implementing a trackball, i.e. a camera orbiting about a fixed point, in my case the origin. When I do left click with the mouse and start moving it, I compute delta values for the angles of a ...
16
votes
2
answers
15k
views
How to implement a trackball in OpenGL?
After so much reading about transformations it is time to implement a trackball for my app.
I understand I have to create a vector from the origin to where the mouse is clicked and then another from ...