How can i edit the mesh of an ITerrainSceneNode

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
RenoRosco
Posts: 11
Joined: Sat Sep 15, 2007 7:26 am

How can i edit the mesh of an ITerrainSceneNode

Post by RenoRosco »

Hi

I´m new to Irrlicht and want to try a small project to get some basic skills. Currently i make a Heightmap/Level Editor. I want to raise/lower the ground and therefore i have to change the heightmap data and get the correct point where. And this is the point where i get problems.

I´m not sure how to get access to the mesh of the ITerrainSceneNode, better Meshes in overall i found many get funtions in the IMesh / IMeshBuffer class but am confused how to get the correct one.

And i dont know how to Translate the Mouseposition to 3D to get a line to do intersection. In OpenGL there was a function like glUnproject. Is there anything for Irrlicht that i haven´t found?
Post Reply