THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/01/2008 at 22:17, xxxxxxxx wrote:
Cinema 4D Version: R9-R10
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
I'd like to draw some pretty spheres into the display. Particularly, they should be spheres that are translated, rotated, and non-uniformly scaled (ellipsoidal) globally but react locally with respect to a particular object. In the docs it says, and I quote:
Note: The coordinates must be in the space defined by SetMatrix_Screen(), SetMatrix_Camera() or SetMatrix_Matrix().
I imagine that SetMatrix_Matrix() is called for to do some of the transformation work here. It is unclear whether scaling and translation will be imparted here or must be imparted via the DrawSphere() arguments. There is much to be desired in the gaping swaths of areas not covered by the SDK examples - only ONE use of ALL of the new draw functions in BaseDraw() and it is poor and useless.
Mind providing an example of how to use these methods?