Best practice for texturing a mesh?

Software: Away3D 4.x

varDacha, Newbie
Posted: 19 November 2012 05:53 PM   Total Posts: 18

Im a bit confused with the number of ways to texture a mesh..

So, applying texture on loaded mesh in Away4x for rookie:

var texture:TextureMaterial;

I should best use:

texture = new TextureMaterial(new BitmapTexture(image));

texture = new TextureMaterial(new BitmapTexture(image).bitmapData);

texture = new TextureMaterial(Cast.bitmapTexture(image));

texture = TextureMaterial(e.asset) as TextureMaterial;
?

ATF is a must, I know, but just wanted to deal with this question first.
Im using Flash cs6 with FD.
Thanks very much

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X