aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Fix for a potential race condition in ScenePresence.AbsolutePositionJohn Hurliman2009-10-301-38/+40
| | | | | | | * Unified the way region handles are stored and used in ScenePresence * Fixed camera position for child agents * CheckForSignificantMovement now checks avatar and camera position (both are important for scene prioritization) * Removing debug code from the previous commit
* * Fixed a NullReferenceException in GetMovementAnimation() and added more ↵John Hurliman2009-10-291-29/+35
| | | | | | protection against NREs in AddNewMovement() * Removed the three second limit on ImprovedTerseObjectUpdate. With the latest fixes I don't think this is necessary, and it generates a lot of unnecessary updates in a crowded sim
* * Commented out two noisy debug lines in the LLUDP serverJohn Hurliman2009-10-291-139/+124
| | | | * Misc. cleanup in ScenePresence.HandleAgentUpdate()
* * Implemented foot collision plane for avatarsJohn Hurliman2009-10-291-215/+44
| | | | * Fixed a NullReferenceException regression
* Ported the Simian avatar animation system to OpenSim. Landing is currently ↵John Hurliman2009-10-291-36/+203
| | | | not working
* Fixing NullReferenceException regression in the previous commitJohn Hurliman2009-10-291-1/+1
|
* * Log progress messages when loading OAR files with a lot of assetsJohn Hurliman2009-10-291-8/+12
| | | | | * 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
* Small performance tweaks to code called by the heartbeat loopJohn Hurliman2009-10-281-62/+17
|
* * Standalone logins will now go through the sequence of "requested region, ↵John Hurliman2009-10-281-9/+12
| | | | | | | default region, any region" before giving up * Hip offset should have been added not subtracted (it's a negative offset). This puts avatar feet closer to the ground * Improved duplicate checking for terse updates. This should reduce bandwidth and walking through walls
* * Reduce the velocity tolerance on sending terse updates to avoid slowly ↵John Hurliman2009-10-281-1/+1
| | | | | | drifting prims/avatars * Added contacts_per_collision to the ODE config section. This allows you to reduce the maximum number of contact points ODE will generate per collision and reduce the size of the array that stores contact structures
* Track timestamps when terse updates were last sent for a prim or avatar to ↵John Hurliman2009-10-281-1/+5
| | | | avoid floating away forever until a key is pressed (deviates from SL behavior in a hopefully good way)
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-10/+8
|
* * Double the priority on avatar bake texture requests to get avatars rezzing ↵John Hurliman2009-10-261-48/+21
| | | | | | in faster than the surrounding scene * Adds duplicate tracking for SceneObjectParts and ScenePresences to avoid sending out duplicate ImprovedTerseObjectUpdate packets
* Minor tweaks to get OpenSim compiling against both the current libomv and ↵John Hurliman2009-10-251-1/+1
| | | | the upcoming 0.8.0
* Implemented a "FrontBack" prioritizer, using distance plus the plane ↵John Hurliman2009-10-231-0/+44
| | | | equation to give double weight to prims/avatars in front of you
* Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2009-10-231-8/+13
| | | | avoiding locking and copying the list each time it is accessed
* * Send out m_bodyRot everywhere instead of m_rotation. Still have no clue ↵John Hurliman2009-10-221-8/+7
| | | | | | which is right * Fix WorldMapModule.process() to not trip the watchdog timer
* Forgot to hit save in the last commitJohn Hurliman2009-10-221-1/+1
|
* * Sending (position - hipoffset) instead of positionJohn Hurliman2009-10-221-5/+2
| | | | * Sending m_rotation instead of m_bodyRot in full updates to match terse updates (no idea which one is right!)
* * Removed the unused m_agentUpdates collection and some extra work that was ↵John Hurliman2009-10-201-93/+33
| | | | | | being done for AgentUpdate packets * Start LLUDPClients unpaused (this variable is not being used yet)
* * Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate ↵John Hurliman2009-10-181-9/+13
| | | | | | | | | | packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away * Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
* Committing the second part of Jim Greensky @ Intel Lab's patch, ↵John Hurliman2009-10-171-2/+110
| | | | re-prioritizing updates
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-161-3/+5
|\ | | | | | | prioritization
| * * One more tweak to inform the user that they may not be able to move until ↵Teravus Ovares (Dan Olivares)2009-10-161-3/+5
| | | | | | | | relogging.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-161-3/+14
|\ \ | |/ | | | | prioritization
| * * Make sure to unregister the OutOfBounds Physics event in ↵Teravus Ovares (Dan Olivares)2009-10-161-0/+1
| | | | | | | | RemoveFromPhysicalScene or we'll be leaking
| * * A hacky attempt at resolving mantis #4260. I think ODE was unable to ↵Teravus Ovares (Dan Olivares)2009-10-161-0/+9
| | | | | | | | | | | | allocate memory, and therefore the unmanaged wrapper call fails or worse.. there's some unmanaged resource accounting in the ODEPlugin for ODECharacter that isn't being done properly now. * The broken avatar may not be able to move, but it won't stop simulate from pressing on now. And, the simulator will try to destroy the avatar's physics proxy and recreate it again... but if this is what I think it is, it may not help.
| * * Request from lkalif to have the Sim send a coarselocationupdate for each ↵Teravus Ovares (Dan Olivares)2009-10-151-3/+4
| | | | | | | | | | | | | | avatar in the sim, including yourself. * Apparently the LLClientView should have been doing this previously.. Also fixed the 'You' on the index block.. so the client doesn't display an extra green dot. * Thanks lkalif for bringing it to our attention.
* | Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2009-10-151-14/+44
| | | | | | | | implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
* | * Removed some of the redundant broadcast functions in Scene and SceneGraph ↵John Hurliman2009-10-151-6/+5
|/ | | | | | | | so it is clear who/what the broadcast is going to each time * Removed two redundant parameters from SceneObjectPart * Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs) * Committing a preview of a new method for sending object updates efficiently (all commented out for now)
* * Replaced (possibly broken?) math for calculating the unix timestamp in ↵John Hurliman2009-10-141-2/+3
| | | | | | | MySQLAssetData with Utils.DateTimeToUnixTime() * Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
* * comment out the velocity test, using updates every 500 ms as set in ↵Teravus Ovares (Dan Olivares)2009-10-101-2/+4
| | | | | | | ScenePresence.AddToPhysicalScene. * This causes time to be counted in ODECharacter and, when a collision occurs, the physics scene will report the collisions only if the the difference of last time it reported the collisions from now was more then the set ms. * This is cool because the time accrues while collisions are not taking place and when they do take place again, you get an immediate update.
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-10-101-1/+1
|\
| * Adjust velocity threshold for triggering flailing. Thanks to KittoFlora for ↵dahlia2009-10-101-1/+1
| | | | | | | | researching this.
* | * Make ODECharacter respect the scene's requested collision update timeTeravus Ovares (Dan Olivares)2009-10-101-1/+1
|/ | | | * Set the Scene collision update time to 500 ms
* * Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This ↵Teravus Ovares (Dan Olivares)2009-10-101-1/+1
| | | | may reduce avatar flailing.
* * Move the 'On Collision Update Movement Animation' routine to above the ↵Teravus Ovares (Dan Olivares)2009-10-101-3/+8
| | | | 'm_invulnerable' test. It doesn't fix anything but it should really be there anyway.
* Merge branch 'master' into diva-texturesMelanie2009-10-021-11/+13
|\
| * Formatting cleanup.Jeff Ames2009-10-011-1/+1
| |
| * Formatting cleanup.Jeff Ames2009-10-011-7/+7
| |
| * First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2009-09-261-2/+4
| | | | | | | | minimally. A few bugs to catch now.
| * Alternate algorithm for fixing avatar capsule tilt (Mantis #2905)nlin2009-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate dynamic capsule wobble. Instead introduce a small, fixed tilt, and allow the tilt to rotate with the avatar while moving; the tilt always faces away from the direction of avatar movement. The rotation while moving should eliminate direction-dependent behavior (e.g. only being able to climb on top of prims from certain directions). Falling animation is still too frequently invoked. Ideally the tilt should be completely eliminated, but doing so currently causes the avatar to fall through the terrain.
* | * Change the signature of the agent set appearance callback to prevent ↵John Hurliman2009-09-301-7/+32
|/ | | | | | | unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes * Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
* * More comments in the RegionCombinerModuleTeravus Ovares (Dan Olivares)2009-09-131-4/+22
| | | | | | * Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?) * Added border based trigger teleports * Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
* * Moves ScenePresence SendCourseLocations to a delegate and provide a method ↵Teravus Ovares (Dan Olivares)2009-09-051-0/+23
| | | | | | | to replace the delegate * RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region. * Fixes Mini Map display on combined regions.
* * Fix attachment cross issues with new borders.Teravus Ovares (Dan Olivares)2009-08-311-1/+1
|
* * Deal with teleports to other virtual regions in the same scene.Teravus Ovares (Dan Olivares)2009-08-281-0/+1
|
* * Switch border cross tests over to the new Border class.Teravus Ovares (Dan Olivares)2009-08-201-8/+9
| | | | * Use List<Border> for each cardinal to allow for irregular regions.
* Add Border (a virtual border management class)Teravus Ovares (Dan Olivares)2009-08-191-4/+1
| | | | Move Cardinals to it's own file.
* Removing the conditional for assetID=Zero upon rezzing attachments on login.Diva Canto2009-08-161-5/+7
|