What are your OpenCollada export settings?
Have you tried checking that Bake Transforms, Triangulate and Texture
Coordinates are being exported?
Also, you can simplify your Collada embed like this:
var myObject:ObjectContainer3D = Collada.parse (TeapotMesh, { material:
TeapotUVW } );
On Mon, 08 Feb 2010 11:15:30 -0800, antoniolea <[email protected]> wrote:
I am transitioning form papervision to away3D. All the collada files
+ baked textures that used to work seems to fail on me on away3d. I
am using max 2010 with open collada plugin and using render to texture
to create the uvw image. The texture loads fine but the mapping does
not work.
It seems that the problem comes from the way I export because the
away3d's supermario demo seems to work... Any advise is GREATLY
appreciated!... :(
(original uvmap screencapture from 3ds max)
http://www.antoniolea.com/temp/screencapture.png
http://www.antoniolea.com/temp/screencapture2.png
(outcome - not uvmapped)
http://www.antoniolea.com/temp/teapot.swf
code used:
//away version 3.4
[Embed(source="assets/daeExport/teapot.jpg")]
public var TeapotUVW : Class;
[Embed(source="assets/daeExport/teapot.DAE", mimeType="application/
octet-stream")]
public var TeapotMesh : Class;
_collada = new Collada();
_model1 = _collada.parse(TeapotMesh) as ObjectContainer3D;
_model1.materialLibrary.getMaterial("Bricks_Yellow__Teapot01_-
material").material = _material;
_scene.addChild(_model1);
// assets -------------------------
collada file:
http://www.antoniolea.com/temp/teapot.DAE
uvmap file:
http://www.antoniolea.com/temp/teapot.jpg
max file:
http://www.antoniolea.com/temp/teapot.max