Hi everyone !
Today, i updated a Away3D project developped a few month ago.
I was surprised with the bad render of the 3ds objects in the scene. The both side no longer work and rendering is not quality.
Look at the attached file to understand the issue.
At first my Flash project run with Away3D 4.1.5. I have updated to 4.1.6 but the problem persists.
//Setup Scene
_scene = new Scene3D();
_camera = new Camera3D();
_view = new View3D();
_view.antiAlias = 4;
_view.scene = _scene;
_view.camera = _camera;
_view.mousePicker = PickingType.RAYCAST_BEST_HIT;
_view.backgroundColor = 0x131313;
//Mesh setting example
mesh = Mesh(e.target.getChildAt(0));
mesh.pickingCollider = PickingColliderType.PB_BEST_HIT;
mesh.mouseEnabled = true;
mesh.shaderPickingDetails = true;
mesh.geometry.convertToSeparateBuffers();
var w:Weld = new Weld();
w.apply(mesh);
var explode:Explode = new Explode();
explode.apply(mesh.geometry);
var material:TextureMaterial = new TextureMaterial(Cast.bitmapTexture(pAmfPiece.textureDiffuseCustomBitmap));
//
material.specularMap = Cast.bitmapTexture(new SpecularMap() as Bitmap);
material.normalMap = Cast.bitmapTexture(new NormalMap() as Bitmap);
material.lightPicker = _lightPicker;
material.bothSides = true;
material.specular = 0.5;
material.gloss = 0.6;
material.ambient = 0.7;
mesh.material = material;
Thanks