aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-10Fix crash in BulletSim which sometimes happens making a linkset physicalRobert Adams1-7/+32
(like sitting on and activating a vehicle) and crossing borders. This keeps better bookkeeping on compound shapes so BulletSim can identify them when being freed.
2013-06-11BulletSim: when meshing or asset fetching fails, include positionRobert Adams1-14/+26
and region with the offending object's name in the error message.
2013-06-10BulletSim: add failure flag for meshing failure vs asset fetch failureRobert Adams1-10/+25
so error messages make more sense. Change some BulletSim status log messages from WARN to INFO. Update TODO list.
2013-06-05BulletSim: fix corner case when rebuilding a compound linkset whileRobert Adams1-11/+46
a mesh/hull while a mesh or hull is being rebuilt when its asset is fetched. This fixes a 'pure virtual function' crash when changing physical state of complex linksets that include many meshes.
2013-05-24BulletSim: properly set mesh hash key in use tracking structure.Robert Adams1-1/+4
Shouldn't see any functional difference.
2013-05-23BulletSim: add locking around Meshmerizer use to eliminate possible raceRobert Adams1-145/+157
condition when extracting the convex hulls.
2013-05-22BulletSim: correct errors caused by misspelled INI parameter spec.Robert Adams1-3/+6
Add debugging messages for hull asset use.
2013-05-22BulletSim: add code to experimentally use asset hull data.Robert Adams1-4/+51
Default to 'off' as it needs debugging.
2013-05-21Revert "BulletSim: add code to experimentally use asset hull data."Robert Adams1-51/+4
This reverts commit 2fd8819a043269f9308cb46c71893e6eb35a426e. Remove this code until I can figure out why the references that are clearly in prebuild.xml doesn't work for the 'using OpenSim.Region.Physics.Meshing' in BSShape.cs.
2013-05-21BulletSim: add code to experimentally use asset hull data.Robert Adams1-4/+51
Default to 'off' as it needs debugging.
2013-05-21BulletSim: add gImpact shape type. Add logic to use gImpact shapeRobert Adams1-9/+121
for prims that have cuts or holes. Default logic to 'off' as it needs debugging.
2013-05-13BulletSim: add a lock to try and catch a native shape creation/destructionRobert Adams1-2/+7
race condition.
2013-05-10BulletSim: fix CPU loop that occurs when any 'degenerate' sculptieRobert Adams1-2/+6
is in a region. This fixes the high CPU usage for regions with nothing else going on.
2013-05-06BulletSim: properly free references to simple convex hull shapes. Didn'tRobert Adams1-8/+37
loose memory since shapes are shared but did mess up usage accounting.
2013-05-03BulletSim: zero vehicle motion when changing vehicle type.Robert Adams1-7/+2
Rebuild compound linkset of any child in the linkset changes shape. Comments and better detailed logging messages.
2013-05-02BulletSim: prims with no cuts created with single convex hull shape.Robert Adams1-0/+74
Parameter added to enable/disable this feature.
2013-05-02BulletSim: Rebuild physical body if physical shape changes for mesh and hull.Robert Adams1-18/+41
Properly rebuilds collision caches. Release asset data fetched when building mesh or hulls.
2013-05-01BulletSim: fix crash when mesh asset wasn't available when meshingRobert Adams1-10/+18
the first time. Debugging added for mesh/hull asset fetch.
2013-04-30BulletSim: improvements to LinksetCompound and PrimDisplaced. Not all ↵Robert Adams1-1/+1
working yet.
2013-04-29BulletSim: Add non-static BSShape.GetReference for getting another referenceRobert Adams1-32/+93
to an existing shape instance. BSShapeNative rebuilds shape for all references. BSShapeCompound returns another reference copy if the compound shape already exists (for linksets).
2013-04-29BulletSim: remove trailing white space to make git happier. No functional ↵Robert Adams1-10/+10
changes.
2013-04-29BulletSim: fix crash when creating new hull.Robert Adams1-13/+14
2013-04-29BulletSim: massive refactor of shape classes. Removed shape specific code ↵Robert Adams1-55/+148
from BSShapeCollection. Using BSShape* classes to hold references to shape. Simplified shape dependency callbacks. Remove 'PreferredShape' methods and have each class specify shape type. Disable compound shape linkset for a later commit that will simplify linkset implementation.
2013-04-29BulletSim: complete BSShape classes.Robert Adams1-16/+311
2013-04-24BulletSim: partial addition of BSShape class code preparing forRobert Adams1-38/+177
different physical mesh representations (simplified convex meshes) and avatar mesh.
2013-01-06BulletSim: comments and removing small compile errors introduced in last commit.Robert Adams1-6/+2
2013-01-06BulletSim: update DLLs and SOs with better debugging output.Robert Adams1-8/+137
Add definition of hand crafted avatar mesh. Not used yet. Comments and cleanup.
2012-12-31BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams1-3/+3
Only initialization and debug fuctions left.
2012-12-31BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams1-1/+7
(.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
2012-12-31BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams1-1/+6
BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
2012-12-29BulletSim: tweeking avatar capsule code in an attempt to haveRobert Adams1-0/+13
asymmetrical avatar capsule work now that rotation is being passed from the simulator. Turns out the Bullet capsule is just not very functional: it doesn't scale properly, the implementation only half does asymmetry and, in general, is hard to work with. Avatar shape is about what it was before these changes. Added initial data structures for avatar shape mesh.
2012-11-22Rename BulletSim's PhysicsShapeType to BSPhysicsShapeType because itMelanie1-8/+8
conflicts with PhysicsShape type defined in later libOMV
2012-11-21BulletSim: rename SHAPE_AVATAR to SHAPE_CAPSULE with the eye to eventually ↵Robert Adams1-3/+3
having mesh avatars.
2012-11-21BulletSim: uplevel FixedShapeKey out of ShapeData structure (since it is ↵Robert Adams1-3/+3
getting simplified out of existance someday) and update all the references to same.
2012-11-21BulletSim: uplevel PhysicsShapeType out of ShapeData structure (since it is ↵Robert Adams1-8/+8
getting simplified out of existance someday) and update all the references to that enum.
2012-11-18BulletSim: Use base class constructors for initialization of BSShape and ↵Robert Adams1-213/+208
other classes.
2012-11-07BulletSim: add skeleton classes for shape objectification. This will ↵Robert Adams1-0/+213
eventually replace all the if's and switches in ShapeCollection with polymorphism.