aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Meshmerizer.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)2011-07-091-2/+3
| | | | | | | | Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
* refactor: eliminate redundant return statementJustin Clark-Casey (justincc)2011-07-081-3/+1
|
* refactor: Factor out AddSubMesh() method from long ↵Justin Clark-Casey (justincc)2011-07-081-44/+53
| | | | | | CraeteMeshFromPrimMesher() method Also remove some of the logging spam left in from the last commit.
* Fix interpretation of physics mesh proxies from mesh dataJustin Clark-Casey (justincc)2011-07-081-0/+10
| | | | | | | | As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some submesh blocks may just have the flag "NoGeometry" to signal that they provide no mesh data. If a block contains this, ignore it for meshing purposes rather than suffer a ClassCastException This fixes physics proxy meshing, so you can now walk through mesh doorways, properly stand on the trailer of mesh trucks, etc. To get mesh physics proxy, the UseMeshiesPhysicsMesh must be true in a [Mesh] config section in OpenSim.ini (example in OpenSimDefaults.ini). Convex hull physics not currently supported.
* minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)2011-07-081-0/+2
|
* Allow physics proxy generation for meshes using new asset format.dahlia2011-06-291-4/+17
| | | | Fix an invalid cast exception while decoding new mesh asset format.
* partial update for new mesh asset format - handle both old and new formats ↵dahlia2011-06-101-1/+5
| | | | for physics mesh
* Fix crash when [Mesh] section is missing from configuration filesDan Lake2011-04-291-1/+2
|
* Group collada meshies settings under [Mesh] in OpensimDefaults.iniBlueWall2011-04-211-1/+2
|
* minor: remove some compiler warningsJustin Clark-Casey (justincc)2010-12-101-1/+1
|
* catch an exception when a mesh asset header cant be decodeddahlia2010-11-241-2/+9
|
* * Updated libomv to r3461Latif Khalifa2010-10-241-2/+2
| | | | Main reason for upgrade is to revert API change that was introduced in order to support headerless binary LLSD decoding needed for deserialization of the mesh assets, which turned out to be unnecessary as we can transparently decode both kinds.
* fix combining of multiple physics submeshesdahlia2010-10-201-3/+4
|
* remove some cruft from last commitdahlia2010-10-181-8/+0
|
* initial support for meshies physics. Must set ini option ↵dahlia2010-10-181-43/+94
| | | | UseMeshiesPhysicsMesh = true to enable. See file OpenSimDefaults.ini for example.
* one more silly line ending thing.... *If you have problems, fetch the tree ↵Teravus Ovares (Dan Olivares)2010-10-151-71/+71
| | | | | | and rebase. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
* more work in progress on mesh physics - still non-functionaldahlia2010-10-141-2/+67
|
* laying some groundwork for mesh physicsdahlia2010-10-141-70/+80
|
* * Make line endings consistant in Meshmerizer.csTeravus Ovares (Dan Olivares)2010-10-091-1/+1
|
* add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map ↵dahlia2010-10-071-1/+2
| | | | caching for meshing
* Typo fixesMelanie2010-09-261-6/+6
|
* adding configurable j2kDecodeCache pathBlueWall2010-09-261-4/+9
| | | | | | | | allowing the decoded sculpt map cache path to be defined in the configuration files. Use DecodedSculpMapPath in the [Startup] section to set the path. The default is still ./bin/j2kDecodeCache
* Switching sculpty from CSJ2K back to OpenJPEG for now until more kinks are ↵John Hurliman2009-10-281-2/+6
| | | | ironed out
* Print the exception message when CSJ2K decoding fails for sculpty texturesJohn Hurliman2009-10-281-3/+3
|
* * Switched from OpenJPEG to CSJ2K in MeshmerizerJohn Hurliman2009-10-261-3/+1
| | | | * Tested the previous patch and found no regressions
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-13/+8
|
* Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-251-1/+1
| | | | | | | | | | Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces * Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff * Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape() * Improved the instantiation of PrimitiveBaseShape
* Zero out PrimitiveBaseShape.SculptData after the JPEG2000 data has been ↵John Hurliman2009-10-181-0/+3
| | | | decoded to allow garbage collection on it
* only cache mesh if meshing was successfuldahlia2009-10-041-8/+4
| | | | re-enable sculpt mesh caching
* flexible extrusion shape defaults to lineardahlia2009-10-041-1/+1
|
* Exclude sculpt proxies from mesh cachingdahlia2009-10-041-6/+23
|
* Merge branch 'master' into diva-texturesMelanie2009-10-021-6/+63
|\
| * Add copyright header. Formatting cleanup.Jeff Ames2009-09-291-1/+1
| |
| * Meshmerizer stores dictionary of unique Meshes keyed on construction ↵Dan Lake2009-09-241-6/+63
| | | | | | | | | | | | 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 Signed-off-by: dahlia <dahliaTrimble@gmailDotCom>
* | Create j2k cache directory if it doesn't exist. The Meshmerizer needs it there.Diva Canto2009-09-301-0/+14
|/
* eliminate unnecessary storage of mesh objects which are no longer necessary ↵dahlia2009-09-021-1/+0
| | | | after recent startup optimizations
* Applying Mantis #4079. Thank you, dslakeMelanie2009-09-011-27/+28
|
* Flag certain meshes to avoid vertex list compaction. This should help speed ↵Dahlia Trimble2009-07-301-0/+2
| | | | up meshing time at startup.
* Formatting cleanup.Jeff Ames2009-06-101-3/+1
|
* Fix comparison of UUID with null.Jeff Ames2009-06-041-1/+1
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* reduce verbosity of sculpt map cache messages to reporting cache failures onlyDahlia Trimble2009-05-311-2/+2
|
* some clean up of sculpt map caching codeDahlia Trimble2009-05-291-5/+3
| | | | | remove a redundant debug message
* reinstate a hopefully more robust experimental decoded sculpt map caching schemeDahlia Trimble2009-05-291-3/+5
|
* disable sculpt map caching until a better method of avoiding asset requests ↵Dahlia Trimble2009-05-291-5/+8
| | | | can be found
* Experimental decoded sculpt map cachingDahlia Trimble2009-05-291-17/+48
|
* Limit hollow size of physics proxy to 95%Dahlia Trimble2009-04-241-0/+2
|
* Add some documentation. (note this is *not* a thinly veiled attempt to ↵Dahlia Trimble2009-04-181-1/+3
| | | | increase my commit frequency *wink*)
* unspecified sculpt stitching mode now defaults to plane instead of sphere. ↵Dahlia Trimble2009-04-051-1/+3
| | | | Addresses Mantis #3403
* add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342Dahlia Trimble2009-03-261-2/+5
|