Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    • Register
    • Login

    Output multiple file types from one render.

    Cinema 4D SDK
    2024 python macos windows
    2
    4
    643
    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.
    • G
      gsmetzer
      last edited by

      Happy New Year!

      I want to write a script that outputs multiple files from one render and saves into one or more folders. For example:

      I select a rendered image sequence from the picture viewer. Click my script that has multiple options to save multiple versions of the render.
      -One .mov at square aspect resolution
      -...add different resolution/aspect ratios etc.
      -one .mpg at square aspect resolution
      -....add different resolution/aspect ratios etc.
      -one still image
      -....add different resolution/aspect ratios etc.

      I see this dialogue but I want to somehow batch perform these operations. Any ideas how I might implement this with python? Screenshot 2024-01-04 at 9.32.43 AM.png

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi sadly this is not possible in the Python or C++ API.
        The only way would be to re-render each time with different render data.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • G
          gsmetzer
          last edited by

          I see. Re-rendering with each screen resolution would be highly cumbersome. It would be great to have a tool that works like this in Cinema. With soooo many different screen resolutions these days it would really come in handy.

          1 Reply Last reply Reply Quote 0
          • G
            gsmetzer
            last edited by

            The API does appear to have movie saving features. https://developers.maxon.net/docs/py/2023_2/modules/c4d.bitmaps/MovieSaver/index.html

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