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

    GetDDescription() is not called in VideoPostData

    SDK Help
    0
    5
    439
    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
      Helper
      last edited by

      On 13/11/2014 at 14:59, xxxxxxxx wrote:

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

      ---------
      as the title says, I couldn't figure out how to get GetDDescription() to be called in my VideoPostData plugin, I searched the forums but most of the topics are about object/tag plugins

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

        On 14/11/2014 at 02:50, xxxxxxxx wrote:

        Hello,

        GetDDescription should be called for an active video post effect. Do you work on a simple post effect or a renderer? Do you define parameters in a resource file and are these parameters displayed correctly?

        Best wishes,
        Sebastian

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

          On 14/11/2014 at 03:02, xxxxxxxx wrote:

          Hi,

          I'm working on a renderer "but the same problem happens in the video post effect" , and I wanna do ALL parameters in the GetDDescription() function "even the static ones" , the plugin inits correctly, and I display name using:
          RegisterVideoPostPlugin(MY_PL_ID, String("my renderer name"),  PLUGINFLAG_VIDEOPOST_ISRENDERER, MyPluginVP::Alloc, "", 0, 0);

          it displays the name in the renderer drop down list, but with an empty description "the function is not called at all, I tested it with GePrint()"

          edit: all parameters are created as enum inside the .cpp file, and should be used in the GetDDescription() according to this, there is no .res file or .str file or .h file "the whole folder is not created, tell me if this would make a problem and a work around for this"

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

            On 14/11/2014 at 05:13, xxxxxxxx wrote:

            Hello,

            you have to create a default resource file. Simply define an empty ID_VIDEOPOSTPROPERTIES group and use GetDDescription to add your parameters.

            best wishes,
            Sebastian

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

              On 14/11/2014 at 09:54, xxxxxxxx wrote:

              Hi Sebastian,

              thanks a lot !Smile[URL-REMOVED], so I see it needs a minimum of "empty" .res file containing the NAME, I didn't need ID_VIDEOPOSTPROPERTIES here though, thanks again for the help


              [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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