THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/06/2011 at 11:13, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I am trying to allocate a depth buffer when the MSG_MULTI_RENDERNOTIFICATION message is sent to my object:
RenderNotificationData* rnd = (RenderNotificationData* )t_data;
if(rnd->external && rnd->start)
if(!rnd->render->AllocateBuffer(VPBUFFER_DEPTH,0,8,TRUE))
GePrint("not Allocated");
However, I don't get the according channel shown in the Picture viewer (AllocateBuffer returns TRUE btw). What am I doing wrong here or am I expecting the wrong thing?
Thanks in advance