[ODE] Huge world vs precision problems

Anders Olofsson anders.olofsson at biologigrand.ac
Thu Mar 9 03:03:25 MST 2006


Hello all!.

I have a huge world, around 2500*2500 km, and have obviously encounter 
precision problems. I think I've solved the triangle collision problems I 
described before but I stumbled on yet another, geomtransforms! (Or I guess 
positioning in general).

I have an object made of several geoms and if I place it at origin (0,0,0) 
of my world it works great but at the outer edges of the world the same 
object geoms positions starts to wobble/jitter. I'm working with floats 
haven't tried doubles yet, I'm not particulary familiar with the 
floatingpoints types precision limits.

What are my options?, I thought of partitioning up my world in smaller 
chunks that floats can handle. But in practice I haven't figured out how to 
do that, is it possible somehow? How small/large would those chunks be?. 
(Or at around what huge number start floats to loose their precision? :) )

Some other more "quick fix"?

Thanks!



More information about the ODE mailing list