public virtual void CreateViewports()
{
Debug.Assert( window != null, "Attempting to use a null RenderWindow." );
// create a new viewport and set it's background color
viewport = window.AddViewport( camera, 0, 0, 1.0f, 1.0f, 100 );
viewport.BackgroundColor = ColorEx.Black;
}