Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 03/10/2015 at 03:23, xxxxxxxx wrote:
User Information: Cinema 4D Version: R17 Platform: Language(s) : C++ ;
--------- Hi,
I'm trying to implement a custom renderer for C4D and so far rendering within then Picture viewer appears to work correctly. However when implementing rendering within a viewport, I have only been partially successful in emulating the film/resolution gate as it is implemented in C4D, particularly the FOV and aspect ratio calculations. Is there some sample code that demonstrates extracting the various camera parameters for integration with a custom renderer? Also if there was an example of a basic Renderer plugin it would be a great help.
Thanks
On 06/10/2015 at 02:17, xxxxxxxx wrote:
Hello,
currently there is no basic render plugin example. But you should find a lot information on this topic in the forums.
For rendering in the viewport you have to use the dimensions of the viewport. You can check if if the current render process is not happening in the picture viewer if the RENDERFLAGS_EXTERNAL flag is not set in the VideoPostStruct. See also this thread "MatPreview not matching camera view".
best wishes, Sebastian
On 16/10/2015 at 09:45, xxxxxxxx wrote:
Hello karanik,
was your question answered?
Best wishes, Sebastian