Hi, I have some strange problems with the effects.glsl tests. They crash or work incorrectly if I run them as is, from the latest CVS. (updated today)
BUT they all work correctly if I change app.setDialogBehaviour() from ALWAYS_SHOW_PROPS_DIALOG to something that doesn't ask for settings
How can this be? It looks as if it runs using the same resolution so I guess the other settings are also the same. :? The same demos work as intended from the homepage despite showing the same dialogbox.
And while on the topic of DialogBehaviour, perhaps some lower resolutions could be added? The lowest one I can pick is 1920x1024@53hz I have 2 monitors both running at 1280x1024@75Hz using twinview, and while I do enjoy dual fullscreen I would like to run things at 800x600 windowed sometimes. Also the refresh-rate is all wrong, both screens use 75Hz, but my only choices are 1920x1024@53Hz, 2080x1024@52Hz, 2304x1024@51Hz and 2560x1024@50Hz.
This is the log from TestBloom
2007-aug-22 12:33:35 com.jme.renderer.lwjgl.LWJGLTextureRenderer <init>
INFO: FBO support detected.
2007-aug-22 12:33:35 com.jme.renderer.lwjgl.LWJGLTextureRenderer initCamera
INFO: Init RTT camera
2007-aug-22 12:33:35 com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
2007-aug-22 12:33:35 com.jme.renderer.lwjgl.LWJGLTextureRenderer setupTexture
INFO: setup tex with id 2: 480,256
2007-aug-22 12:33:35 com.jme.renderer.lwjgl.LWJGLTextureRenderer setupTexture
INFO: setup tex with id 3: 480,256
2007-aug-22 12:33:35 com.jme.renderer.lwjgl.LWJGLTextureRenderer setupTexture
INFO: setup tex with id 4: 480,256
2007-aug-22 12:33:35 com.jme.scene.state.lwjgl.shader.LWJGLShaderUtil updateUniformLocation
ALLVARLIG: Shader uniform [blurIntensityMultiplier] could not be located in shader
2007-aug-22 12:33:35 com.jme.scene.state.lwjgl.shader.LWJGLShaderUtil updateUniformLocation
ALLVARLIG: Shader uniform [sampleDist0] could not be located in shader
2007-aug-22 12:33:35 com.jme.scene.state.lwjgl.shader.LWJGLShaderUtil updateUniformLocation
ALLVARLIG: Shader uniform [RT] could not be located in shader
2007-aug-22 12:33:35 class jmetest.effects.glsl.TestBloom start()
ALLVARLIG: Exception in game loop
org.lwjgl.opengl.OpenGLException: Invalid operation (1282)
at org.lwjgl.opengl.Util.checkGLError(Util.java:53)
at org.lwjgl.opengl.Display.swapBuffers(Display.java:591)
at org.lwjgl.opengl.Display.update(Display.java:609)
at com.jme.renderer.lwjgl.LWJGLRenderer.displayBackBuffer(LWJGLRenderer.java:514)
at com.jme.app.BaseGame.start(BaseGame.java:85)
at jmetest.effects.glsl.TestBloom.main(TestBloom.java:84)
2007-aug-22 12:33:35 com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
2007-aug-22 12:33:35 com.jme.app.BaseGame start
INFO: Application ending.