I did a checkout from latest trunk of away3dlite as3 and tried my hand
at sprite3d...
mat = new BitmapMaterial((new BmpAsset).bitmapData);
var sprite3D:Sprite3D = new Sprite3D(mat);
sprite3D.x = 200;
view.scene.addSprite(sprite3D);
Creates a sprite that is the correct size of my image.. but i keep
seeing a WireColorMaterial instead?
I have also tried the bitmapmaterial on a plane and it works fine,
I also traced out fine in in around line 152 in Sprite3D.as
if (_material is BitmapMaterial) {
var bitmapMaterial:BitmapMaterial = _material as BitmapMaterial;
trace("yep");
Any Ideas?
--
To unsubscribe, reply using "remove me" as the subject.