**THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED**

*On 01/09/2006 at 22:58, xxxxxxxx wrote:*

User Information:

Cinema 4D Version: 9.102

Platform: Windows ; Mac OSX ;

Language(s) : C++ ;

---------

As much as Shoemake is thorough, C is soooo 1980's and his code is, to say the least, cryptic and full of junk that would go out the window quickly. There are already Quaternions in the SDK; already Matrices; already draw routines; already mouseinput routines, etc. and so on. Boiling down the 14 PAGES of code could take weeks.

What I need is a way to have the basic code necessary to implement arcball rotation - sort of like that already available with the Rotate tool for HPB.

Amazing. Interactive translation took an hour, scaling took a few more, constrained rotations minutes (borrowing from the other code). Free-rotations could take weeks - because I'm feeding into Euler sliders and not matrices. 3D Rotations suck, suck, suck!!! And I have no choice but Euler representation to sliders - otherwise the standard C4D tools would be used instead.

More amazing is that D|S does this - but then they are using OGL and some other 3D SDK.

Help!!!