First I'll describe my project a little bit.
I have real satellite data of a terrain an want to visualize it.
The data is a lot of stuff like hight, boundary, landuse... First, of course, I took a look at hight and made an heightmap out of some points that I have. I calculated height for each pixel, write it into a buffer16[] and then give it directly to arras TSTerrainSceneNode() via SetHeight()
Now I took a part of my terrain (because most was absolutly plane) and it is 8000x8000 pixel, I scaled it to 1000x1000 just for runtime while calculating height for each pixel.
It all works but looks not really nice.
So after I added the radar for orientation I now want to add realistic water
http://irrlicht.sourceforge.net/phpBB2/ ... sc&start=0
For this I read out another data (WaterPoly) that gives me polygons for every waterpart.
I wrote an algorithm that writes buffer16[] again and gives back a 1 if there is water, otherwise a 0.
Based on this I am able to create a "watermap" which is white everywhere, where water should be. Or I could give the buffer16[] array directly to the program.
How is it possible to add Waternodes based on my information?
Any ideas?
Thank you very much!![/url]
