Heightmap creation of an array

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
lauwieroos
Posts: 3
Joined: Sat Feb 04, 2006 1:42 pm

Heightmap creation of an array

Post by lauwieroos »

Hi,

I'm trying to make my own world loader. Therefore, I need to create a terrain with a set of points. I could only mention two possible solutions:

1.) Convert an array to an image and use addTerrainSceneNode(
"FILENAME")
2.) Use the array directly to define the terrain (which has my preference)

My question is: is the second solution possible and if it is, how can it be done.
Last edited by lauwieroos on Wed Oct 08, 2014 11:24 pm, edited 1 time in total.
neotoma
Posts: 10
Joined: Tue Mar 29, 2005 9:49 am
Location: Germany
Contact:

Post by neotoma »

You could add a method to the Terrain-Node.
See http://irrlicht.sourceforge.net/phpBB2/ ... tion#62355 as an Example how to add an alternative Input for Terrain.

Mike
lauwieroos
Posts: 3
Joined: Sat Feb 04, 2006 1:42 pm

Post by lauwieroos »

Thanks, will try this out tomorrow. :D
Post Reply