Draw() call for generators



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 27/01/2004 at 03:45, xxxxxxxx wrote:

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

    ---------
    it would be nice if the Draw() function would be called in a sensible way for generator object, too. The SDK Doc states generators get automatically drawn because of the objects they generate. However the Draw() function is called _sometimes  _with the DRAWPASS_OBJECT. Which i would like to use to draw additional stuff in the viewport. This "sometimes" depends on the viewport ( side,top,perspective... ) as well as wether the deformer has child objects. At least this seemed the case for me.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/10/2004 at 10:54, xxxxxxxx wrote:

    Have you had any luck, response, or solutions to this?

    I notice that my PluginObject generator is having massive conflicts with (standard) bone deformers as children to the polygon base object. After nearly two weeks, no responses, no viable solutions. In my case, I have not implemented Draw() in the generator since, as you note, this is supposed to be done automatically. If I do not check dirty, I can get proper results - at the expense of redrawing the viewport for every action which is not a good thing.

    Thanks,
    Robert


Log in to reply