                 testScene.LoadXML(xmlFile);
                 // Reacquire camera, as it is part of the scene
                 cameraNode = testScene.GetChild("Camera", true);
+                camera = cameraNode.GetComponent("Camera");
                 cameraLightNode = cameraNode.GetChild("CameraLight");
+                renderer.viewports[0] = Viewport(testScene, camera);
             }
         }
     }

    cameraNode.position = Vector3(-50, 2, -50);

    cameraLightNode = cameraNode.CreateChild("CameraLight");
    cameraLight = cameraLightNode.CreateComponent("Light");
    cameraLight.lightType = LIGHT_SPOT;
    cameraLight.range = 50;
    cameraLight.color = Color(2, 2, 2);

Node@ cameraNode;
Camera@ camera;
Node@ cameraLightNode;
float yaw = 0.0;
float pitch = 0.0;
float objectangle = 0.0;
