22 #ifndef _HEIGHTMAP_HH_
23 #define _HEIGHTMAP_HH_
35 class TerrainGlobalOptions;
69 public:
double GetHeight(
double _x,
double _y);
73 private:
bool InitBlendMaps(Ogre::Terrain *_terrain);
76 private:
void ConfigureTerrainDefaults();
81 private:
void DefineTerrain(
int _x,
int _y);
93 private:
unsigned int imageSize;
96 private:
double maxPixel;
102 private: Ogre::TerrainGlobalOptions *terrainGlobals;
105 private: Ogre::TerrainGroup *terrainGroup;
108 private:
bool terrainsImported;
111 private: std::vector<std::string> diffuseTextures;
114 private: std::vector<std::string> normalTextures;
117 private: std::vector<double> worldSizes;
120 private: std::vector<double> blendHeight;
123 private: std::vector<double> blendFade;