Hi Alessandro, i am also very new to Away3D, but your idea make sense, i will give it a try, hope i can fix it. Thanks very much.
On 3月2日, 下午7时14分, Alessandro Bianco <[email protected]> wrote: > hi iiley, > i had the same problem yesterday, while i was trying to use Broomstick > for some augmented reality > > I solved it by creating a new renderer (BitmapRenderer) wich, after > rendering the content call drawToBitmapData on the Context3d just > before calling the present method. > > In this way you can output the backbuffer to a bitmapdata, then i > figured that playing with the threshold method you can make it > transparent. > > My solution it's not clean nor beautiful (extending the default > renderer was a bit tricky) so i'm not gonna share the code right now, > but you get the idea i hope :) > > Bianco Alessandro > > 2011/3/2 Michael Iv <[email protected]>: > > > > > > > > > Hi iiley .You can't bring the content of Stage3D to the front in a regular > > way because it resides on a different level from stage which is ALWAYS > > behind it. That is the architecture of Molehill Flash Player.Is there a > > solution ? I don't know. One thing I can think about is to render the 3d > > view to a bitmapdata (if it is possible )and then put it at whatever depth > > you need in the regular stage. > > > On Wed, Mar 2, 2011 at 12:45 PM, iiley Chen <[email protected]> wrote: > > >> Hi, > > >> After some experiences, i realize that the Stage3D is under normal > >> DisplayObjects, but my project need to view the 3D content in front of > >> them. > >> I tried to do this: > >> add a bitmap in front of my other objects. > >> Then after view.render() > >> call > > >> Stage3DManager.getInstance(stage).getStage3DProxy(0).context3D.drawToBitmap > >> Data(canvas.bitmapData); > > >> But there is no effect. > >> Any help will be appreciated. > > > -- > > Michael Ivanov ,Programmer > > Neurotech Solutions Ltd. > > Flex|Air |3D|Unity| > >www.neurotechresearch.com > >http://blog.alladvanced.net > > Tel:054-4962254 > > [email protected] > > [email protected]
