it seem to be issue, can you add this to issue list? plz i'll take a look on that later http://code.google.com/p/away3d/issues/list in the mean time, you can try canvas while wait
eg http://away3d.googlecode.com/svn/branches/lite/bin/TestDestroyPlane.swf http://away3d.googlecode.com/svn/branches/lite/bin/ExCanvas.swf more http://away3d.googlecode.com/svn/branches/lite/bin/ src+lib http://away3d.googlecode.com/svn/branches/lite/ canvas = layer with z-order, i think (hopefully) it should not alpha issue there in branches hth On 2 February 2011 00:40, John Brookes <[email protected]> wrote: > Definately no alpha until camera goes negative. > > Bg example no index swapping > > http://www.shrewballooba.co.uk/blog/wp-content/uploads/2011/02/away3DLiteExamples2.swf > > > Yeah that example I swap the index on each layer, but even if thats > commeted out still no alpha until you rotate > Canvas ? how? > > if (camera.z > 0) > { > view.setChildIndex(alphaLayer, 3); > view.setChildIndex(backgroundLayer, 2); > } > else > { > view.setChildIndex(alphaLayer, 2); > view.setChildIndex(backgroundLayer, 3); > } > > > Also just noticed if I dont have bothsides then only the bakgroundlayer > gets put in _graphicsDatas[_material_graphicsData] > > //basic code > backgroundplane = new Plane(new BitmapMaterial(Cast.bitmap(imgAsset))); > backgroundplane.rotationX = 90; > backgroundplane.z = 40; > backgroundplane.bothsides = true; > scene.addChild(backgroundplane); > > backgroundLayer = new Sprite(); > backgroundLayer.name = "bg" > view.addChild(backgroundLayer); > > backgroundplane.layer = backgroundLayer; > //backgroundLayer.filters = [new BlurFilter(8,8)] > > > var alphaplane:Plane = new Plane(new WireColorMaterial()); > alphaplane.z =-1 > alphaplane.rotationX = 90; > alphaplane.bothsides = true; > scene.addChild(alphaplane); > > alphaLayer = new Sprite(); > alphaLayer.name = "alpha" > view.addChild(alphaLayer); > > alphaplane.layer = alphaLayer; > alphaLayer.alpha = 0.8; > > -- Regards ----------------------------------------------------------- Todsaporn Banjerdkit, katopz, http://sleepydesign.com Away3DLite and JigLibFlash Developer Team
