Heya again lads. If I've loaded an OBJ and I'm supplying it a material
from my swf's library. I'm trying to smooth it with the following
code, but I'm having no luck:

---------------
var bottle_loader:Object3DLoader = Obj.load("bottle_decimated.obj",
{name:"bottle_decimated",
material:"bottle_decimated_tex_bottle_deimcated_text", scaling:0.6, x:
6, y:6, z:0, loadersize:300});

bottle_loader.addOnSuccess(onLoaderSuccess);
function onLoaderSuccess(event:Event):void {
     trace("smoothing");
         ((bottle_loader.handle as Mesh).material as BitmapMaterial).smooth =
true;
}
------------

Any suggestions on how I can get bilinear filtering going?

Ta!!


Reply via email to