I'm pretty sure the mouse events use a virtual mouse, so it works almost the same as any button (will register the button on top).
One thing is, imagine a face is alpha=0 or alpha=.001 and there is a face behind it, technically it shouldn't be rendered, but it will have to, because it would be pretty complex to figure out if it should be rendered or not depending on the alphas (or whatnot) of faces on top of them. Sorry I couldn't offer a solution, just some thoughts. -Pete On Wed, Apr 20, 2011 at 10:11 AM, Ralph B <[email protected]> wrote: > I'm trying to figure out how to use Li's suggestion for using a depth > map, but I had another thought: Mouse events don't fire from faces of > an object if they are obscured. Therefore Away3D must know when it > decides which face is under the mouse if that face is visible to the > camera. Is there a way to ask that question in AS without involving > the mouse? Maybe there is a flag somewhere that controls if a mouse > event is fired, based on if the face can be seen? > > On Apr 18, 12:25 pm, John Brookes <[email protected]> wrote: > > Just tested a plane with a sphere behind it that you cant see. > > > > trace(_viewSourceObject.source); > > in renderPrimitive Renderer.as > > And it traces the sphere whether its in basic zsort or quad. > > > > Only time it doesn't trace is when its offscreen > > > > So still stand by my random guess :) > > Could be wrong though > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
