I noticed the presence of the following 3 APIs in the above named class:
public virtual void PauseRendering();
public virtual void ResumeRendering();
public virtual bool SupportsPause();
I have overridden them, returning true in SupportsPause, but this method is never called, in my tests. Is there something else which needs doing to get this to work?
Is there some way to set the default gamma for the Render window? At the moment it is defaulting to 0.455, whereas I want either 1.0 or 2.2.
These are used only for the RenderWindow that represents the actual render window in a system window, i.e. production rendering. It is not used when RenderWindow is used through RealtimeDisplayMode.
If you’re looking to pause and resume rendering in the viewport you should registered handlers for
This is for production rendering. We already have the viewport working separately. In the rendering window, I see the pause button, but it is disabled. I thought that by overriding these methods, and returning true from SupportsPause, I could get this to work, but so far no luck.
I understand we need to adapt our code to remove the override modifier? We do implement Rhino.Render.RenderPipeline… Will check
Am I missing something?