Hi !
Just some well know tips :
- take deep look in the performace tips at www.j3d.org 
 
and:
 
* Keep textures as squares with the size in  power of 2. ie, 64x64, 128x128, 256x256, 512x512 etc.
* Try smaller textures, if they have quality enough, of course. Use 128x128 instead of 256x256, 256x256 instead 512x512, etc.
* Check if your Scene have a performance design, i.e, a minimal number of T3D and TGs, boundings with just-enough-size, force cull-back in your Appearance, as well share your Appearances as you can, ; 
 
*  Keep the geometries with the enough number of points. Excessive number of nodes/polygons can put any system in the knees, even powerfull systems like yours. Some imported 3D geometries can easily archive 20.000 nodes when 500-1000 nodes do the job. In this case use your 3D editor Polygon Reducer's tool.
 
* look for "hot points" in your code, (not easy in Java3D), places where your app spend more CPU cicles.
 
That is.
Alessandro Borge
 
 
----- Original Message -----
Sent: Thursday, June 20, 2002 11:46 PM
Subject: [JAVA3D] Performance Experience

My application runs really slow with my current scene.  When I removed textures, I went from < 10 fps to ~30 fps.   When I killed a lot of geometery but added some textures, I went to ~60 fps.  That's with no atmospherics and no lights and no sound.
 
My system sure should be able to handle this:
 
Dual Athlon MP 1700+
512 MB Ram
ATI Radeon 7000 (64 mb vid ram)
JDK 1.4
Java3d 1.3 beta 2
WindowsXP Pro
 
Any Ideas why this would run so slow?  I don't think I have any thread blocking/locking or otherwise obviously bad code.
 
Thanks
Chad Zalkin

Reply via email to