Index and vertex data??

Dibalo

28-03-2007 17:15:58

Hi.. This is a stupid question but I have to ask this. I`m searching the way to integrate PLSM with nxOgre. Unfortunately my skills are very low and I have such basic problems.

My question is: I know the number of vertices and I have those vertices. In addition I have index data. Is it possible to build meshShape with those informations? And if it´s possible, how could I do it? Any code snippets or links are hoped. By my own, this is too much for me.. :/

betajaen

28-03-2007 17:27:59

You wouldn't use a meshShape for terrain, you'd use a NxHeightfieldShape. See the terrainShape on how it's implemented.