murarinayak / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

BitMap File Material Isn't Working with Shaded Material #219

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

Attachments:

GoogleCodeExporter commented 8 years ago
I have the same

Original comment by TemoRukh...@gmail.com on 25 Oct 2010 at 9:26