bitmap size and Plane size

Software: Away3D 4.x

Yuliy, Newbie
Posted: 13 October 2011 03:44 PM   Total Posts: 4

Hi,
I have bitmap(tree.png), it size: 256x256, put it on scene:

var treeMat:BitmapMaterial = new BitmapMaterial(new TreeTexture().bitmapData);
tree.alphaBlending true;

var 
tree2 Plane = new Plane(treeMat256256);
view.scene.addChild(tree2); 

and I see a scale and smooth bitmap. How do receive nice bitmap right size?

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X