Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Hair Brush

 Post Reply Post Reply
Author
Message
valkaari View Drop Down
Member
Member
Avatar

Joined: 2009 Dec 08
Online Status: Offline
Posts: 21
Post Options Post Options   Quote valkaari Quote  Post ReplyReply Direct Link To This Post Topic: Hair Brush
    Posted: 2018 Mar 29 at 6:20am

User Information:

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

---------

Hi, 

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.


Manu.
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1822
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2018 Apr 03 at 6:06am
Hi Manu,

internally the hair tools indeed make use of a special DescriptionToolData based plugin class. But this has never been exposed to the public API. Even worse, we have no documentation to share on this topic.

Your best bet is probably to manually implement it as DescriptionToolData using the various hair classes available in the SDK.

Cheers,
Andreas
SDK Support Engineer
Back to Top
valkaari View Drop Down
Member
Member
Avatar

Joined: 2009 Dec 08
Online Status: Offline
Posts: 21
Post Options Post Options   Quote valkaari Quote  Post ReplyReply Direct Link To This Post Posted: 2018 Apr 05 at 5:49am
arrrggggg thanks a lot ^^

i was afraid about that.
That's why i was founding nothing about it :D
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.141 seconds.