Thanks for your reply. Pardon me for my incomplete post as I am new in Cinema 4D plugin development.
Regarding your questions, here are my answers :
Are you talking about the output generated by your own rendering engine?
No The output is not being generated by my own rendering engine. I am using the default cinema 4D rendering engine.
Are you talking about rendering the active document or any another document?
Yes , I am talking about rendering the active document.
The preview window is same as the "new view panel" created from Window menu. In my case I have created it using the C++ code.
In this newly created window I have set the camera from which I want to see the output viz. camera 1 or any other camera( which is present in main window at startup of cinema 4D).
So by preview I mean I want to see the rendered output of camera in a separate window. As I move my camera at different angles and positions I want to see the rendered output in a separate window at the same time.
So I want to ask is this possible to achieve ? If possible what are the possible ways to achieve this.
Thanks in advance.