I would highly
recommend NOT REMOVING the spheres if you can avoid it. The reason is
because of the POOR garbage
collection by
Java3D....this removal and reinsertion will cost you a lot. And I speak
from experience because I wrote a program
to display a 3D
scatterplot using spheres which I would use picking on to remove and then I drew
new ones.
Especially since
you are using spheres you have no reason to remove them, because you can just
change them. You can change their
appearance/color
and change the size using scaling so you should have no reason to remove the
sphere unless you are changing from solid to wireframe or something like
that.
SO, instead of
removing, I would suggest simply MOVING the sphere to some other place away from
the main view....for example, I had a sphere at the center of the screen that
was fixed so I just moved all my other spheres inside of it and they were
hidden. But trust me,
removing and
reinserting will really hurt you when you do a lot.
Mario Mariusz Zaczek Disclaimer: "The opinions, observations and
comments expressed in my email "Failure is never quite so frightening as regret." - Cliff's wife (The Dish) =========================================================================== 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". |
Re: [JAVA3D] removing childs
ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA) Tue, 07 Oct 2003 07:32:58 -0700
- [JAVA3D] removing childs dafna gordon
- Re: [JAVA3D] removing chil... Lewis Walker
- Re: [JAVA3D] removing ... dafna gordon
- Re: [JAVA3D] remov... Lewis Walker
- Re: [JAVA3D] remov... Michael Pfeiffer
- ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)