I'm working on a scene where I have to use removeChild(int index). According
to the spec this doesn't work on a compiled BranchGroup. This seems to be
true, my scene freezes when the removeChild method is called. By commenting
out the BranchGroup.compile() command my scene functions correctly. I did
however expect a dramatic performance loss, but can't notice any difference.
I've been compiling my BranchGroups from the beginning under the assumption
that this was required, or at least improves performance.
Can someone explain what the compile() method really accomplishes? Does it
improve performance? What can I expect to happen if I don't use it? Is there
some rule of thumb for when it should and shouldn't be used?
One comment....... I'm working on a very slow computer by today's standards
(P-100) is it possible that my performance is already so poor that I won't
notice a performance loss?
Don Casteel
Manufacturing Engineer
TEXTRON Automotive Company -- Athens Operations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Voice: (423)744-1109
Fax: (423)744-1112
Pager: (423)744-1129 -- 109
Internet: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
===========================================================================
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".