VPBUFFER_POSTEFFECT
-
On 14/06/2013 at 17:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;---------
Hi all,i'm trying to add the VPBUFFER_POSTEFFECT to the multipass without luck.
if (addPostFX)
{
MultipassObject *mpo = NULL;
mpo = (MultipassObject* )BaseList2D::Alloc(Zmultipass);
if (mpo)
{
//mpo->SetName("VrayBridge MP Object");
BaseContainer *data = mpo->GetDataInstance();
data->SetLong(MULTIPASSOBJECT_TYPE, PBUFFER_POSTEFFECT);
rd->InsertMultipass(mpo, NULL);
rd->Message(MSG_UPDATE);
EventAdd();
}
}Thanks in advance
Renato T. -
On 15/06/2013 at 00:57, xxxxxxxx wrote:
Hi Renato,
Only thing I can think of is that you're using the base container to set values. Could this be one of those instances where you need to use Get/SetParameter instead?
Steve
-
On 16/06/2013 at 14:13, xxxxxxxx wrote:
where is my last post??