Deform a flat mesh in XZ terms

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
monchito
Posts: 59
Joined: Thu Mar 08, 2007 9:38 pm

Deform a flat mesh in XZ terms

Post by monchito »

Hi
I want to know if there is a way to know what point in a flat mesh correspond to a vertex list in irrlicht. Like to
organize it in a 2d 16x16 array and move the position[0][0] , position[0][16], etc , are a corners of the mesh. Don't know
how to do it. Any Ideas are wellcome.
.__ . __ . __ . __ .
| | | | |
. . . . .
|
.
|
.__ . __ .__ . __ .
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Deform a flat mesh in XZ terms

Post by hybrid »

If you use the createPlaneMesh from Irrlicht, you can look up the code and derive the numbers from there. Or you simply create the mesh on your own, to be sure that the creation scheme does not change. But besides that it's possible to directly access vertices, yes.
Post Reply