It looks like you may have to apply that material manually, and use a
TransformBitmapMaterial
var mat:TransformBitmapMaterial =
newTransformBitmapMaterial(bitmapFromOldMAterial,
{repeat:true,scaleX:.1, scaleY:.1});
I could be wrong about this, but it's the only thing I could think of.
-Pete
On Wed, Jul 29, 2009 at 11:55 PM, ZY <[email protected]> wrote:
>
> Hi,
>
> I am using away3d to load a Collada model which I created from Google
> Sketchup. This Collada model uses an external image for its texture.
> However the texture did not load properly. I have attached a
> screenshot in the following link
>
> http://www.flickr.com/photos/40940...@n02/3770456921/
>
> On the left is the screenshot I took from Sketchup (what is it
> supposed to look like) and on the right is the screenshot from the
> Flash Player. As can be seen, the texture image is distorted and did
> not spread itself across the surface.
>
> The code snippet that was used to read in the Collada model is as
> follows:
> itemLoader= Collada.load("table1/models/table1.dae",{scaling:1.5});
> scene.addChild( itemLoader );
>
> Appreciate it if I could have any advice on how this could be solved,
> thank you!
>
>
--
___________________
Actionscript 3.0 Flash 3D Graphics Engine
HTTP://AWAY3D.COM