Im afraid it did not work Fabrice. I am using Dennis exporter. When I made that change, the texture was still being applied to the inside faces of the cube and also this time it wasnt even the correct part of the texture image being mapped to each face.
Also, do I need to set "bothsides = true" to the mesh in away3d? I tried that, and at least the outside faces now have a texture although it is still the wrong uv mapping. Ive read that you should not use bothsides as it reduces performance but not sure if I need it to overcome this problem. Any thoughts? On Feb 1, 8:50 am, Fabrice3D <[email protected]> wrote: > if you use Dennis exporter, > just modify this > > var face:Face = new Face( ve[vertexIndex1], ve[vertexIndex2], ve > [vertexIndex3], null, new UV(uv00, uv01), new UV(uv10, uv11), new UV > (uv20, uv21) ); > > by > > var face:Face = new Face( ve[vertexIndex1], ve[vertexIndex2], ve > [vertexIndex3], null, new UV(1-uv00, uv01), new UV(1-uv10, uv11), new UV > (1-uv20, uv21) ); > > and it should work. > > Fabrice > > On Feb 1, 2010, at 12:58 AM, jonny wrote: > > > > > var face:Face = new Face( ve[vertexIndex1], ve[vertexIndex2], ve > > [vertexIndex3], null, new UV(uv00, uv01), new UV(uv10, uv11), new UV > > (uv20, uv21) );- Hide quoted text - > > - Show quoted text -
