THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/01/2008 at 10:02, xxxxxxxx wrote:
Cinema 4D Version: 10.1
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;
well I have some deep trouble. I want to create hair incl. hair-material only by coffee-code.
my first problem is, how can I modify the hair colour, because there is a colour gradient.
and then I want to change the function graphs in the hair material, how can I do that?!?
I hope you can help me, would be glad of any reply,
On 21/01/2008 at 07:24, xxxxxxxx wrote:
Creating hair object and material is simple enough, just use AllocObject(Ohair) and AllocMaterial(Mhair). Accessing the gradient and the function graph (i guess you mean the spline control) is almost impossible in COFFEE though because the SplineData and Gradient classes are missing in COFFEE and can not access them dynamically (their control number may change).