deformation?

Grom

10-03-2007 16:22:26

I'm working on integrating PLSM2 with NxOgre. After a long unsuccessful time trying to get the vertex data with a terrain listener for use with the physics collision representation, I circumvented the problem by loading the information directly from the heightmap image files. This will not take into account deformations done by the user though, right?

Can someone explain to me how a deformation happens *exactly* so that I can apply it to my physics representation after it's already been loaded?

asmo

10-03-2007 21:53:20

It is quite simple, actually. As I do believe you know what you are doing, I just think you missed to check the source for deformation in plsm. Do that, and you'll see. It's trivial. The easiest way is to change plsm and add a deformation listener option.