aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-18On Windows automatically load the correct native ODE library depending on ↵Justin Clark-Casey (justincc)1-1/+2
whether the process is 32-bit or 64-bit In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory. However, this is completely untested since I don't currently own a 64-bit Windows box. Feedback appreciated. Using OpenSim.32BitLaunch.exe should continue to work. Other platforms are unaffected. This will currently not work with sqlite - I will add that too if this works.
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake1-1/+2
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake1-1/+2
2011-11-25remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-11-22Comment out uncalled OdeScene.UnCombine()Justin Clark-Casey (justincc)1-8/+2
2011-11-21Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of ↵Justin Clark-Casey (justincc)1-0/+9
maintaining their own properties
2011-11-21Actually remove PhysicsActor.SOPDescription this timeJustin Clark-Casey (justincc)1-1/+3
2011-11-16Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their ↵Justin Clark-Casey (justincc)1-6/+10
own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId! Instead, just have both subclasses use the PhysicsActor.LocalID property. This restores collision functionality that fell away in 45c7789 yesterday
2011-10-27Fix a bug I introduced yesterday in ODE physics where prim scripts would ↵Justin Clark-Casey (justincc)1-0/+2
only receive the very first collision.
2011-10-25Remove unused fields from CollisionEventUpdateJustin Clark-Casey (justincc)1-24/+6
2011-10-25Get rid of the pointless null checks on collision listeners. Add warning ↵Justin Clark-Casey (justincc)1-0/+6
about synchronicity for PhysicsActor.OnCollisionUpdate event doc
2011-10-25When sending object collision updates, don't null out and recreate the ↵Justin Clark-Casey (justincc)1-0/+5
CollisionEventUpdate() if the number of collisions falls to zero. Reuse the existing one instead.
2011-10-25For ScenePresence collision events, instead of creating a new ↵Justin Clark-Casey (justincc)1-0/+8
CollisionEventsThisFrame every time we need to send some new ones, reuse the existing one instead. This assumes that the listener is using the data synchronously, which is currently the case.
2011-10-18Store scene identifier passed in to OdeScene for later debug messagesJustin Clark-Casey (justincc)1-0/+5
2011-10-15refactor: make methods that do not need to be public in ODE private or ↵Justin Clark-Casey (justincc)1-1/+0
internal to aid code reading/analysis. Remove some unused method arguments
2011-10-14Extract NullPhysicsScene from PhysicsScene to improve code readabilityJustin Clark-Casey (justincc)2-88/+125
2011-10-13More method doc and formatting changes. Makes DestroyOdeStructures() privateJustin Clark-Casey (justincc)1-2/+23
2011-10-13refactor: move 3x copy/pasted ode structure removal code in ODECharacter ↵Justin Clark-Casey (justincc)1-1/+22
into a DestroyOdeStructures() method also adds some method doc
2011-08-28Add level of detail specification to optionally reduce the number of ↵Robert Adams1-0/+11
vertices in generated prim meshes Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-08-18BulletSim: add runtime setting of physics parameters. Update default values.Robert Adams1-0/+73
2011-08-01refactor: centralize prim geom removal code from four places to oneJustin Clark-Casey (justincc)1-0/+4
2011-07-20Removed unused AddPrimShape methods in PhysicsScene caused by merge conflictsDan Lake1-14/+0
2011-07-15Fix some local id issues in physics glueroot1-12/+7
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)1-1/+23
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)1-1/+4
2011-06-15Add localID to physical object creation functions.Mic Bowman2-1/+21
2010-09-26adding configurable j2kDecodeCache pathBlueWall2-3/+4
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
2010-02-14Revolution is on the roll again! :)Revolution2-2/+16
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-1/+1
2009-12-22Glue code for a couple of new LSL function implementationsMelanie1-2/+12
2009-12-05* Adds Normal to the fields returned by the Physics RaycasterTeravus Ovares (Dan Olivares)1-2/+2
* Fixes recognizing when a sit target is and isn't set. * * 1. Vector3.Zero. * * 2. Orientation: x:0, y:0, z:0, w:1 - ZERO_ROTATION * * (or) Orientation: x:0, y:0, z:0, w:0 - Invalid Quaternion * * (or) Orientation: x:0, y:0, z:1, w:0 - Invalid mapping, some older objects still exist with it
2009-10-29* Log progress messages when loading OAR files with a lot of assetsJohn Hurliman1-8/+21
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-27Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman1-0/+5
The scene is still the one reporting dilation so this does not break the API or remove flexibility, but it gets the calculation happening in the right place for the normal OpenSim usage. The actual calculation of physics time dilation probably needs tweaking
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman7-82/+85
2009-10-25Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman1-0/+3
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
2009-10-19Formatting cleanup.Jeff Ames1-1/+1
2009-10-05Eliminate pinned Mesh data on managed heap by using IntPtrs to memory ↵Dan Lake1-0/+2
allocated on the unmanaged heap. This prevents fragmentation of the managed heap and the resulting stress on GC. A region with ~150,000 prims using ODE and Meshmerizer saw memory remain flat around 1.2GB as opposed to 1.5GB and continually growing due to pinned memory. This patch complements the unique mesh dictionary patch applied to Meshmerizer but is independent. The net effect is a 60-75% reduction in memory for our largest regions.
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-10-01Formatting cleanup.Jeff Ames2-2/+2
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)1-0/+5
right in the new border framework. * This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-08-26Add copy constructor to PhysicsVector.Jeff Ames1-0/+5
2009-08-18* Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)1-1/+1
2009-08-15* part one of adding physics combiningTeravus Ovares (Dan Olivares)1-0/+10
2009-07-23Formatting cleanup.Jeff Ames1-1/+1
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-0/+36
a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames10-10/+10
LICENSE.txt.
2009-05-25* Upped version number to 0.6.5lbsa711-1/+1
2009-04-20* Allow passing of material type to physics engineTeravus Ovares1-0/+10
* Define low friction and medium bounce for Glass
2009-04-14* Adding some organization of vehicle type stuff in the ODEPlugin.Teravus Ovares1-0/+113
* Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
2009-04-11* Instead of referencing mesh stuff in the physics plugin.. change the IMesh ↵Teravus Ovares1-0/+2
Interface. (blame prebuild)