Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BulletSim: add expanded call to IMesher/Meshmerizer which enables/disables ↵ | Robert Adams | 2012-11-29 | 1 | -5/+16 |
| | | | | mesh caching. Since BulletSim caches and tracks the unmanaged memory version of meshes, the Meshmerizer itself does not need to cache built meshes once BulletSim has made the physical proxy mesh. | ||||
* | Stop logging spurious asset data for {0} is zero length error for sculpts/mesh | Justin Clark-Casey (justincc) | 2012-11-28 | 1 | -1/+4 |
| | | | | | | | | ODEPrim, for instance, always hits this code path twice at the moment Firstly before any sculpt data has been loaded (hence the spurious message) Secondly when any sculpt data has been loaded or failed to load (when the message would be valid). Hence comment this out and rely on the message in ODEPrim.MeshAssetReceived() instead (though this is not ideal since it requires all physics plugins to copy/paste similar code). | ||||
* | Add prim name to "[MESH]: No recognized physics mesh..." log message | Justin Clark-Casey (justincc) | 2012-03-20 | 1 | -1/+1 |
| | |||||
* | Comment out "experimental" log message printed out whenever a physics mesh ↵ | Justin Clark-Casey (justincc) | 2012-02-16 | 1 | -2/+2 |
| | | | | | | was generated for a mesh Also adds prim name to the "no asset data" error log message | ||||
* | minor: remove mono compile warning, a Vector3 can never be null since it's a ↵ | Justin Clark-Casey (justincc) | 2011-11-29 | 1 | -9/+6 |
| | | | | struct | ||||
* | Move GetMeshKey from buried inside Meshmerizer to a public method on ↵ | Robert Adams | 2011-08-28 | 1 | -62/+1 |
| | | | | | | PrimitiveBaseShape Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | Add level of detail specification to optionally reduce the number of ↵ | Robert Adams | 2011-08-28 | 1 | -5/+31 |
| | | | | | | vertices in generated prim meshes Signed-off-by: BlueWall <jamesh@bluewallgroup.com> | ||||
* | refactor: extract method that generates a physics mesh from prim shape data | Justin Clark-Casey (justincc) | 2011-07-30 | 1 | -117/+141 |
| | |||||
* | refactor: extract code which generate points and faces from sculpt data into ↵ | Justin Clark-Casey (justincc) | 2011-07-30 | 1 | -220/+240 |
| | | | | | | it's own method. fix build break. | ||||
* | fix bug in previous commit | Justin Clark-Casey (justincc) | 2011-07-30 | 1 | -1/+2 |
| | |||||
* | refactor: move the code that generates physics meshs from prim mesh data ↵ | Justin Clark-Casey (justincc) | 2011-07-30 | 1 | -99/+123 |
| | | | | into a separate method, in order to make the code more readable. | ||||
* | Return null from CreateMeshFromPrimMesher if OpenJPEG decoding of the sculpt ↵ | Justin Clark-Casey (justincc) | 2011-07-29 | 1 | -1/+11 |
| | | | | | | data fails. This is to address http://opensimulator.org/mantis/view.php?id=5612 | ||||
* | Fix physics proxy regeneration when a mesh with more than one submesh is resized | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -1/+4 |
| | | | | Addresses http://opensimulator.org/mantis/view.php?id=5584 | ||||
* | minor Tack the prim name on the end of the "experimental mesh proxy ↵ | Justin Clark-Casey (justincc) | 2011-07-11 | 1 | -1/+1 |
| | | | | | | generation" message. Can probably comment out this message soon, once a few other issues are tidied up. | ||||
* | minor: code tidy and inserted log lines for future use. | Justin Clark-Casey (justincc) | 2011-07-09 | 1 | -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 statement | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -3/+1 |
| | |||||
* | refactor: Factor out AddSubMesh() method from long ↵ | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -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 data | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -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 tidy | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -0/+2 |
| | |||||
* | Allow physics proxy generation for meshes using new asset format. | dahlia | 2011-06-29 | 1 | -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 ↵ | dahlia | 2011-06-10 | 1 | -1/+5 |
| | | | | for physics mesh | ||||
* | Fix crash when [Mesh] section is missing from configuration files | Dan Lake | 2011-04-29 | 1 | -1/+2 |
| | |||||
* | Group collada meshies settings under [Mesh] in OpensimDefaults.ini | BlueWall | 2011-04-21 | 1 | -1/+2 |
| | |||||
* | minor: remove some compiler warnings | Justin Clark-Casey (justincc) | 2010-12-10 | 1 | -1/+1 |
| | |||||
* | catch an exception when a mesh asset header cant be decoded | dahlia | 2010-11-24 | 1 | -2/+9 |
| | |||||
* | * Updated libomv to r3461 | Latif Khalifa | 2010-10-24 | 1 | -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 submeshes | dahlia | 2010-10-20 | 1 | -3/+4 |
| | |||||
* | remove some cruft from last commit | dahlia | 2010-10-18 | 1 | -8/+0 |
| | |||||
* | initial support for meshies physics. Must set ini option ↵ | dahlia | 2010-10-18 | 1 | -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-15 | 1 | -71/+71 |
| | | | | | | and rebase. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com> | ||||
* | more work in progress on mesh physics - still non-functional | dahlia | 2010-10-14 | 1 | -2/+67 |
| | |||||
* | laying some groundwork for mesh physics | dahlia | 2010-10-14 | 1 | -70/+80 |
| | |||||
* | * Make line endings consistant in Meshmerizer.cs | Teravus Ovares (Dan Olivares) | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map ↵ | dahlia | 2010-10-07 | 1 | -1/+2 |
| | | | | caching for meshing | ||||
* | Typo fixes | Melanie | 2010-09-26 | 1 | -6/+6 |
| | |||||
* | adding configurable j2kDecodeCache path | BlueWall | 2010-09-26 | 1 | -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 Hurliman | 2009-10-28 | 1 | -2/+6 |
| | | | | ironed out | ||||
* | Print the exception message when CSJ2K decoding fails for sculpty textures | John Hurliman | 2009-10-28 | 1 | -3/+3 |
| | |||||
* | * Switched from OpenJPEG to CSJ2K in Meshmerizer | John Hurliman | 2009-10-26 | 1 | -3/+1 |
| | | | | * Tested the previous patch and found no regressions | ||||
* | Experimental change of PhysicsVector to Vector3. Untested | John Hurliman | 2009-10-26 | 1 | -13/+8 |
| | |||||
* | Changing Scene.ForEachClient to use the synchronous for loop instead of ↵ | John Hurliman | 2009-10-25 | 1 | -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 Hurliman | 2009-10-18 | 1 | -0/+3 |
| | | | | decoded to allow garbage collection on it | ||||
* | only cache mesh if meshing was successful | dahlia | 2009-10-04 | 1 | -8/+4 |
| | | | | re-enable sculpt mesh caching | ||||
* | flexible extrusion shape defaults to linear | dahlia | 2009-10-04 | 1 | -1/+1 |
| | |||||
* | Exclude sculpt proxies from mesh caching | dahlia | 2009-10-04 | 1 | -6/+23 |
| | |||||
* | Merge branch 'master' into diva-textures | Melanie | 2009-10-02 | 1 | -6/+63 |
|\ | |||||
| * | Add copyright header. Formatting cleanup. | Jeff Ames | 2009-09-29 | 1 | -1/+1 |
| | | |||||
| * | Meshmerizer stores dictionary of unique Meshes keyed on construction ↵ | Dan Lake | 2009-09-24 | 1 | -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 Canto | 2009-09-30 | 1 | -0/+14 |
|/ | |||||
* | eliminate unnecessary storage of mesh objects which are no longer necessary ↵ | dahlia | 2009-09-02 | 1 | -1/+0 |
| | | | | after recent startup optimizations |