Hello dsirijus,
try this :
(mary as Mesh).material =new BitmapMaterial(new _maryDiffuseFile().bitmapData,
{ smooth:true } );
Good luck on that. :D
--
Aji Pamungkas
On Mon, Nov 22, 2010 at 7:33 PM, dsirijus <[email protected]> wrote:
> Anyone has any idea why this displays only object with wireframe, but
> not with the diffuse texture? UV's on the model seem ok, and
> everything gets embeded ok.
>
> http://pastebin.com/FXY59qj6
>
> Also, anyone knows why the .material property was removed from
> Object3D? Just curiosity.