Example #1
0
        public Terrain(System.Drawing.Size _cacheSize)
        {
            initShaders();
            initGrid();
            CacheSize = _cacheSize;

            skybox = new Tetra.SkyBox(
                "#Ottd3D.images.skybox.right.bmp",
                "#Ottd3D.images.skybox.left.bmp",
                "#Ottd3D.images.skybox.top.bmp",
                "#Ottd3D.images.skybox.top.bmp",
                "#Ottd3D.images.skybox.front.bmp",
                "#Ottd3D.images.skybox.back.bmp");

            CurrentState = State.Play;
        }
Example #2
0
        public Terrain(System.Drawing.Size _cacheSize)
        {
            initShaders();
            initGrid ();
            CacheSize = _cacheSize;

            skybox = new Tetra.SkyBox (
                "#Ottd3D.images.skybox.right.bmp",
                "#Ottd3D.images.skybox.left.bmp",
                "#Ottd3D.images.skybox.top.bmp",
                "#Ottd3D.images.skybox.top.bmp",
                "#Ottd3D.images.skybox.front.bmp",
                "#Ottd3D.images.skybox.back.bmp");

            CurrentState = State.Play;
        }