do it via
.materialLibrary.getMaterial("materialName").naterial=yourmaterialOn Thu, Jun 24, 2010 at 12:13 PM, Yağız <[email protected]> wrote: > Hi, > > in FP10 version of Away3D we can't set materials in Collada.parse() > method. In FP9 we could do that. > > Example: > var mat:ColorMaterial = new ColorMaterial(0xFF0000); > Collada.parse(model_str,{material:mat}); > > This works in FP9 version of Away3D, but doesn't work in FP10 version > of Away3D. -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
