Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/03/2010 at 09:32, xxxxxxxx wrote:
User Information: Cinema 4D Version: 11.5 Platform: Windows ; Language(s) : C.O.F.F.E.E ;
--------- Hello , I'm needing to apply an Hair material to an object but I can only apply a c4d material :S . ( in fact I don't find any sdk example about Hair )
could you give me the class / members to use please ?
thanks
clement
On 02/03/2010 at 01:49, xxxxxxxx wrote:
COFFEE or C++?
cheers, Matthias
On 02/03/2010 at 01:54, xxxxxxxx wrote:
Hi Matthias ,
Coffee sorry
On 02/03/2010 at 02:02, xxxxxxxx wrote:
Do something like this:
var mat = AllocMaterial(Mhair); //create Hair material doc->InsertMaterial(mat, NULL); //insert into document var ht = AllocTag(Thairmaterial); //create Hair material tag op->InsertTag(ht, NULL); //attach to Hair object ht#HAIRMATERIAL_TAG_LINK = mat; //set the material link
On 02/03/2010 at 02:10, xxxxxxxx wrote:
ha thanks Matthias . ok I was missing the "Mhair" and "Thairmatrial"
cheers clem