[Papervision3D] ShadedMaterial throws errors

-a- aYo at binitie.com
Mon Dec 24 15:43:55 PST 2007


Am I missing something here?

I've got this

                var _orbbitmap:BitmapFileMaterial = new 
BitmapFileMaterial('assets/dSt.jpg');
               
                var _orbPhongShade:PhongShader = new 
PhongShader(pointLight,0xffffff, 0x777777, 30);
                var _orbShadeMaterial:ShadedMaterial = new 
ShadedMaterial(_orbbitmap, _orbPhongShade,4)
               
                _orb = new Sphere(_orbShadeMaterial,100, 20,20,{x:20});

I get compiler errors pointing to a line in the ShadedMaterial class. 
Any pointer would be appreciated.

a/



More information about the Papervision3D mailing list