Stefan Dachwitz wrote:
>
> Hello Joerg,
>
> I wasn't able to find keyboard navigation in the examples you
> mention. Is there something wrong with my eyes?
> I downloaded the course notes, and I couldn“t find anything
> but keyboard modifiers to increase speed.
> I would be glad if you could point
Hello Joerg,
I wasn't able to find keyboard navigation in the examples you
mention. Is there something wrong with my eyes?
I downloaded the course notes, and I couldn“t find anything
but keyboard modifiers to increase speed.
I would be glad if you could point me to it!
Cheers,
Stefan
Joer
As far as I know sun's standard key navigation behavior uses
3 wakeup criteria keypressed, keyreleased and on elapsedframes(0)
and IMHO the elapsedframes(0) is responsible fo the cpu usage.
Take a look at David Nadeau's Course on Java3D
http://www.sdsc.edu/~nadeau/Courses/VR99/
in the examples
PROTECTED]
Subject: [JAVA3D] CPU Utilization with KeyNav Behaviors
I've got a simple program that uses the standard KeyNavigatorBehavior
stuff,
but as soon as the code for implementing this is added, cpu usage when
the
program runs jumps to 100% and stays there, whether I'm moving around
Hi I experienced the same problem some time ago, when I tried to use the
KeyNavigatorBehavior, I ended in using the MouseNavigatorBehaviors which
were working fine, I am interested in a solution as well. Thanks Desiree
oo
|
Iain,
usuallu when the cpu usage is 100% is dosent mean that the performance is
degraded, all that happens is that the j3d rendering mechanisem takes full
use of your resources even if it dosent use them.. you can try setting
framerate by setMinimumFrameCycleTime() in your View object.
Ben Arbel
I've got a simple program that uses the standard KeyNavigatorBehavior stuff,
but as soon as the code for implementing this is added, cpu usage when the
program runs jumps to 100% and stays there, whether I'm moving around the
scene or not.
Is there a way to stop this?
To be honest I don't actual