Re: Rendering outside EventListener and program fell into dead loop
Posted by HamudHaa on Jan 21, 2024; 2:01pm
URL: https://forum.jogamp.org/Rendering-outside-EventListener-and-program-fell-into-dead-loop-tp4043262p4043272.html
Description error. Yes I will use KeyListener . How can I do it with FPSAnimator ? I've seen a post on stackoverflow that he stops the animator first and then changes the framerate , and starts the animator again . In my case I want to call the display function every tick my finger hasn't been released from the button . And when I do nothing to keyboard , it should render the scene with a low framerate like around 1~2, or completely ceased . I would think FPSAnimator not a good choice to do it .