THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2009 at 07:53, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform: Windows ;
Language(s) : C++ ;
---------
Hello,
I would like the OBJECT GLOW effect to be enabled in the render settings,
how would I do that?
This is what I have but C4D crashes every time I insert my plugin object.
BaseObject* op = static_cast<BaseTag*>(node)->GetObject();
BaseDocument* doc = op->GetDocument();
RenderData *rdata = doc->GetActiveRenderData();
BaseContainer *data = rdata->GetDataInstance();
data->SetBool(VPPRIORITY_OBJECTGLOW, TRUE); // Set Object Glow
any thoughts?
~Shawn