Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Draw() call for generators

    Scheduled Pinned Locked Moved Bugs
    2 Posts 0 Posters 721 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post