oh I am not using the latest. coz when I tried the latest mouseOver event is not working, the object doesn't catch mouse over event, it is not even highlighted. So I fall back to revision 680 something..
Ronald On Sep 25, 3:49 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > > Also try pushfront/pushback, it doesn't seem to affect anything. > > are you using the latest trunk? there should definitely be a difference. > Let me know > > Rob > > > > On Thu, Sep 25, 2008 at 5:21 PM, ron <[EMAIL PROTECTED]> wrote: > > > Originally, I only set ownCanvas to true right before I am going to > > add the filter, and when the mouse is out, i set ownCanvas to false > > again. Also, I set to use Renderer.CORRECT_Z_ORDER to fix the z- > > sorting issue for the whole model. > > > But when I try setting all objects' ownCanvas to true no matter what, > > it will behave as if it is using Renderer.BASIC, which means I will > > have the z-order issue again all the time. True, setting all ownCanvas > > to true will fix the highlighting issue. > > > Also try pushfront/pushback, it doesn't seem to affect anything. > > > Ronald > > > On Sep 25, 9:00 am, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > > > does the cube underneath have ownCanvas = true? I would try that first. > > > otherwise, have you experimented with pushfront/pushback? these are > > > properties that can adjust the sorting of triangles on a per-object > > basis. > > > pushfront takes the closest point to the camera as it's z-index, pushback > > > the farthest > > > > let me know how you get on > > > > Rob > > > > On Thu, Sep 25, 2008 at 3:59 PM, ron <[EMAIL PROTECTED]> wrote: > > > > > Rob, > > > > > I don't see option to upload stuff in google group here.. > > > > I am going to send a screen shot of my flash app to your email to show > > > > you the problem. It is showing 2 cubes, one on top of another. and > > > > when I move my mouse over to the top cube, it is highlighted by a glow > > > > filter. But the top face of the cube under it will show!! That's the > > > > problem. > > > > > thx. > > > > Ronald > > > > > On Sep 25, 2:32 am, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > > > > > Hey ron > > > > > > it would help if we could see what you were trying to accomplish - > > there > > > > > might be other ways of getting the effect you are after. Can you send > > a > > > > > sample over? > > > > > > cheers > > > > > > Rob > > > > > > On Thu, Sep 25, 2008 at 1:47 AM, ron <[EMAIL PROTECTED]> wrote: > > > > > > > ok. it seems that I have no choice but to disable my highlight > > > > > > feature.. > > > > > > > thx. > > > > > > Ronald > > > > > > > On Sep 24, 5:28 pm, "Rob Bateman" <[EMAIL PROTECTED]> wrote: > > > > > > > The problem is not really a fixable one. ownCanvas stops two > > objects > > > > from > > > > > > > being z-sorted at a triangle level, it's as simple as that. > > > > > > > > Rob > > > > > > > > On Wed, Sep 24, 2008 at 11:53 PM, ron <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > Any plan to fix this problem in Away3D, is it even fixable? > > > > > > > > > thx > > > > > > > > Ronald > > > > > > > > > On Sep 22, 9:19 am, ron <[EMAIL PROTECTED]> wrote: > > > > > > > > > thx, this helps. I will see what I can do.. > > > > > > > > > > Ronald > > > > > > > > > > On Sep 22, 3:15 am, "Rob Bateman" <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > > > Hey Ron > > > > > > > > > > > the problem you're experiencing here is the combined effect > > of > > > > > > using > > > > > > > > > > ownCanvas and CORRECT_Z_ORDER together. > > > > > > > > > > > ownCanvas works by rendering the contained objects and > > > > triangles > > > > > > inside > > > > > > > > a > > > > > > > > > > separate sprite objects that is in turn z-sorted into the > > rest > > > > of > > > > > > the > > > > > > > > scene. > > > > > > > > > > The issue with this is that z-sorting an the object with > > > > ownCanvas > > > > > > is > > > > > > > > now > > > > > > > > > > restricted to a single z-depth value, calculated from the > > > > objects > > > > > > xyz > > > > > > > > > > position in the scene. Using CORRECT_Z_ORDER on the scene > > will > > > > not > > > > > > > > correct > > > > > > > > > > z-sorting problems that occur between oanCanvase'd objects, > > > > because > > > > > > > > these > > > > > > > > > > are represented in the scene by one z-depth value each - > > and > > > > > > beside, > > > > > > > > the > > > > > > > > > > triangles in each ownCanvas objects physically cannot be > > > > > > independently > > > > > > > > > > z-sorted because they are inside different Sprite objects! > > > > sorting > > > > > > can > > > > > > > > still > > > > > > > > > > occur within the object, but not inter-object bar the > > simple > > > > single > > > > > > > > z-depth > > > > > > > > > > values that now represent ownCanvas objects. > > > > > > > > > > > if you are experiencing sorting problems with ownCanvas'd > > > > objects, > > > > > > > > > > correction can be made is by juggling the xyz values of the > > > > > > objects, in > > > > > > > > > > order to sort the ownCanvas Sprites in the correct order. > > > > > > > > > > > hth > > > > > > > > > > > Rob > > > > > > > > > > > On Mon, Sep 22, 2008 at 4:14 AM, ron <[EMAIL PROTECTED] > > > > > wrote: > > > > > > > > > > > > I need the CORRECT_Z_ORDER just to solve the z-sorting > > issue, > > > > > > that > > > > > > > > has > > > > > > > > > > > nothing to do with highlighting.. > > > > > > > > > > > > The face of the selected cube that is overlapped with > > another > > > > > > cube > > > > > > > > > > > next to it will show once the cube is highlighted by > > applying > > > > a > > > > > > > > > > > filter.. also setting the root container's owncanvas to > > > > "true" > > > > > > > > doesn't > > > > > > > > > > > seem to solve the problem. > > > > > > > > > > > > Ronald > > > > > > > > > > > > On Sep 21, 6:31 pm, "Peter Kapelyan" < > > [EMAIL PROTECTED]> > > > > > > wrote: > > > > > > > > > > > > if you stick all the cubes inside an objectcontainer3d > > and > > > > set > > > > > > > > ownCanvas > > > > > > > > > > > to > > > > > > > > > > > > that container it might solve the problems and you > > might > > > > not > > > > > > have > > > > > > > > to use > > > > > > > > > > > > CORRECT_Z_ORDER > > > > > > > > > > > > also each cube will need ownCanvas set to true if you > > want > > > > the > > > > > > > > filters > > > > > > > > > > > on > > > > > > > > > > > > it...so you might be better of setting it to true on > > all of > > > > > > them. > > > > > > > > > > > > > On Sun, Sep 21, 2008 at 7:51 PM, ron < > > [EMAIL PROTECTED] > > > > > > > wrote: > > > > > > > > > > > > > > thx, that works. > > > > > > > > > > > > > > Now I have another problem. Once the cube is > > highlighted, > > > > > > there > > > > > > > > is a z- > > > > > > > > > > > > > sorting issue, such as the cube behind/next to it > > will > > > > > > partially > > > > > > > > > > > > > display on top of the highlighted (by glow filter) > > cube. > > > > > > > > > > > > > any idea how to fix it? I already use a > > > > > > Renderer.CORRECT_Z_ORDER > > > > > > > > to > > > > > > > > > > > > > fix the z-sorting issue I have previously. I will try > > > > other > > > > > > > > filter and > > > > > > > > > > > > > see if there is other workaround.. > > > > > > > > > > > > > > thx! > > > > > > > > > > > > > Ronald > > > > > > > > > > > > > > On Sep 21, 4:36 pm, tain <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > did you set: > > > > > > > > > > > > > > myObject.ownCanvas=true; > > > > > > > > > > > > > > > if you did, maybe you can try to create dummy > > filter > > > > array > > > > > > and > > > > > > > > set: > > > > > > > > > > > > > > myObject.filters = myFilter; > > > > > > > > > > > > > > > here is a full example of how to apply filters: > > > > > > > > > > > > >http://away3d.com/examples.php?example=32 > > > > > > > > > > > > > > > On Sep 22, 1:15 am, ron <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > I have created a 3D cube, loaded from a .dae > > file. I > > > > use > > > > > > that > > > > > > > > cube > > > > > > > > > > > to > > > > > > > > > > > > > > > "clone" a bunch of instances and put them all > > over > > > > the > > > > > > place. > > > > > > > > > > > > > > > > Then, each one them I add a mouse over listener > > to > > > > catch > > > > > > > > mouse over > > > > > > > > > > > > > > > event, and that works. > > > > > > > > > > > > > > > > And inside that mouseover callback, I try to > > apply > > > > filter > > > > > > (to > > > > > > > > > > > > > > > highlight the selected cube) on that > > "event.target" > > > > > > object > > > > > > > > (which > > > > > > > > > > > is > > > > > > > > > > > > > > > the cube) by pushing a filter to the "filters" > > array, > > > > but > > > > > > > > nothing > > > > > > > > > > > > > > > happen.. anyone knows the correct way to apply > > > > filters in > > > > > > > > this > > > > > > > > > > > case?? > > > > > > > > > > > > > > > > thx. > > > > > > > > > > > > > > > Ronald > > > > > > > > > > > > > -- > > > > > > > > > > > > ___________________ > > > > > > > > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > > > > > > > > HTTP://AWAY3D.COM > > > > > > > > > > > -- > > > > > > > > > > Rob Bateman > > > > > > > > > > Flash Development & Consultancy > > > [EMAIL PROTECTED] > > > > > > > > -- > > > > > > > Rob Bateman > > > > > > > Flash Development & Consultancy > > > > > > > > [EMAIL PROTECTED] > > > > > > -- > > > > > Rob Bateman > > > > > Flash Development & Consultancy > > > > > > [EMAIL PROTECTED] > > > > -- > > > Rob Bateman > > > Flash Development & Consultancy > > > > [EMAIL PROTECTED] > > -- > Rob Bateman > Flash Development & Consultancy > > [EMAIL PROTECTED]
