Brush Tool Smooth Algorithm?



  • On 03/09/2016 at 06:52, xxxxxxxx wrote:

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

    ---------
    Howdy,

    Well, I want to duplicate the behavior of the Brush tool's Smooth option. Can someone point me in the right direction?

    Adios,
    Cactus Dan



  • On 05/09/2016 at 07:30, xxxxxxxx wrote:

    Hi Dan,

    we can't disclose the source of the Brush Tool's Smooth algorithm. Sorry.



  • On 05/09/2016 at 07:54, xxxxxxxx wrote:

    For smoothing, you need to take the average position of the neighboring vertices and assign it to the current vertex position. The neighbor class can give you the  neighboring positions.
    You can have an Iterations parameter that repeats this operation to increase the smoothness.



  • On 07/09/2016 at 05:27, xxxxxxxx wrote:

    Howdy,

    Yes, I had in mind to use the Neighbor class. I was just curious if there were any specific white papers I should be studying (so that I'm not reinventing the wheel, so to speak😉).

    Adios,
    Cactus Dan


Log in to reply