aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorRobert Adams2014-01-29 06:44:14 -0800
committerRobert Adams2014-01-29 06:44:14 -0800
commit0842e2e15b6af6f940648b0b74488f2da88ce920 (patch)
treee836bebbc79f4a05d13bb370bf7ad3db28eb9aa5 /bin
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-0842e2e15b6af6f940648b0b74488f2da88ce920.zip
opensim-SC_OLD-0842e2e15b6af6f940648b0b74488f2da88ce920.tar.gz
opensim-SC_OLD-0842e2e15b6af6f940648b0b74488f2da88ce920.tar.bz2
opensim-SC_OLD-0842e2e15b6af6f940648b0b74488f2da88ce920.tar.xz
BulletSim: default physical terrain implementation to heightmap.
It originally looked like mesh terrain would perform better for vehicles but, after much use, heightmap is the clear winner. Force terrain implementation to heightmap if the physics region is larger than legacy region size. This solves running out of memory for very large regions.
Diffstat (limited to 'bin')
-rw-r--r--bin/OpenSimDefaults.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index df94239..026f285 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -1001,10 +1001,10 @@
1001 1001
1002 ; Terrain implementation can use either Bullet's heightField or BulletSim can build 1002 ; Terrain implementation can use either Bullet's heightField or BulletSim can build
1003 ; a mesh. 0=heightField, 1=mesh 1003 ; a mesh. 0=heightField, 1=mesh
1004 TerrainImplementation = 1 1004 TerrainImplementation = 0
1005 ; For mesh terrain, the detail of the created mesh. '1' gives 256x256 (heightfield 1005 ; For mesh terrain, the detail of the created mesh. '1' gives 256x256 (heightfield
1006 ; resolution). '2' gives 512x512. Etc. Cannot be larger than '4'. Higher 1006 ; resolution). '2' gives 512x512. Etc. Cannot be larger than '4'. Higher
1007 ; magnification uses lots of memory. 1007 ; magnifications use lots of memory.
1008 TerrainMeshMagnification = 2 1008 TerrainMeshMagnification = 2
1009 1009
1010 ; Avatar physics height adjustments. 1010 ; Avatar physics height adjustments.