Heightmap terrain data
Heightmap terrain data
Is there anyway I can access height map data. The tutorial doesn't go into any detail on how to change the data. I have looked around the forum and all I see is how to get the data and not change it.
Re: Heightmap terrain data
if you got the data you can change the data...wartech0 wrote:all I see is how to get the data and not change it.
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Here's a thread that should help get you going:
http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
I have tried
Every time I do my program does not work with that in it any suggestions?
It is specifically that code right there too because everything stops working when those 2 lines are added.
The program just freezes doesn't draw anything and throws it into debug.
Code: Select all
scene::IMesh* buffer = terrain->getMesh();
video::S3DVertex2TCoords* data = (video::S3DVertex2TCoords*)buffer->getMeshBuffer(0)->getVertices();
It is specifically that code right there too because everything stops working when those 2 lines are added.
The program just freezes doesn't draw anything and throws it into debug.