Please help! Texture in model applied incorrectly

Software: Away3D 3.x

mduhagon, Newbie
Posted: 29 March 2012 01:05 PM   Total Posts: 4

Hello,

I am loading a 3ds file with away3d 3.6.

this is the code:

var max3ds : Max3DS = new Max3DS();
max3ds.centerMeshes = true;
max3ds.material = new BitmapMaterial(Cast.bitmap(Charmap));

var loader : Loader3D = new Loader3D();
loader.loadGeometry( “../resources/assets/salad_v2/salad.3DS”, max3ds );

The model loads and the texture file is applied, but it seems to be applied ‘flat’ in the shape, instead of mapping the texture file as it was defined in the 3d software.

The model is a salad bowl, I can see the different lettuce leaves and other salad parts appearing on the sides of the bowl instead of mapping to the corresponding leaves.

It’s an AR project, and here’s a screen capture with the model barely visible, it’s mostly transparent but you can see parts of the texture like I mentioned:

http://dl.dropbox.com/u/16932386/ScreenShot.png

Is there any other way I can try to load the texture to see if its applied correctly? Can this be a problem with the texture itself?

Please help, I have been fighting with this for days now, actually I’m testing with 3ds now, but I tried with collada before and can’t get the model to display correctly either.

Thanks

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X