Doug,
I realize that my derived class would probably not have access to
protected members of the Group class since I am not in the same package.
Otherwise, could I get some guidance concerning the best way to perform
the reordering?

For example, should I place the whole OrderedGroup in a BranchGroup,
detach it, reorder my nodes, then reattach?
Also, I noticed in the API that only BranchGroups can be added/set in a
Group when it is live/compiled.  Well, if I detach the OrderedGroup, is
it then considered to not be live?  I think my problem is that at the
top of the scene graph I perform a compile, so the OrderedGroup gets
compiled.  Is there any way to tell the OrderedGroup to not be compiled?

Can you tell I'm still desperate?  ;)

-Lee

> -----Original Message-----
> From: J. Lee Dixon
> Sent: Friday, April 20, 2001 3:42 PM
> To: 'Doug Twilleager'
> Subject: RE: [JAVA3D] Range ordering of transparent objects
>
>
> Doug,
> I am *quite* desperate about range-ordering of transparent
> objects.  I have a deadline in a little more than a month,
> and I don't see a way to complete an efficient implementation
> with the expensive operation of branchgroup detach/re-attach.
>
> Can you think of any way around this problem?  My only
> thought is to derive off of OrderedGroup, but I need the name
> of the (hopefully) protected member array of child nodes...
> am I guessing on the right track?
>
> -Lee
>
> > -----Original Message-----
> > From: Doug Twilleager [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 20, 2001 1:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JAVA3D] Range ordering of transparent objects
> >
> >
> > We have talked about adding an indirection table to the OrderedGroup
> > node to do this very thing.  Unfortunately, that doesn't help you
> > right now. :^(
> >
> > Doug Twilleager
> > Sun Microsystems
> >
> >
> > >MIME-Version: 1.0
> > >Subject: [JAVA3D] Range ordering of transparent objects
> > >To: [EMAIL PROTECTED]
> > >
> > >Yes, I'm still working on this... ;)
> > >
> > >I have it working, but it's a bit slow.  My first problem
> > was my crude
> > >sorting algorithm.  I can get around that.
> > >
> > >Now I think my problem is the slowness of moving BranchGroup nodes
> > >around in the OrderedGroup.  I thought I had heard that detaching a
> > >BranchGroup and re-attaching was very expensive.  I tried
> > searching the
> > >archives but the listserv search engine is a bit slow for me
> > right now.
> > >
> > >Since I can't just reorder the nodes in an OrderedGroup ( I
> > really think
> > >this should be included in the API ), then I am *forced*
> > into detach and
> > >reattaching BranchGroups, which means it is always going to
> > be slow for
> > >me.
> > >
> > >Does anybody know of a way to get around this problem??
> > >
> > >I expect that Group has a "protected Node[] children"
> > member.  Is there
> > >really any behind-the-scenes reason why the members of this
> > array can't
> > >be rearranged by just changing their order in the array
> > using some new
> > >function?
> > >
> > >-Lee
> > >
> > >J. Lee Dixon
> > >SAIC - Celebration, FL
> > >321-939-7917
> > >[EMAIL PROTECTED]    AOL: LeeOrlando
> > >
> > >=============================================================
> > ==============
> > >To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body
> > >of the message "signoff JAVA3D-INTEREST".  For general help,
> > send email to
> > >[EMAIL PROTECTED] and include in the body of the
> message "help".
> >
> > ==============================================================
> > =============
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body
> > of the message "signoff JAVA3D-INTEREST".  For general help,
> > send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to