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
