You can use the heightmap as a texture for the minimap. If you want it with colors and such, just create a new texture based on the heightmap.
If you don't have the texture (you created the ITerrainSceneNode proceduraly) you can easily get the height values of the vertex using this:
float ...
Search found 3 matches
- Sat Mar 05, 2011 3:27 pm
- Forum: Beginners Help
- Topic: Minimap for ITerrainSceneNode
- Replies: 8
- Views: 929
- Fri Mar 04, 2011 4:35 pm
- Forum: Beginners Help
- Topic: Static shadows with ITerrainSceneNode
- Replies: 2
- Views: 987
- Wed Mar 02, 2011 8:16 pm
- Forum: Beginners Help
- Topic: Static shadows with ITerrainSceneNode
- Replies: 2
- Views: 987
Static shadows with ITerrainSceneNode
First of all, hi to everyone. I'm quite new with Irrlicht, and I think the stuff I'm trying to do is a bit advanced to start with.
What I want is to have static ray-traced shadows in a ITerrainSceneNode. I do know the algorithms to get the shadow map, but what I don't know is how to get that data ...
What I want is to have static ray-traced shadows in a ITerrainSceneNode. I do know the algorithms to get the shadow map, but what I don't know is how to get that data ...