Rendering und Multipass

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/09/2006 at 23:17, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.6 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,

My VideoPost plug-in needs to render sub pictures, that's why I call RenderDocument in the method execute and then copy the result picture in VPBUFFER_RGB. It works for a normal rendering.
The problem are coming as soon as the user wants to output the Alpha Channel or some Multipass.
VPBUFFER_RGB is a MultipassBitpmat so I tried to understand its contain. As I was expecting, the layer count is 1 during a normal rendering and more if the user wants multipass (count = multipass effect +1), alpha layer count is 1 if the user wants the alpha channel.

I thoughts that maybe if I create a MultipassBitmap with the same layers in it, renderdocument would maybe render thode data too in my sub pictures, but it doesn't work.

Well I need those data in my sub pictures. I need sometime to save them. How can I get them ?

thanks,

Vincent