[ODE] Terrain colliders and/or Trimesh/OPCODE

Pierre Terdiman pierre.terdiman at novodex.com
Mon Feb 9 09:35:44 MST 2004


> One thing worth pointing out is that Opcode/trimeshes are not suited to
> real-time deformation, as a lot of work is done pre-processing the
meshes -
> for that you really need a heightmap collider.

That's not completely true. Opcode 1.3 handles deformable meshes, you just
have to call the "Refit()" function after having modified your vertices. Of
course it's still doing some work here, but it's definitely ok for
realtime - contrary to rebuilding the Opcode trees from scratch.

Most of the time the extra CPU time used to refit the tree is completely
un-noticed anyway, since you often only change the terrain from time to
time, say when stuff explodes.

Pierre Terdiman

- Novodex AG (www.novodex.com)
- Personal : www.codercorner.com




More information about the ODE mailing list