Hi, it's very hard to help without specific info. how do you move your spheres?
i have had same problems by using the built in javax.media.j3d.PositionInterpolator.
Then i wrote a a own class (Thread) for moving objects.
 
ObjectMoving Class
1. while endpoint not reached
    2. wait a few milliseconds
    3. get the Transform3D object from object
    4. add increment to translation component (x, y ,z) of the transform
    5. set the new transfrom to the object
    6. go to 1
7. end of Thread
 
For me it worked better than the PositionInterpolator. Im sure a own class has less overhead than the PositionInterpolator class.
 
---- Original Message -----
From: Ben Logan
Sent: Saturday, February 22, 2003 1:31 PM
Subject: [JAVA3D] [JAVA 3D] Performance Issues and Flickering

Hi, I am having some serious performance problems with my 3D visualisation system. How can I improve performance and reduce flickering, the code is quite long so I wont show it here, but basically the scene renders some spheres and then re-draws them every few milliseconds in slightly different locations, the idea being that the movement of the spheres appears smooth, but it doesn’t.

Any help would be much appreciated, I can show the code if anyone feels like offering specific help:)

PS please don’t point me to Sun’s performance tuning guide, I’ve been through it a number of times.

Thanks in advance


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27.01.2003

Reply via email to