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

    Add a Render Effect [SOLVED]

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 354 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

      On 06/02/2017 at 23:17, xxxxxxxx wrote:

      Hello,guys.

      I have a question:

      How to add a Render Effect into a current Render Setting via python? For example,add a NormalPass Effect.

      Thank you for any help!

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

        On 07/02/2017 at 07:10, xxxxxxxx wrote:

        Hi kjya2008, thanks for writing us.

        With reference to your support request, adding a Render Effect in the current Render Setting is as straightforward as much as adding a VideoPost to the current RenderData.
        Actually the steps to carry out are:

        1. Retrieve the current RenderData (GetActiveRenderData())
        2. Allocate the new VideoPost instance related to the specified effect by specifying its ID
        3. Insert the allocated instance in the RenderData (InsertVideoPostLast(...))
        4. Enable an event add (EventAdd())

        Best, Riccardo

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

          On 07/02/2017 at 16:50, xxxxxxxx wrote:

          Hi,knickknack.

          Thank you very much!

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