Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
        public HelicoptersScene(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);
            helicopter1Instance1 = new Helicopter1(demo, 1);
            helicopter1Instance2 = new Helicopter1(demo, 2);
            helicopter1Instance3 = new Helicopter1(demo, 3);
            helicopter1Instance4 = new Helicopter1(demo, 4);
            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);
            helicopter1Animation1Instance1 = new Helicopter1Animation1(demo, 1);
            helicopter1Animation1Instance2 = new Helicopter1Animation1(demo, 2);
            helicopter1Animation1Instance3 = new Helicopter1Animation1(demo, 3);
            helicopter1Animation1Instance4 = new Helicopter1Animation1(demo, 4);
            camera2Animation1Instance1     = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1          = new Camera2Draw1(demo, 1);
        }
Exemplo n.º 3
0
        public ClothScene(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);
            columnInstance1     = new Column(demo, 1);
            cargoJackInstance1  = new CargoJack(demo, 1);
            pointClothInstance1 = new PointCloth(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);
            cargoJackAnimation1Instance1 = new CargoJackAnimation1(demo, 1);
            camera2Animation1Instance1   = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1        = new Camera2Draw1(demo, 1);
        }
Exemplo n.º 4
0
        public BuildingsScene(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);
            building1Instance1 = new Building1(demo, 1);
            building2Instance1 = new Building2(demo, 1);
            bridge2Instance1   = new Bridge2(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);
            camera2Animation1Instance1    = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1         = new Camera2Draw1(demo, 1);
            pointLightAnimation1Instance1 = new PointLightAnimation1(demo, 12);
        }
Exemplo n.º 5
0
        public AIScene(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);
            plant1Instance1     = new Plant1(demo, 1);
            vehicle1Instance1   = new Vehicle1(demo, 1);
            amphibian1Instance1 = new Amphibian1(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);
            vehicle1Animation1Instance1   = new Vehicle1Animation1(demo, 1);
            amphibian1Animation1Instance1 = new Amphibian1Animation1(demo, 1);
            camera2Animation1Instance1    = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1         = new Camera2Draw1(demo, 1);
        }
Exemplo n.º 6
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);
        }
Exemplo n.º 7
0
        public MeshesScene(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);
            columnInstance1  = new Column(demo, 1);
            triangleMesh1    = new TriangleMesh1(demo, 1);
            triangleMesh2    = new TriangleMesh2(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);
            camera2Animation1Instance1 = new Camera2Animation1(demo, 1);
            camera2Draw1Instance1      = new Camera2Draw1(demo, 1);
        }