i've noticed that blitting doesnt work without a world. is this intentional ? if so i can live with a dummy empty world.
i've planned to use that for blitting menu
this works as expected
buffer.clear(Color.BLACK);
world.renderScene(buffer);
world.draw(buffer);
world.drawWireframe(buffer, Color.WHITE);
buffer.update();
// blit something
buffer.displayGLOnly();
but this does not
buffer.clear(Color.BLACK);
// blit something
buffer.displayGLOnly();
It's a kind of design flaw of the gl renderers that exists from the beginning and that i still couldn't get rid of in a satisfying manner. It's documented in the description of blit as well. Actually, it's sufficient if you do this world.renderScene...buffer.update-cycle once before blitting.
i've uploaded a version of jPCT (http://www.jpct.net/download/beta/jpct.jar (http://www.jpct.net/download/beta/jpct.jar)) and AE (http://www.jpct.net/jpct-ae/download/alpha/jpct_ae.jar (http://www.jpct.net/jpct-ae/download/alpha/jpct_ae.jar)) that should not need this anymore. Maybe you can give it a try and report back!?
thank you, the desktop version just blits ok now ;D i dont have a menu in AE so i cant test it now. i'll report when i have one