Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BulletSim: move new linear deflection code to own routine. | Robert Adams | 2013-06-21 | 1 | -29/+35 |
| | | | | | Remove VehicleForwardVelocity changed storage since the value will be modified as movement is processed. | ||||
* | BulletSim: Implementation of Linear Deflection, it is a partial help for the ↵ | Vegaslon | 2013-06-20 | 1 | -5/+33 |
| | | | | | | vehicle tuning diffrence between Opensim and Second life. Signed-off-by: Robert Adams <Robert.Adams@intel.com> | ||||
* | BulletSim: rework velocity updating when not colliding and not flying | Robert Adams | 2013-06-20 | 2 | -5/+42 |
| | | | | | | | to prevent infinite jumps. Now jumps last only AvatarJumpFrames long (default 4) which is about as high as in SL. TODO: jumping should only depend on standing (collision with feet) rather than collision anywhere on the avatar. | ||||
* | BulletSim: when meshing or asset fetching fails, include position | Robert Adams | 2013-06-11 | 2 | -14/+30 |
| | | | | and region with the offending object's name in the error message. | ||||
* | BulletSim: add failure flag for meshing failure vs asset fetch failure | Robert Adams | 2013-06-10 | 4 | -34/+51 |
| | | | | | | so error messages make more sense. Change some BulletSim status log messages from WARN to INFO. Update TODO list. | ||||
* | BulletSim: default PhysicsTimeStep to same as the simulator's | Robert Adams | 2013-06-05 | 1 | -1/+1 |
| | | | | | | heartbeat timestep when running the physics engine on a separate thread. This reduces the occurance of heartbeats that happen when there is no physics step which is seen as vehicle jerkyness. | ||||
* | BulletSim: fix corner case when rebuilding a compound linkset while | Robert Adams | 2013-06-05 | 1 | -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. | ||||
* | BulletSim: experimental movement of physics execution off of heartbeat | Robert Adams | 2013-06-01 | 3 | -73/+209 |
| | | | | | | | | | | thread. Off by default until more testing. Setting "[BulletSim]UseSeparatePhysicsThread=true" causes the physics engine to be called on its own thread and the heartbeat thread only handles the reporting of property updates and collisions. Physics frame rate is about right but physics execution time goes to zero as accounted by the heartbeat loop. | ||||
* | BulletSim: don't zero motion when changing vehicle type. | Robert Adams | 2013-05-28 | 1 | -1/+4 |
| | | | | | Some vehicle scripts change type on the fly as an easy way of setting all the parameters (like a plane changing to a car when on the ground). | ||||
* | BulletSim: default using mesh asset hulls to 'true'. This means that, | Robert Adams | 2013-05-27 | 1 | -2/+2 |
| | | | | | | if the mesh asset specifies physics hulls, BulletSim will fetch and use same rather than approximating the hulls. If physics hulls are not specified, the representation will fall back to the regular physics mesh. | ||||
* | BulletSim: enable GImpact shape for prims with cuts. Include DLLs and SOs | Robert Adams | 2013-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | which recompute GImpact shape bounding box after creation as Bullet doesn't do that itself (something it does for nearly every other shape). Now, physical prims without cuts become single mesh convex meshes. Physical prims with cuts become GImpact meshes. Meshes become a set of convex hulls approximated from the mesh unless the hulls are specified in the mesh asset data. The use of GImpact shapes should make some mechanical physics more stable. | ||||
* | Meshmerizer: remember to add the copied hull verts to the list of hulls. | Robert Adams | 2013-05-24 | 1 | -0/+1 |
| | |||||
* | BulletSim: add VehicleInertiaFactor to allow modifying inertia. | Robert Adams | 2013-05-24 | 2 | -1/+5 |
| | | | | | Another parameter for vehicle operation tuning. Default to <1,1,1> which means nothing is different under normal use. | ||||
* | BulletSim: properly set mesh hash key in use tracking structure. | Robert Adams | 2013-05-24 | 1 | -1/+4 |
| | | | | Shouldn't see any functional difference. | ||||
* | Meshmerizer: add INI parameter to enable DEBUG mesh detail logging. | Robert Adams | 2013-05-24 | 1 | -3/+6 |
| | | | | | | | | Default to off. To turn mesh parsing DEBUG detail logging on, add [Mesh] LogMeshDetail=true to the INI file. | ||||
* | change a hull debugging message to Debug instead of Info | dahlia | 2013-05-24 | 1 | -1/+1 |
| | |||||
* | correct some errors in decoding of mesh asset convex decomposition data | dahlia | 2013-05-24 | 1 | -53/+83 |
| | |||||
* | add decoder for bounding convex hull | dahlia | 2013-05-23 | 1 | -4/+53 |
| | |||||
* | Add DEBUG level logging in Meshmerizer for mesh parsing. There is | Robert Adams | 2013-05-23 | 1 | -2/+25 |
| | | | | a compile time variable to turn this logging off if it is too spammy. | ||||
* | BulletSim: add locking around Meshmerizer use to eliminate possible race | Robert Adams | 2013-05-23 | 1 | -145/+157 |
| | | | | condition when extracting the convex hulls. | ||||
* | BulletSim: correct errors caused by misspelled INI parameter spec. | Robert Adams | 2013-05-22 | 2 | -4/+7 |
| | | | | Add debugging messages for hull asset use. | ||||
* | BulletSim: add code to experimentally use asset hull data. | Robert Adams | 2013-05-22 | 2 | -4/+54 |
| | | | | Default to 'off' as it needs debugging. | ||||
* | BulletSim: fix problem with walking up stairs that are oriented | Robert Adams | 2013-05-22 | 1 | -2/+9 |
| | | | | | in certain directions. The problem was really that the avatar capsule orientation was being set incorrectly. | ||||
* | Revert "BulletSim: add code to experimentally use asset hull data." | Robert Adams | 2013-05-21 | 2 | -54/+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. | ||||
* | BulletSim: add code to experimentally use asset hull data. | Robert Adams | 2013-05-21 | 2 | -4/+54 |
| | | | | Default to 'off' as it needs debugging. | ||||
* | BulletSim: add gImpact shape type. Add logic to use gImpact shape | Robert Adams | 2013-05-21 | 7 | -14/+167 |
| | | | | | for prims that have cuts or holes. Default logic to 'off' as it needs debugging. | ||||
* | Merge branch 'master' of git://opensimulator.org/git/opensim | Robert Adams | 2013-05-21 | 1 | -21/+110 |
|\ | |||||
| * | fix error in hull point indexing | dahlia | 2013-05-18 | 1 | -1/+1 |
| | | |||||
| * | remove duplicate hull scaling | dahlia | 2013-05-18 | 1 | -3/+3 |
| | | |||||
| * | add prototype code to decode convex hulls from mesh assets. Please do not ↵ | dahlia | 2013-05-18 | 1 | -21/+110 |
| | | | | | | | | use yet; the interface will be defined in a later commit. | ||||
* | | BulletSim: fix BulletSim crashing if there is no [BulletSim] section | Robert Adams | 2013-05-17 | 2 | -8/+12 |
|/ | | | | in any INI file. Update TODO list. | ||||
* | fall back to using a display mesh for physics proxy if no physics_mesh entry ↵ | dahlia | 2013-05-15 | 1 | -0/+4 |
| | | | | was wound in a mesh asset | ||||
* | BulletSim: Fix for mantis 6487, also minor adjustment to fix flying while ↵ | Vegaslon | 2013-05-14 | 1 | -2/+5 |
| | | | | | | you are running. Signed-off-by: Robert Adams <Robert.Adams@intel.com> | ||||
* | BulletSim: add a lock to try and catch a native shape creation/destruction | Robert Adams | 2013-05-13 | 1 | -2/+7 |
| | | | | race condition. | ||||
* | BulletSim: add adjustment for avatar capsule height scaling. Makes | Robert Adams | 2013-05-13 | 2 | -4/+32 |
| | | | | avatar standing on ground view better and enables tuning. | ||||
* | BulletSim: use heightmap terrain when using BulletXNA. | Robert Adams | 2013-05-13 | 2 | -1/+5 |
| | | | | Output messages on features disabled when using BulletXNA. | ||||
* | BulletSim: fix CPU loop that occurs when any 'degenerate' sculptie | Robert Adams | 2013-05-10 | 1 | -2/+6 |
| | | | | | is in a region. This fixes the high CPU usage for regions with nothing else going on. | ||||
* | Bulletsim: and the rotational friction. | Vegaslon | 2013-05-07 | 1 | -3/+5 |
| | | | | Signed-off-by: Robert Adams <Robert.Adams@intel.com> | ||||
* | BulletSim: Another way to create vehicle framed friction. | Vegaslon | 2013-05-07 | 1 | -3/+5 |
| | | | | Signed-off-by: Robert Adams <Robert.Adams@intel.com> | ||||
* | BulletSim: normalize quaternian rotations when building compound linksets. | Robert Adams | 2013-05-06 | 1 | -7/+7 |
| | | | | Attempt to fix vehicles being twisted off the ground when they go physical. | ||||
* | BulletSim: properly free references to simple convex hull shapes. Didn't | Robert Adams | 2013-05-06 | 1 | -8/+37 |
| | | | | loose memory since shapes are shared but did mess up usage accounting. | ||||
* | BulletSim: apply linear and angular friction in vehicle coordinates | Robert Adams | 2013-05-06 | 1 | -6/+6 |
| | | | | and not world coordinates. | ||||
* | BulletSim: remove friction calcuation from BSMotor and move linear and | Robert Adams | 2013-05-06 | 7 | -67/+47 |
| | | | | | | | angular friction computation into linear and angular movement code. The friction wasn't being applied properly. This will make it so vehicles don't drift as much and the drift is tunable by changing the friction timescales. | ||||
* | BulletSim: simplify parameter specification by reducing the number of | Robert Adams | 2013-05-06 | 2 | -191/+94 |
| | | | | specifications required for simple properties with defaults. | ||||
* | BulletSim: extend BSActorLockAxis to allow locking linear movement in | Robert Adams | 2013-05-06 | 3 | -10/+28 |
| | | | | addition to angular movement. Not enabled by anything yet. | ||||
* | BulletSim: zero vehicle motion when changing vehicle type. | Robert Adams | 2013-05-03 | 6 | -26/+18 |
| | | | | | Rebuild compound linkset of any child in the linkset changes shape. Comments and better detailed logging messages. | ||||
* | BulletSim: prims with no cuts created with single convex hull shape. | Robert Adams | 2013-05-02 | 4 | -2/+99 |
| | | | | Parameter added to enable/disable this feature. | ||||
* | BulletSim: Rebuild physical body if physical shape changes for mesh and hull. | Robert Adams | 2013-05-02 | 4 | -24/+73 |
| | | | | | Properly rebuilds collision caches. Release asset data fetched when building mesh or hulls. | ||||
* | BulletSim: fix crash when mesh asset wasn't available when meshing | Robert Adams | 2013-05-01 | 2 | -10/+19 |
| | | | | | the first time. Debugging added for mesh/hull asset fetch. | ||||
* | BulletSim: rework LinksetCompound to work with new BSShape system. | Robert Adams | 2013-05-01 | 1 | -106/+40 |
| | | | | Not all working yet. |