Search found 3 matches

by nake
Sat Mar 05, 2011 3:27 pm
Forum: Beginners Help
Topic: Minimap for ITerrainSceneNode
Replies: 8
Views: 929

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 ...
by nake
Fri Mar 04, 2011 4:35 pm
Forum: Beginners Help
Topic: Static shadows with ITerrainSceneNode
Replies: 2
Views: 987

No one?

I tried using getMesh() instead of getMeshBufferForLOD(), but whatever I change doesn't seem to update in the render.
I also tried using setDirty() but it didn't change anything at all.

To be sure that I'm doing something wrong I tried to change heights instead of the color, but nothing ...
by nake
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 ...