I need to import a .dae or .ase to Papervision (version 1.5, AS3) with working textures. I can't make the texture work with ase and ascollada doesn't work at all.
DAE.as line 239:
1067: Implicit coercion of a value of type org.papervision3d.core.proto:MaterialObject3D to an unrelated type String.
DAE.as line 794:
1119: Access of possibly undefined property material through a reference with static type org.papervision3d.core.geom:Face3D.
PHP Code:
// part of the code I used
var txt5:BitmapMaterial = new BitmapMaterial("roomCompleteMap");
txt5.oneSide = false;
txt5.smooth = false;
//---
var ob0 = new DAE(txt5, "colladaRoom.dae", 0.01);
Is there any way? I just can't make it work! Please help!