I'm getting images from an XML file that I parse into an array and
apply them to a plane using this code I found:
for (var i:int = 0; i < images.length; i++) {
var plane:Plane = new Plane({material:{bitmap:images[i]} });
}
But it looks like I need to smooth the material but can't get the
right code.
This gives me a white plane (no bitmap) and comes the closest since no
error:
var material:BitmapFileMaterial = new BitmapFileMaterial( images[i] )
as BitmapFileMaterial;
var plane:Plane = new Plane({material:material});
Also:
plane.material.smooth gives me an error.
Any ideas to try out?
thanks