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]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to