diff options
author | Justin Clark-Casey (justincc) | 2011-10-14 21:11:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-14 21:11:00 +0100 |
commit | 03102864f0d9851b6937ca5472f48f10ec861a26 (patch) | |
tree | 532a03848a28a169e5bbf4d058feb179c9e124aa /bin | |
parent | Change hardcoded ODE total frame time to match the default total frame time (... (diff) | |
download | opensim-SC-03102864f0d9851b6937ca5472f48f10ec861a26.zip opensim-SC-03102864f0d9851b6937ca5472f48f10ec861a26.tar.gz opensim-SC-03102864f0d9851b6937ca5472f48f10ec861a26.tar.bz2 opensim-SC-03102864f0d9851b6937ca5472f48f10ec861a26.tar.xz |
change default ODE world_stepsize to 0.0178 from 0.02
This exactly fits five ODE steps in the default frame time (0.089).
This means that ODE execution time now matches the default minimum frame time.
This eliminates errors between distance travelled as calculated by ODE in clear air and simple extrapolation.
On the old values, ODE would actually do calculations over 0.1 seconds rather than 0.089.
This means that once the avatar is at top speed, no additional packets need to be sent for smooth movement, since no error develops between server and viewer.
This approach replaces the tweaks previously discussed on the opensim-dev mailing list
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSimDefaults.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 9509ed9..e158096 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -627,8 +627,8 @@ | |||
627 | world_gravityz = -9.8 | 627 | world_gravityz = -9.8 |
628 | 628 | ||
629 | ; World Step size. (warning these are dangerous. Changing these will probably cause your scene to explode dramatically) | 629 | ; World Step size. (warning these are dangerous. Changing these will probably cause your scene to explode dramatically) |
630 | ; reference: fps = (0.09375/ODE_STEPSIZE) * 1000; | 630 | ; reference: fps = (0.089/ODE_STEPSIZE) * 1000; |
631 | world_stepsize = 0.020 | 631 | world_stepsize = 0.0178 |
632 | world_internal_steps_without_collisions = 10 | 632 | world_internal_steps_without_collisions = 10 |
633 | 633 | ||
634 | ;World Space settings. Affects memory consumption vs Collider CPU time for avatar and physical prim | 634 | ;World Space settings. Affects memory consumption vs Collider CPU time for avatar and physical prim |