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

    Object not updating in render

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 520 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 29/07/2012 at 14:16, xxxxxxxx wrote:

      My ObjectData object adjusts its rotation automatically to always point to the Y direction of the screen, remaining upright, no matter how we see it.
      It works fine in the editor.
      But, when I render, the rotation is not getting updated.
      Is the GetVirtualObjects method being executed when the objects are rendered? Or must I place my code to orient the object elsewhere?

      Rui Batista

      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 29/07/2012 at 18:23, xxxxxxxx wrote:

        Ok, fixed 🙂

        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 29/07/2012 at 20:55, xxxxxxxx wrote:

          how?

          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 30/07/2012 at 02:01, xxxxxxxx wrote:

            I registered my object with c4d.OBJECT_CALL_ADDEXECUTION also.
            Then, in the AddToExecution method I added a GENERATOR priority with -499and returned True.
            And finally moved my orientation code to the Execute method.

            By the way, c4d.EXECUTION_GENERATOR (or any other EXECUTION constants are not being identified inside the code. I had to search for them (found them, for instance, in coffeesymbols.h) and reproduce them inside my code,

            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 30/07/2012 at 06:02, xxxxxxxx wrote:

              c4d.EXECUTION_GENERATOR is c4d.EXECUTIONPRIORITY_GENERATOR (EXECUTION_ -> EXECUTIONPRIORITY_). They've been renamed.
              They are still mentioned by error in the C++ docs. I'll fix that.

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