I just noticed that the textures are all inverted , not just that,
the model itself is inverted. The left hand side of the room is on the
right and visa versa?
I used some code from the examples branch to load the model:
var loader:Loader3D = Obj.load("room/vodaroom_2010.obj",
{autoLoadTextures: true, scaling:2, y:0, x:0, z:0, loadersize:300,
rotationX:0});
view.scene.addChild(loader);
Is there some setting I can apply to switch the model back around?
On Apr 20, 12:06 am, tictox <[email protected]> wrote:
> Hi All
>
> Eventually started learning some Away3D today again ;)
>
> I had a problem with my textures not loading with any OBJ files I
> tried that I have had had working in Alternativa before this .. so I
> updated my svn and am using the fp10 branch and still no luck so I
> decided to dig into the code and trace everything until I found out
> something and tracked it done to Loader3D class line 115 :
>
> if (_materialData.materialType == MaterialData.TEXTURE_MATERIAL && !
> _materialData.material)
>
> I removed the second condition in this if statement - "!
> _materialData.material" If you trace this variable it has a value of
> "[object WireColorMaterial]".
>
> Now all my OBJ files load just fine.
>
> any ideas what is going on here.?
>
> --
> Subscription
> settings:http://groups.google.com/group/away3d-dev/subscribe?hl=en