At 05:07 PM 5/14/2002 -0500, you wrote: >Sorry if this is an RTF-type question, but can't seem to find any >documentation on how to reduce the amount of CPU usage an instance of >javax.media.j3d.RotationInterpolator consumes when running. I have a >situation where I want to have an Alpha-based behavior occurring while some >other processing goes on, and when the RotationInterpolator is active my CPU >is pegged, taking cycles away from the more important processing I need to >happen. > >I want to know the "best" approach to handling this. As I see it now, here >are my options: > >1) Instantiate my Canvas3D instance in a thread of lower priority, and then >make sure I run my "important" processing in a higher priority thread. >2) Subclass RotationInterpolator and change the protected member >"defaultWakeupCriterion" to an instance of WakupOnElapsedTime, overriding >the default instance of WakeupOnElapsedFrames(0). > >Both seem a little more complicated than seems necessary. Am I missing >something, or is there no "direct" solution?
Simeon, Take a look at the results of some thrashing I did on clocks and interpolators: http://www.BrockEng.com/VMech/Time/Clocks.htm and then http://www.BrockEng.com/VMech/Time/PlanJ/Clocks.htm Fred Klingener Brock Engineering =========================================================================== 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".
