Example #1
0
        public BridgesScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1      = new Sky(demo, 1);
            quadInstance1     = new Quad(demo, 1);
            cursorInstance    = new Cursor(demo);
            shotInstance      = new Shot(demo);
            car1Instance1     = new Car1(demo, 1);
            bridge1Instance1  = new Bridge1(demo, 1);
            bridge1Instance2  = new Bridge1(demo, 2);
            ragdoll1Instance1 = new Ragdoll1(demo, 1);
            camera1Instance1  = new Camera1(demo, 1);
            lightInstance     = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            camera1Animation1Instance1 = new Camera1Animation1(demo, 1);
            camera1Draw1Instance1      = new Camera1Draw1(demo, 1);
        }
Example #2
0
        public BuildingScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1       = new Sky(demo, 1);
            quadInstance1      = new Quad(demo, 1);
            cursorInstance     = new Cursor(demo);
            shotInstance       = new Shot(demo);
            plant2Instance1    = new Plant2(demo, 1);
            building1Instance1 = new Building1(demo, 1);
            car1Instance1      = new Car1(demo, 1);
            ragdoll3Instance1  = new Ragdoll3(demo, 1);
            box1Instance1      = new Box1(demo, 1);
            lamp1Instance1     = new Lamp1(demo, 1);
            lamp1Instance2     = new Lamp1(demo, 2);
            camera2Instance1   = new Camera2(demo, 1);
            lightInstance      = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            lamp1Animation1Instance1   = new Lamp1Animation1(demo, 1);
            lamp1Animation1Instance2   = new Lamp1Animation1(demo, 2);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }
Example #3
0
        public TerrainWithWaterScene(Demo demo, string name, int instanceIndex, string info)
        {
            this.demo = demo;
            this.name = name;
            this.instanceIndexName = " " + instanceIndex.ToString();
            this.info = info;

            // Create a new objects in the scene
            skyInstance1          = new Sky(demo, 1);
            cursorInstance        = new Cursor(demo);
            shotInstance          = new Shot(demo);
            terrainInstance1      = new Terrain(demo, 1);
            lakeInstance1         = new Lake(demo, 1, 8, 8);
            defaultShapesInstance = new DefaultShapes(demo);
            columnInstance1       = new Column(demo, 1);
            columnInstance2       = new Column(demo, 2);
            pierInstance1         = new Pier(demo, 1);
            ragdoll2Instance1     = new Ragdoll2(demo, 1);
            boat1Instance1        = new Boat1(demo, 1);
            car1Instance1         = new Car1(demo, 1);
            box2Instance1         = new Box2(demo, 1);
            crab1Instance1        = new Crab1(demo, 1);
            torusMesh             = new TorusMesh(demo, 1);
            camera2Instance1      = new Camera2(demo, 1);
            lightInstance         = new Lights(demo);

            // Create a new controllers in the scene
            skyDraw1Instance1          = new SkyDraw1(demo, 1);
            cursorDraw1Instance        = new CursorDraw1(demo);
            boat1Animation1Instance1   = new Boat1Animation1(demo, 1);
            car1Animation1Instance1    = new Car1Animation1(demo, 1);
            terrainDraw1Instance1      = new TerrainDraw1(demo, 1);
            lakeDraw1Instance1         = new LakeDraw1(demo, 1, 8, 8);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }