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

    Hw to disable a post effect

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 309 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 02/04/2008 at 02:09, xxxxxxxx wrote:

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

      ---------
      Hi,

      I would like to disable a post effect (Lens glow for example). How can I do that ?

      Thanks a lot in advance.

      Vincent

      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 02/04/2008 at 06:50, xxxxxxxx wrote:

        You have to set the BIT_VPDISABLED bit for the post effect you want to disable.

        Here some sample code how to disable the first post effect in the list:

        > \> Bool MenuTest::Execute(BaseDocument \*doc) \> { \>      RenderData \*rdata = doc->GetActiveRenderData(); \>      if(!rdata) return FALSE; \> \>      PluginVideoPost \*pvp = rdata->GetFirstVideoPost(); \>      if(pvp) \>      { \>           doc->StartUndo(); \>           doc->AddUndo(UNDO_CHANGE, rdata); \> \>           pvp->SetBit(BIT_VPDISABLED); \> \>           doc->EndUndo(); \> \>           rdata->Message(MSG_UPDATE); \> \>           EventAdd(); \>      } \> \>      return TRUE; \> } \>

        cheers,
        Matthias

        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 02/04/2008 at 06:53, xxxxxxxx wrote:

          Hi Matthias,

          Thanks a lot !

          Vincent

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