Hair Brush

On 29/03/2018 at 06:20, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   r19 
Platform:   Windows  ; Mac  ;  
Language(s) :     C++  ;


i would like to reproduce something like the Hair Tool brush that have several Mode (the straighten mode doesn't function if you are in tip mode)

Actually i'm bit lost and don't really know what to read in the documentation.

i saw i can react to the message MSG_TOOL_RESIZE to handle various things.

But i don't understand where to draw the information (except in the draw function but the circle is lagging behind the pointer)

I've try to use the GetCursorInfo if i try drawing the circle it crash.

I'm a bit lost with the DescriptionToolData, SculptBrushToolData, BrushToolData.

I'm pretty sure you have some links to the sdk that i could read that will light my path.