Colorizing individual clones
-
On 25/03/2013 at 03:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;---------
Hi,this is a bit strange task and unfortunately I have not much time to solve it, so I hope, someone here has an idea.
I have a field of clones, generated by my object plugin using GVO (see my previous post). The task is to colorize single clone objects depending on some calculations. Using SetColorProperties works well for the editor view, but I need a solution, that also works when rendering.
It would be the best, if it could be integrated in the object plugin, rather than making a separate shader plugin. Any ideas?
Thanks in advance,
-
On 25/03/2013 at 09:03, xxxxxxxx wrote:
Just set the usecolor mode in the ObjectColorProperties to "On". Then it should also render.
-
On 26/03/2013 at 14:34, xxxxxxxx wrote:
Thanks, but that doesn't work for objects, that have a material attached. So now I use GetClone() to make copies of the original object, go recursive through their children and delete all texture tags. The clones that have to be colored, get these objects as master.