Exemple #1
0
 public BasicTerrain(int sideVertexCount)
 {
     grid = new TerrainGrid(sideVertexCount);
     //texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "l{0}.bmp", MaxLevels);
     texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "island{0}.bt", MaxLevels);
     program = new TerrainProgram();
 }
 public BasicTerrain(int sideVertexCount)
 {
     grid = new TerrainGrid(sideVertexCount);
     //texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "l{0}.bmp", MaxLevels);
     texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "island{0}.bt", MaxLevels);
     program = new TerrainProgram();
 }