thx Rob for your answer. i'll think about it, but for now i changed my approach. thx for all this work...
Do On 7 juil, 16:04, Rob Bateman <[email protected]> wrote: > Hey do rinal > > layering is something that is very important in the 3.6 engine, but as > richard says, not quite such an issue in 4.0 where teh GPU z-buffer handle > all sorting duties on a per-pixel approach. > > Of course, there are still use cases where layering might be useful (the one > i can think of is where you want to apply displaylist effects such as > filters and transparency to a single foreground 3d object) but these need to > be entirely rethought in terms of the GPU layer. while is it possible to > render layers such as these, the GPU hates drawing to anything other than a > stage3d layer, which by definition is an immoveable layer at the back of all > displaylist content. It is possible to render the output of the GPU to a > bitmapdata object, but there is a significant performance hit associated > with this method which relegatesthis approach to the exception rather than > the rule > > If you can think of a scenario where you would want to use layers in a 3d > scene, please let us know! This will help identify the best approach for > implementing layers in a future update, or if it is even needed at all > > cheers > > Rob > > > > > > > > > > On Wed, Jul 6, 2011 at 9:22 AM, do rinal <[email protected]> wrote: > > Thank you for your answer. I tried to find the best way to create a > > background for my scene (a plane facing the camera look like the > > solution). I wanted to put this plan on a different layer to avoid > > camera movement, light... properly. > > thx again, > > > On 5 juil, 18:22, richardolsson <[email protected]> wrote: > > > Not really. Molehill uses a proper Z-buffer, so the problems that used > > > to exist with z-fighting and that was most easily resolved by putting > > > 3D objects on different layers no longer exist. What are the problems > > > that you would want to solve with layering? Explaining that might help > > > us understand what you really need. > > > > Cheers > > > /R > > > > On Jul 5, 6:03 pm, do rinal <[email protected]> wrote: > > > > > Hello, > > > > Is there a solution for layering in broomstick ? > > > > thx > > -- > Rob Bateman > Flash Development & Consultancy > > [email protected]
