Well, putting the pressure wasn’t my intent
I checked the second issue again and now it seems to work. We visualize software and currently switching from jme2 to jme3. For this step i’m implementing a handling to add and remove different filters dynamically and during the development process i noticed that adding a filter post processor without having one filter enabled will cause a black screen. The current implementation contains much concurrent steps. Could have been a synchronization prob. In the moment it seems to work
if i can reproduce it i’ll post it here.
The first problem is much easier to reproduce. Just have a look at the startApp-method from test.awt.TestCanvas. If you set the frame resizable, add the FilterPostProcessor and maybe a SSAOFilter, execute it and try to resize the frame, the canvas will become black. In addition i think that there is a cursor update missing after reentering the canvas. The cursor is still represented by an arrow if you quickly slowly move the mouse from outside the frame inside the canvas.
public static void startApp(){
app.startCanvas();
app.enqueue(new Callable<Void>(){
public Void call(){
if (app instanceof SimpleApplication){
SimpleApplication simpleApp = (SimpleApplication) app;
simpleApp.getFlyByCamera().setDragToRotate(true);
FilterPostProcessor proc = new FilterPostProcessor(simpleApp.getAssetManager());
proc.addFilter(new SSAOFilter());
simpleApp.getViewPort().addProcessor(proc);
}
return null;
}
});
}
Regards
Moe