I’m writing an Eclipse RCP application. Within this application I use a jMonkey Canvas. Now, I’m trying to change the camera position from outside the jMonkey rendering thread without any effect. It seems the canvas isn’t redrawing but if I click into my jMonkey canvas and just move the mouse a little bit then camera jumps to the correct postion.
The following code is executing by a Callable via SimpleApplication.enqueue
cam.setFrustumPerspective(fovY, settings.getWidth() / settings.getHeight(), 1, 1000);
It is possible to force redrawing the canvas? I tried to called update and redraw methods on the Canvas object and its parents and the update method of the SimpleApplication but without success.