aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused fields from CollisionEventUpdateJustin Clark-Casey (justincc)2011-10-251-24/+6
|
* Get rid of the pointless null checks on collision listeners. Add warning ↵Justin Clark-Casey (justincc)2011-10-251-0/+6
| | | | about synchronicity for PhysicsActor.OnCollisionUpdate event doc
* When sending object collision updates, don't null out and recreate the ↵Justin Clark-Casey (justincc)2011-10-251-0/+5
| | | | CollisionEventUpdate() if the number of collisions falls to zero. Reuse the existing one instead.
* For ScenePresence collision events, instead of creating a new ↵Justin Clark-Casey (justincc)2011-10-251-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.
* Store scene identifier passed in to OdeScene for later debug messagesJustin Clark-Casey (justincc)2011-10-181-0/+5
|
* refactor: make methods that do not need to be public in ODE private or ↵Justin Clark-Casey (justincc)2011-10-151-1/+0
| | | | internal to aid code reading/analysis. Remove some unused method arguments
* Extract NullPhysicsScene from PhysicsScene to improve code readabilityJustin Clark-Casey (justincc)2011-10-142-88/+125
|
* More method doc and formatting changes. Makes DestroyOdeStructures() privateJustin Clark-Casey (justincc)2011-10-131-2/+23
|
* refactor: move 3x copy/pasted ode structure removal code in ODECharacter ↵Justin Clark-Casey (justincc)2011-10-131-1/+22
| | | | | | into a DestroyOdeStructures() method also adds some method doc
* Merge branch 'master' into bulletsimMic Bowman2011-08-291-0/+11
|\
| * Add level of detail specification to optionally reduce the number of ↵Robert Adams2011-08-281-0/+11
| | | | | | | | | | | | vertices in generated prim meshes Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* | BulletSim: add runtime setting of physics parameters. Update default values.Robert Adams2011-08-181-0/+73
|/
* refactor: centralize prim geom removal code from four places to oneJustin Clark-Casey (justincc)2011-08-011-0/+4
|
* Removed unused AddPrimShape methods in PhysicsScene caused by merge conflictsDan Lake2011-07-201-14/+0
|
* Fix some local id issues in physics glueroot2011-07-151-12/+7
|
* Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)2011-07-121-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.
* minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)2011-07-081-1/+4
|
* Add localID to physical object creation functions.Mic Bowman2011-06-152-1/+21
|
* adding configurable j2kDecodeCache pathBlueWall2010-09-262-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
* Revolution is on the roll again! :)Revolution2010-02-142-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>
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
|
* Glue code for a couple of new LSL function implementationsMelanie2009-12-221-2/+12
|
* * Adds Normal to the fields returned by the Physics RaycasterTeravus Ovares (Dan Olivares)2009-12-051-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
* * Log progress messages when loading OAR files with a lot of assetsJohn Hurliman2009-10-291-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
* Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman2009-10-271-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
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-267-82/+85
|
* Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-251-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
* Formatting cleanup.Jeff Ames2009-10-191-1/+1
|
* Eliminate pinned Mesh data on managed heap by using IntPtrs to memory ↵Dan Lake2009-10-051-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.
* Formatting cleanup.Jeff Ames2009-10-011-2/+2
|
* Formatting cleanup.Jeff Ames2009-10-012-2/+2
|
* * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)2009-09-021-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.
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-08-261-0/+5
|\
| * Add copy constructor to PhysicsVector.Jeff Ames2009-08-261-0/+5
| |
* | * Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)2009-08-181-1/+1
| |
* | * part one of adding physics combiningTeravus Ovares (Dan Olivares)2009-08-151-0/+10
|/
* Formatting cleanup.Jeff Ames2009-07-231-1/+1
|
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-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)
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0110-10/+10
| | | | LICENSE.txt.
* * Upped version number to 0.6.5lbsa712009-05-251-1/+1
|
* * Allow passing of material type to physics engineTeravus Ovares2009-04-201-0/+10
| | | | | * Define low friction and medium bounce for Glass
* * Adding some organization of vehicle type stuff in the ODEPlugin.Teravus Ovares2009-04-141-0/+113
| | | | | * Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
* * Instead of referencing mesh stuff in the physics plugin.. change the IMesh ↵Teravus Ovares2009-04-111-0/+2
| | | | Interface. (blame prebuild)
* * Added a routine to check if a PhysicsVector and Quaternion is finiteTeravus Ovares2009-04-071-0/+14
| | | | | | * Now validating input to the Physics scene and warning when something is awry. * This should help nail down that Non Finite Avatar Position Detected issue.
* * Upped trunk version number to 0.6.4 as we just tagged 0.6.4-releaselbsa712009-04-011-1/+1
|
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-1/+25
| | | | | | | | | | llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, and it should recalculate the absolute height to hover at as an object moves to reflect the current ground/water height under it. Correctly implementing required adjusting the Physics interfaces and implementing at the physics plug-in level. The attached is a patch that correctly implements llSetHoverHeight() including updates to the ODE physics plug-in.
* * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa712009-02-201-3/+3
| | | | 0.6.3.* to better track down dll ref and overwrite problems.
* * Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor ↵lbsa712009-02-191-1/+1
| | | | poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
* This started as way to correct Mantis #3158, which I believe should be fixed ↵diva2009-02-151-2/+2
| | | | now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
* Reverts patch from tuco/mikkopa/sempuki mantis #3072Teravus Ovares2009-02-082-9/+0
|