Get geometry from terrain

classic Classic list List threaded Threaded
1 message Options
brahim brahim
Reply | Threaded
Open this post in threaded view
|

Get geometry from terrain

Hello every one,
i'm working on physics integration with osgEarth, my scene contains some vehicles interacting with the terrain.
to do so, i collect all the geometry from the terrain graph with a visitor and send it to the physics engine, and that was working fine , but in the version (2.10) it's no more the case.
So, my question is:
Is that related to the rex_engine ?
and how can i collect the vartices and faces of the terrain?

PS: my knowledg of shaders is very limited