Tracball & GL Inverse Rotation

voxdeserti's picture

Hi, Guys! Thought that it would be simple for me but stuck with this... The concept is: Trackballing a "Teapot_main" makes "Teapot_replicate" to follow 1'st teapot's rotation. What's wrong with the math?

PreviewAttachmentSize
2teapots.zip21.07 KB

voxdeserti's picture
Re: Tracball & GL Inverse Rotation

Well...

PreviewAttachmentSize
2teapots_correct.zip21.85 KB

cybero's picture
Re: Tracball & GL Inverse Rotation

absolutely right :-)