material property doesn’t work

Software: Away3D 3.x

Tilles, Newbie
Posted: 31 January 2012 07:59 PM   Total Posts: 1

I was trying to use the “material” init property, inside Collada.load method, but it doesn’t seem to work.

something like:

loader Collada.load("models/model.dae"{ material: new WireframeMaterial(0xff0000{thickness:1})); 

According to the API reference, this should overwrite all materials in the model.

Running into the files, I’ve found out that if you comment the line 293 inside Init.as, it work:

delete init[name]

Probably will cause some bugs though.

If anyone knows something further on this, please share!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X