Go to the documentation of this file.
18 #ifndef IGNITION_RENDERING_OGRE_OGREHEIGHTMAP_HH_
19 #define IGNITION_RENDERING_OGRE_OGREHEIGHTMAP_HH_
34 #pragma warning(disable:4275)
41 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
44 class OgreHeightmapPrivate;
57 public:
virtual void Init()
override;
60 public:
virtual void PreRender()
override;
64 public:
virtual Ogre::MovableObject *
OgreObject()
const override;
75 public:
virtual void SetMaterial(
MaterialPtr _material,
bool _unique)
80 private:
void ConfigureTerrainDefaults();
87 private:
bool PrepareTerrain(
const std::string &_terrainDirPath);
96 private:
void UpdateTerrainHash(
const std::string &_hash,
109 private:
void DefineTerrain(
int _x,
int _y);
115 private:
void CreateMaterial();
119 private:
bool InitBlendMaps(Ogre::Terrain *_terrain);
123 private:
void SetupShadows(
bool _enabled);
Definition: gz/rendering/ogre/OgreScene.hh:39
Describes how a Heightmap should be loaded.
Definition: gz/rendering/HeightmapDescriptor.hh:146
Ogre implementation of a heightmap geometry.
Definition: gz/rendering/ogre/OgreHeightmap.hh:47
Definition: gz/rendering/ogre/OgreObject.hh:32
Definition: gz/rendering/base/BaseHeightmap.hh:30
Represents a surface material of a Geometry.
Definition: gz/rendering/Material.hh:47