[ODE] Terrain LOD and trimesh collision detection
Piotr Obrzut
piotr_obrzut at o2.pl
Tue Apr 4 01:34:43 MST 2006
Hi,
>> I was wondering what to do with collision detection in that case. Should I just
>> make a trimesh with the highest resolution terrain and let the collision
>> detection always use that, or should I update the trimesh with the results of
>> LOD every frame / time step?
> Most consistent would be to collide with a specific level of detail,
> always. This may or may not be your finest level of detail for graphics
> display. Also note that there is a heightmap collider (I think it's a
> contrib) you might want to look into.
We had very interesting results building OPCODE mesh right before each
query, for requested sampler area (based on 'other' mesh size) from
height data. It worked a bit faster than using very large trimesh (I
don't have exact numbers though).
--
greetings,
Piotr Obrzut
More information about the ODE
mailing list