THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/10/2009 at 14:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r11
Platform: Windows ;
Language(s) : C++ ;
---------
Hi there,
i was about getting my hands on using a tag plugin to pass data from the generator plugin to a shader plugin.. the tags values are set properly (i can see it when converting the generator and looking at the tag), but the shader doesnt get the proper values. its always zero..
_
RayObject *robj = NULL;
robj = cd->vd->op;
if (!robj) return 0.0;
BaseTag *ht = robj->link->GetTag(1000001);//
if (ht)
{
BaseContainer *bc = ht->GetDataInstance();
if (bc)
result = bc->GetVector(MATERIAL_COLOR);
}
_
thank you for all input??
cheers,
ello