What steps will reproduce the problem?
var lMaterialsList:MaterialsList = new MaterialsList();
var fmat:PhongMaterial = new PhongMaterial(light, 0xffffff, 0x000000, 20);
var bmap:BitmapMaterial = new BitmapFileMaterial("dino_texture_low.jpg");
var shbp:ShadedMaterial = new ShadedMaterial(bmap, fmat);,
lMaterialsList.addMaterial (shbp, "dino_texture_low.jpg");
this.mCollada = new Collada("dino.dae", lMaterialsList);
What is the expected output? What do you see instead?
A Shaded Model.
1067: Implicit coercion of a value of type
org.papervision3d.materials.shadematerials:PhongMaterial to an unrelated
type org.papervision3d.materials.shaders:Shader.
Original issue reported on code.google.com by drag...@gmail.com on 14 Aug 2009 at 8:25
Original issue reported on code.google.com by
drag...@gmail.com
on 14 Aug 2009 at 8:25Attachments: