Hi,
How do I enable multi sampling, I read something about display.SetMinSamples(samples) and that it must be called before the creation of the window. How?
Have a look at BaseSimpleGame's initSystem:
display = DisplaySystem.getDisplaySystem(properties.getRenderer());
display.setMinDepthBits(depthBits);
display.setMinStencilBits(stencilBits);
display.setMinAlphaBits(alphaBits);
display.setMinSamples(samples);
/** Create a window with the startup box's information. */
display.createWindow(properties.getWidth(), properties.getHeight(),
properties.getDepth(), properties.getFreq(), properties
.getFullscreen());
You'll notice how setMinSamples comes before createWindow. If you are extending SimpleGame or SimplePassGame, you can simply set the above variables to your desired value in the Constructor.
Eg:
public MyGame() {
samples = 2;
}
that setting and some more would be good for the startup props dialog
True… I actually exposed those props after the prop dialog was done, which is why they aren't in there.
cool…it's on the menu at least 8)
Thanks alot!