Terrain-Mesh

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
irrlichtfan
Posts: 10
Joined: Tue Jan 20, 2009 2:40 pm

Terrain-Mesh

Post by irrlichtfan »

Is it possible to get the Mesh of the terrain, which is compatible with newton? I have tried now lots of methods:

CDynamicMeshBuffer mb(video::EVT_STANDARD, video::EIT_32BIT);
tscene->getMeshBufferForLOD(mb, SKTXTERR_LOD - 1);

tscene->getRenderBuffer()

tscene->getMesh()

The Generation of the Newton-Mesh succeded only with the optimized tree-version, not with the normal convex-hull technique. The pitty however is that the collision doesn't work.

Thx,

markus
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Did you check the terrain example's source code?
BTW: Code snippets forum is for providing code snippets...
Post Reply