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
    • Login
    1. Maxon Developers Forum
    2. constantine_sazonov
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    constantine_sazonov

    @constantine_sazonov

    0
    Reputation
    5
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    constantine_sazonov Unfollow Follow

    Latest posts made by constantine_sazonov

    • RE: Force 'Pause'/Wait when switching between Takes at Batch Render

      Hey there @fwilleke80 and @m_magalhaes
      Thanks so much for your responses!

      The 'code' is an expression tag. Expression tag reacts to a User Data switches on some Null object. Switches make different sets of Instance objects become visible or invisible.

      At the end of the project I create Takes, each take has recorded a click on UserData Button. This click makes expression tag code to show/hide different instance objects. The geometry is heavyweight, so it takes a couple of seconds for C4D to make these instances visible.

      If I export each take to a separate scene or if I select takes manually - each render shows corresponding set of instances. But on batch render every take shows the same geometry from the first take, as it has not enough time to switch instances, before the render begins.

      I am not sure if it's possible to discuss this problem without showing the actual code (it's around 2000 lines).

      posted in Cinema 4D SDK
      constantine_sazonovC
      constantine_sazonov
    • Force 'Pause'/Wait when switching between Takes at Batch Render

      Hey everyone,

      So happy this forum exists, such a great vault of information!

      The question is the following:

      • The scene has a number of Takes
      • When the Take switches, some Python code does some changes in the scene
      • It takes a few seconds for a python code to finish it's work with the scene.

      If I manually switch between Takes, everything is great. But if I send all takes to batch render, it renders unfinished state of the scene. For example if some objects should appear, on batch render they will not be there, because python calculation didn't finished, while next Take already started rendering.

      Is there a way or some trick, to make Cinema 4D make a forced pause everytime it switches to the next Take at batch rendering?

      Many thanks!
      Have a great day everyone.

      posted in Cinema 4D SDK
      constantine_sazonovC
      constantine_sazonov
    • RE: How to get Pixel Coordinates of Spline point on 2D render canvas?

      @ferdinand Thank you very much for the info!

      posted in General Talk
      constantine_sazonovC
      constantine_sazonov
    • RE: How to get Pixel Coordinates of Spline point on 2D render canvas?

      @c4ds Oh, wow, thank you so much!

      posted in General Talk
      constantine_sazonovC
      constantine_sazonov
    • How to get Pixel Coordinates of Spline point on 2D render canvas?

      Hi everyone,

      • Let's say I have a render settings at 1920x1080.
      • In front of a camera there is a spline rectangle shape.
      • It has 4 points.

      Is there a way to get pixel coordinates of those points on 2D canvas?

      In the end I wanted to get a list of pixel coordinates for those 4 points, that will represent where those points will be located on final render.

      I tried to find corresponding function in API Doc, but no luck unfortunately.

      Would be awesome to know the answer!
      Have a great day everyone!

      pixel-coordinates-of-points.png

      posted in General Talk
      constantine_sazonovC
      constantine_sazonov