At least turn off the rendering while cleaning. Pasi -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Anirban Bhadore Sent: 6. syyskuuta 2002 9:14 To: [EMAIL PROTECTED] Subject: [JAVA3D] Cleaning up SceneGraph takes lot of time
Hi j3d experts, I have an issue with cleaning up of the scene graph. We have a SDI( Single document Interface) CAD viewer where while opening a cad model we clean up( basically detach the root BG from the Locale and set all the nodes to null to clear the memory) the scene graph of the previous model. This takes lot of time. So what happens is while opening even a small model it takes lot of time if the previous model was big( lakhs of geometry nodes). Profiler shows a cleaning up time as more as 70( this factor completely depends on the sizes of the previous & current model ) times than actual loading time. How can we optimize it? Should we do the clean up the previous scene graph nodes in a parallel thread without showing the previous model in the scene? hope to get some clue from you ! thanks anirban ________________________________________________________________________ ________________________________________________________ This e-mail communication and any attachments are privileged and confidential and intended only for the use of the recipients named above. If you are not the intended recipient, please do not review, disclose, disseminate, distribute or copy this e-mail and attachments. If you have received this communication in error, please notify the sender immediately by email or telephone at 20-2906193. ________________________________________________________________________ ________________________________________________________ ==========================================================================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".
