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

    Setting render engine to Redshift

    Cinema 4D SDK
    s26 c++
    2
    3
    484
    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.
    • S
      spedler
      last edited by

      Changing to Redshift from code is straightforward and works fine. But, if you change to Redshift manually in the render settings dialog, C4D also changes its menus - the Redshift menu appears in the main menu and there are changes in the Window and Create menus, and possibly others.

      When changing to Redshift programatically this doesn't happen, the menus are unchanged. Is there a way to force the menu update in Cinema? I've tried using EventAdd() but it doesn't help. It's a bit disconcerting for users to see that Redshift is being used to render but they can't access the Redshift RenderView window, for example. The only way is to manually change back to the standard renderer and then switch to Redshift manually.

      I wondered if this is possible or just something users will have to live with.

      Steve

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @spedler
        last edited by

        Hello @spedler,

        Thank you for reaching out to us. No, this is unfortunately not yet officially supported. There will be a Redshift API at some point, but we will still need a bit more time for that.

        There is a way to do it, but all I can do here is giving you the hint that you must get hold of the C4DOS pointer and call a function of it. Look at operatingsystem.h (the actual file, not its documentation), there you can figure out how it works. And for future readers: No, I unfortunately cannot clarify this. The public API is public, but I cannot disclose how to 'hack' it (its not that hard to do but you must take the leap ypurself).

        I understand that this answer is cryptic and unsatisfying, but it is the best I can do for now, my apologies.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • S
          spedler
          last edited by spedler

          Hi Ferdinand,

          That's great, I'll take a look at that file and see what happens with that. Many thanks once more for your help.

          (Later) Got, it, works perfectly, thank you very much!

          Cheers,
          Steve

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