Need a method for drawing a very large height map.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
trnrez
Posts: 28
Joined: Wed Dec 27, 2006 5:56 pm
Location: Murfreesboro, TN
Contact:

Need a method for drawing a very large height map.

Post by trnrez »

This is a question for guidance. I am going to be using Digital Elevation Maps to create 16-bit Grayscale PNG file of a large landmass (IE: State/Nation). Then use that file to generate terrain in Irrlicht.

The problem I am having is that the files appear to be to large for Irrlicht to handle. I am currently using a 10mb file of Franklin County, New York. That file size would be small compared to a State/Nation size that would need to be able to be used in the program.

I was wondering if anyone knows a good way to handle a large height map for this situation. My current way of thinking is to create one low LOD height map and create bounding boxes at various sections of the map. When the camera crosses into those sections I will have Irrlicht generate a new height map and then render that to the screen. I am not sold that this method will be the best/fastest method for me to do this. If anyone has other ideas please let me know. I am very curious of a good solid method to go about this.

Thanks,
Jon Jones
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

check the projects forum, Arras has done a great tiled terrain scene node which may well do the trick for you, someone else has recently been working on a paging terrain node.
Image Image Image
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The tiled terrain managers found in the project/code snippet forums will help. Also the thread about planet rendering could do so.
Did you try to load the mesh as a terrain mesh instead of a terrain scene node? Together with VBOs this could also render huge terrains quickly.
trnrez
Posts: 28
Joined: Wed Dec 27, 2006 5:56 pm
Location: Murfreesboro, TN
Contact:

Post by trnrez »

:D Awesome! Thanks for the help!
Jon Jones
Portfolio - needs updating
Post Reply