John, thanks for testing this, and for your suggestions.  We had 'played' with smaller geometries, and as you suggested, reduced the sphere's number of divisions to four. The improvements are less than hoped for.
 
The test program was just test code to make it easier for others to help me out.  We're getting poor performance from our own geometry, and had hoped for about 2000 shapes in a scene?
 
Thanks,
Geoff.
----- Original Message -----
Sent: Tuesday, April 10, 2001 6:59 PM
Subject: Re: [JAVA3D] Performance Problem: Creating Scene Graph and RotationBy Mouse

Hi,
   I've just compiled your test program (I had to remove the Borland import). All I can suggest is that you reduce the divisions in the Sphere constructor to something like 4 and introduce a higher "resolution" by using LOD (Level of Detail). It may also be worth noting that if this is what you will be displaying then you could aproximate the central "rings" to toroids at a lower resolution.

To answer your question though, I don't think you're doing anything wrong, it IS slow with 2000 spheres.

-John-

Geoff Morris wrote:

Hi: I've attached example code that generates and displays about 2000 spheres (I've tried ColorCubes). Creating the scene graph, and rotating by mouse is very slow, and it's really unusable. It may be that my PC is incapable of better performance, but I'm hoping someone can see something that I'm doing wrong, or can offer a suggestion that may help improve the performance. Thanks,Geoff.   

Reply via email to