Viewport Rendering
-
On 28/07/2016 at 06:54, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;---------
Hello.I have my a VideoPostData plugin in which I use my render engine.
Picture Viewer rendering works great, but I have some issues with C4D's viewport rendering.The problem is that I don't know how to get the starting call and the end call. I need those to start and stop my render engine. I have noticed that the stack which is described in VIDEOPOSTCALL enum runs in every change, so I can't rely on that (Or can I ?).
So, how can I know when to start and stop my render engine on C4D's viewport rendering ?
Thank you for your time.
-
On 29/07/2016 at 01:27, xxxxxxxx wrote:
Hello,
I'm not quite sure what you are talking about. Rending in the viewport should not be much different than rendering to the Picture Viewer. Are you talking about rendering to the viewport or about the Intractive Render Region?
Best wishes,
Sebastian -
On 29/07/2016 at 05:16, xxxxxxxx wrote:
Hello.
I am referring to Interactive Render Region. I need an event that tells me that the rendering has started or stopped.
Thank you.
-
On 29/07/2016 at 09:15, xxxxxxxx wrote:
Hello,
unfortunately there is no specific message sent when the Interactive Render Region is started or ends.
The only thing you could check for is if the Interactive Render Region is enabled or not. The internal data is stored in a Scene Hook with the ID 430000000. The enabled status is stored in IRR_ENABLE.
In general Cinema does not expect that you handle this information. You just should render the given document handed over to your VideoPost.
Best wishes,
Sebastian -
On 30/07/2016 at 11:03, xxxxxxxx wrote:
Thank you very much for your help.
I will try it.