aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-17* Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2-1/+8
turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR. * Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore. * Avatars don't float off either.
2008-02-17Added copyright notices.Jeff Ames1-0/+28
2008-02-13* Bigish ODE stability Update. Run PrebuildTeravus Ovares2-0/+53
2008-02-13* Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares1-0/+8
(though I still don't recommend it for welcome regions unless object build is off. * Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode. * Added internal collision score and am keeping track of 'high usage' prim. * Tweaked collisions some more * Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
2008-02-13Clean up more unnecessary String.Format callsJeff Ames1-1/+1
2008-02-12* A bunch of updates to make things more smooth.Teravus Ovares1-1/+56
** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation) ** Disabling prim that inter-penetrate instead of just not attaching a joint ** Reduced prim spin a 'little' bit, but not *enough* ** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter ** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets. ** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method. ** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-11* Added PhysicsScene.Dispose()Teravus Ovares1-0/+6
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames2-5/+5
2008-02-05Converted logging to use log4net.Jeff Ames2-17/+21
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-01* Committing random physics stuff to the SVN for use laterTeravus Ovares1-0/+86
2008-01-29* Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares1-0/+17
gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
2007-12-27* Optimized usingslbsa717-77/+82
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-19* Re-did the mass calculations in ODE for Prim Teravus Ovares1-1/+24
* Exposed the mass as a PhysicsActor read only property (so scripts can get at it - hint hint -) * Hollow and Path Cuts affect the prim mass (all Hollow Types are supported in this calculation (sphere,square,triangle)) * Prim no longer sink into the ground.
2007-12-13Enabled the sit_ground animation. The sit state is not properly set, but it ↵Jeff Ames1-7/+0
looks okay, and doesn't seem to break anything. Just move around to stand up.
2007-12-12* Added some simstats to fill the simulator pane of the Statistics monitor.Teravus Ovares1-2/+3
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-11added copyright noticesJeff Ames1-0/+28
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames5-8/+8
notice of doom
2007-12-04keeping opensim safe for children -- made some namespace references less ↵Jeff Ames1-1/+1
explicit
2007-12-04* Fixed a whole bunch of console messages.Adam Frisby1-4/+4
2007-11-28* Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares1-0/+17
to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up. * Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-20*Huge* structural changes in ODE/OdePrim to get all of the calls in ↵Teravus Ovares1-0/+4
threadlocked code. ODEPrim was almost completely re-written. Copy/Space test needed.
2007-11-16* ODE step two on the way to separate dynamic space allocation ( One more to ↵Teravus Ovares1-0/+14
go )
2007-11-12* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.Teravus Ovares1-1/+6
* All thanks to unimplemented packet listing :D
2007-11-12* Added a lot of Glue to help with reporting proper collisions.Teravus Ovares1-2/+85
* ODE - Fixed the iscolliding property to report a static true when colliding. * Added reporting of collisions to call UpdateMovementAnimations * Added Jump - air animation (with arms outstretched). * Added Fall Animations * ODE - Added a small amount of X, Y motion control while jumping or Falling * ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
2007-11-12set svn:eol-style, reset default configJeff Ames1-74/+74
2007-11-12* Applied Gerhard's Meshing patch (Thanks! Gerhard)Teravus Ovares2-0/+84
* Addition of Gerhard's ZeroMesher. * Addition of meshing OpenSim.ini parameter * Some modifications to the Meshmerizer * Meshmerizer set to default meshing plugin because ZeroMesher needs a memory locking fix. We'll switch it back after the memory locking issue is resolved.
2007-11-11set svn:eol-styleJeff Ames1-26/+26
2007-11-10* Moves the Meshmerizer to a separate pluginTeravus Ovares3-14/+90
* Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....
2007-11-09* Added an internal throttle on ODE physics updatesTeravus Ovares1-0/+7
* Added a ThrottleUpdates member to PhysicsActor to expose 'throttle' ability to the Scene. * Updated the ode.dll file with a fix to invalid data passed to ODE's heightfield collision calculator.
2007-11-08* Fixed occasional character drift caused by sim not sending the avatar's ↵Teravus Ovares1-1/+19
final resting velocity. * Added Smooth moving prim * Added event to PhysicsActor RequestPhysicsterseUpdate to allow physics plugins to be able to schedule a terse update.
2007-11-08* Added Rotational Velocity reporting for Client Interpolation to Terse UpdatesTeravus Ovares1-1/+8
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-05prim cuts in ODEdan miller2-0/+64
Much thanks to Gerhard! Merged with Darok's recent changes re: physical prims
2007-11-03Changes in BulletXPlugin: Added new class BulletXActor class inherits from ↵darok2-3/+17
PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications.
2007-11-01* Diuerse beavtificatemslbsa711-2/+3
2007-10-31Thank you Teravus, very much, for a 'jump', 'crouch' and 'inertia' patch for ↵Charles Krinke1-1/+8
all three physics plugins.
2007-10-30* Optimized usingslbsa715-187/+119
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-1/+1
Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-22* Return of R2162. /Take that SVN!/Adam Frisby1-1/+1
2007-10-22revert r2162 as it completely clobbered all the work onSean Dague1-1/+1
the ChatModule by MW and myself. Couldn't find Adam online after that rev went in.
2007-10-22* Major ass commit.Adam Frisby1-1/+1
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first. * Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable. * Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-07applied Darok"s BulletXPlugin changes 003.patchdan miller1-0/+13
2007-09-29Hollow prims (box only), thanks Gerard! Enjoydan miller1-3/+11
2007-09-10mass update of urls in source code to new websiteSean Dague5-5/+5
2007-09-01once more, without the debug statements (ODE multi-region fixes, various ↵dan miller1-1/+1
debugging)
2007-08-28Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW4-4/+4
should equal project and directory.
2007-08-23Added RemovePrim method to the physics plugins interface.MW1-0/+7
Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
2007-08-23Added danx0r's physics patch, although for now have disabled the lines in ↵MW1-0/+1
Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
2007-08-19More prep work for adding prims to ODE physicsBrian McBee1-0/+18
2007-08-18starting to add bits and pieces to physics prims that we will eventually ↵Brian McBee1-2/+3
need for collisions. not hooked in yet.
2007-07-24* Reduced a significant number of compiler warnings (back down to 9 for all ↵Adam Frisby1-2/+2
projects combined, all 'never used' things)