Robert Adams
|
dce9e323f4
BulletSim: remove degenerate triangles from meshes. This fixes the
|
il y a 12 ans |
John Hurliman
|
d199767e69
Experimental change of PhysicsVector to Vector3. Untested
|
il y a 15 ans |
John Hurliman
|
119cf80e13
Added calls to GC.AddMemoryPressure() when unmanaged memory is allocated for ODE (helps the GC make better scheduling choices), and a call to GC.Collect() right before logins are enabled for a region. Although this doesn't change actual memory usage, it improves the reported usage from OpenSim and the operating system
|
il y a 15 ans |
Jeff Ames
|
0d29614ca1
Formatting cleanup.
|
il y a 15 ans |
dahlia
|
41b27ef064
disambiguate System.Path (preparation for new PrimMesher)
|
il y a 15 ans |
Dan Lake
|
6d52974c5f
Eliminate pinned Mesh data on managed heap by using IntPtrs to memory allocated on the unmanaged heap. This prevents fragmentation of the managed heap and the resulting stress on GC. A region with ~150,000 prims using ODE and Meshmerizer saw memory remain flat around 1.2GB as opposed to 1.5GB and continually growing due to pinned memory. This patch complements the unique mesh dictionary patch applied to Meshmerizer but is independent. The net effect is a 60-75% reduction in memory for our largest regions.
|
il y a 15 ans |
Jeff Ames
|
f00126dc2d
Add copyright header. Formatting cleanup.
|
il y a 15 ans |
Dan Lake
|
1b2828f5d8
Meshmerizer stores dictionary of unique Meshes keyed on construction parameters. CreateMesh() returns a Mesh from the dictionary or creates a new Mesh if it has not been created before. Meshes are never purged from the dictionary. The raw Mesh data is discarded once the memory is pinned for ODE use. All copies of the same prim/mesh use the same pinned memory. ONLY IMPLEMENTED AND TESTED WITH MESHMERIZER AND ODE
|
il y a 15 ans |
Jeff Ames
|
56ddd6828c
Add copyright headers. Formatting cleanup.
|
il y a 15 ans |
Melanie
|
c89fc36f28
Applying Mantis #4079. Thank you, dslake
|
il y a 15 ans |
Jeff Ames
|
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
|
il y a 15 ans |
Teravus Ovares
|
53026affb3
* Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild)
|
il y a 15 ans |
Dahlia Trimble
|
fdd2388331
Update meshing code to sync with current PrimMesher.cs on forge.
|
il y a 16 ans |
Dahlia Trimble
|
7fbe942792
refactoring PrimMesher to add viewer compatable features and some code cleanup
|
il y a 16 ans |
Justin Clarke Casey
|
8ff1bc5b03
* Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux)
|
il y a 16 ans |
Justin Clarke Casey
|
49ec6dd882
* squash some obvious warnings
|
il y a 16 ans |
Dahlia Trimble
|
35ad484b6b
fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids.
|
il y a 16 ans |
Jeff Ames
|
3bf8858727
Update svn properties, formatting cleanup.
|
il y a 16 ans |
Dahlia Trimble
|
e593a333c7
adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data after conversion to pinned lists.
|
il y a 16 ans |
Dahlia Trimble
|
fce83731ad
Modified Mesh object to allow alternative mesher interfacing
|
il y a 16 ans |
Dahlia Trimble
|
261876fd47
Commented out the float array "normals" in the Mesh object and all references to save memory as it was unused
|
il y a 16 ans |
Teravus Ovares
|
d3b013be1c
* Releases Pinned vertex/index list in ODE on next mesh request.
|
il y a 16 ans |
Jeff Ames
|
47180080f0
Formatting cleanup.
|
il y a 16 ans |
lbsa71
|
efd90b56b7
* Optimized usings
|
il y a 17 ans |
Jeff Ames
|
712efda9b9
added copyright notices
|
il y a 17 ans |
Jeff Ames
|
db174dfa20
set svn:eol-style
|
il y a 17 ans |
Teravus Ovares
|
cb07ba0d68
* Moves the Meshmerizer to a separate plugin
|
il y a 17 ans |