Questions tagged [trackball]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
72 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 ...
15
votes
2answers
10k 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 ...