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
    • Recent
    • Tags
    • Users
    • Login

    Update two view panels

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 323 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 28/10/2013 at 11:37, xxxxxxxx wrote:

      Hello there.

      I'm doing some projection mapping and would like to do some real time prototyping. Ideally I would like to have two view panels updating as the timeline plays through. I don't mind too much about view port slowdown for the prototyping part, I just could do without rendering content for multiple projectors every time I need to test something.

      I can't see anything obvious in the documentation of which I can access or activate a view panel. Is this something I can achieve in Python or am I chasing an impossible dream.

      Thanks

      Adam

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

        On 28/10/2013 at 12:18, xxxxxxxx wrote:

        I seem to have found my answer:

        c4d.DrawViews() seems to do exactly as I want and as expected the view port speed pretty much halves with an extra view. If anyone has any optimised ideas of how to do this I'm open.

        Thanks

        Adam

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

          On 28/10/2013 at 13:53, xxxxxxxx wrote:

          c4d.DrawViews() is the recommended method to re-draw an editor view. There are many different
          ways it can act depending on its flags, so make sure to look through them thoroughly. 🙂

          Cheers,
          -Niklas

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

            On 28/10/2013 at 15:13, xxxxxxxx wrote:

            Thanks Niklas, I'll have a look!

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