Circular sector like Rotate axis tool?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2008 at 20:15, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9-R10
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Anyone have ideas about how to draw a circular sector in ObjectData::Draw() similar to how the Rotate axis tool does the same in the Editor? LineStrip looked interesting, but have no clue what the heck this does. I imagine that one can do a series of Polygon3D() calls (?). Seems like a bit of work though. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2008 at 21:49, xxxxxxxx wrote:
Ah, I have it mostly working. Definitely Polygon3D() calls. The main problem is how to handle when the start angle is greater than the end angle (always rotates positively from start to end but the end may be over the 0d mark).
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2008 at 22:50, xxxxxxxx wrote:
Found it. If the start angle is greater than the end angle, it will definitely be crossing the 0d mark. So, I increment my sub-section slices up to 360, start anew at 0d and go until the end angle. QED.
Happy camper.