Skip to main content

Questions tagged [trackball]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
BRabbit27's user avatar
  • 969
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 ...
BRabbit27's user avatar
  • 969