Toolbox
Mogre Wiki Tutorial Framework - Other Uses
This page contains additional information for advanced users or anyone who is not using the framework with the tutorials.

No Startup Window

If you find the configuration window annoying and would like your application to start immediately, you can set the engine configuration programmatically by overriding the Configure method:

protected override bool Configure()
{
    // Setup RenderSystem by code
    RenderSystem rs = mRoot.GetRenderSystemByName("Direct3D9 Rendering Subsystem");
    rs.SetConfigOption("Full Screen", "No");
    rs.SetConfigOption("Video Mode", "800 x 600 @ 32-bit colour");
    rs.SetConfigOption("FSAA", "0");      // anti aliasing factor (0, 2, 4 ...)
    mRoot.RenderSystem = rs;
    mWindow = mRoot.Initialise(true, "TutorialApplication Render Window");
    return true;
}


More options you find on the page RenderWindowParameters.

NOTE: If you use this technique the application window might not recieve focus on startup, which would prevent you from moving the camera around with the mouse. If that happens, all you need to do is click on the render window when it appears to give it focus.