My current project is using Java3D with many threads. I think we are up to about 4 now. We have a thread loading textures, one generating geometry, and another managing memory (removing invisible objects). We limit the application to about 30 FPS, but by using multiple threads (on an SMP box or not), the user can continue to navigate the scene while we work in the background. There is definately some stutter if the other threads are busy, but not enough that a user isn't willing to accept.
Java (on most major platforms) is really smart about splitting threads to different processors, so we get the advantage of scaling to larger machines. We also set some threads (like the memory thread) to a really low priority, so it never interfers with rendering. We have just ordered a dual xeon box, so that should be really nice. My understanding is that linux will treat it as a 4 processor box (even though it is only dual). We should have amazing performance for x86. Now, if only Java3D 1.3.1 beta would come out for linux [hint, hint] ;) -mike On Saturday 18 January 2003 10:46 pm, Nathan Bower wrote: > OK, I dont have SMP on my machine, and Im wondering if anyone has used > java3d on a multi-processor setup. As far as I understand J3D is written > to take advantage of MP, and XP and 2000 are supposed to be fairly good > (perhaps that should just be "better") at it. > > Is the system more responsive when rendering and loading objects for > example. Currently my program is prone to stutters - it takes about 1/4 > second to load the objects when they are running on their own. > > 1/4 second dosent sound much, but it does detract from the experience > more than you might expect. > > Any opinions? > > N > > ========================================================================= >== 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". -- Mike Pilone <[EMAIL PROTECTED]> http://www.slac.com/mpilone/personal/ GPG Fingerprint = 856C 8B36 ECF7 9156 4611 7C6B C265 05C4 162F C3B5 See http://www.slac.com/mpilone/personal/mpilone_pub_key.gpg for full key. See http://www.gnupg.org for GPG information. =========================================================================== 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".
