SOLVED Setting render engine to Redshift

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

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

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

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