You could load your obj in Prefab, scale it -1, and use the revertFaces 
fonction from menu, and export as as3 or awd.
You then import the awd exact same way as you do for your obj file, except you 
use the AWData instead of Obj.
Using the AS3 export, just import this class and scene.addChild(new myClass());

In Away via code, if you do not want to use Prefab, you can after your scale 
-1, use Mesh.revertFaces();

Fabrice

On Aug 28, 2010, at 5:22 PM, Michael Klostermann wrote:

> Hi all,
> 
> i have a problem with backface culling not working as expected.
> 
> I ran into this problem because i needed to load an obj file. After
> the loading the object is perfectly rendered but the model is mirrored
> on the zy-plane. In order to fix this i tried mesh.scaleX = -1. Now
> the rendered model shows only backfaces. Setting bothsides to true
> does not work well for performance and other reasons.  So i think i
> would need to find out a way to mirror an object along the zy-plane
> without using scaleX = -1. I do not know very much of the internals of
> away3d. In opengl i would think that backface culling uses normals.
> Flipping those would work in theory but i have not found a way to do
> this in away3d. Does someone have a solution to this?
> 
> I also created an issue on google code for this since it does occur
> also on actionscript created objects:
> http://code.google.com/p/away3d/issues/detail?id=129
> 
> cheers,
> Michael

Reply via email to