aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-03Change access levels from private to protected to facilitateMike Mazur7-216/+225
subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
2009-01-31* Tweaks some locks when modifying an ODECharacter. This actually allows a ↵Teravus Ovares2-17/+45
user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit. * If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain. Once the sim finishes starting up, it'll all resume as normal.
2009-01-21* More friendly OpenJpeg error handling.Teravus Ovares1-0/+11
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that. * In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-21Fix an error in sculpt LOD calculationDahlia Trimble1-3/+3
2009-01-14Improve parsing of joint parameters for NINJA physics (Mantis #2966). nlin1-1/+1
Multiple spaces or leading/trailing spaces when specifying the prims to connect should no longer cause problems.
2009-01-04sync with primmesher r26 on forgeDahlia Trimble1-36/+162
2009-01-04Improve LOD scaling for anisotropic sculpted prim meshesDahlia Trimble1-1/+2
2008-12-31Slight optimisation: Don't check for duplication if we won't use the result ↵Homer Horwitz1-7/+7
anyway.
2008-12-31- Added the fixed Ode.NET.dllHomer Horwitz1-5/+5
- Adapted code to match the corrected signatures - Fixes Mantis #2934. Hopefully. Note: Physics on linked objects still don't work correctly: It doesn't crash the region anymore, but the example object in the mentioned mantis now falls through the ground.
2008-12-31Added a missing setMass for initializing the mass of primsHomer Horwitz1-1/+2
2008-12-30* Remove mono compiler warningsJustin Clarke Casey1-1/+0
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
2008-12-30Update svn properties, minor formatting cleanup.Jeff Ames3-112/+112
2008-12-28* More NINJA Joint physics fixes from nlin.Teravus Ovares3-11/+11
fixes mantis #2874
2008-12-27* Fixes mantis #2922Teravus Ovares3-11/+11
* Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
2008-12-26* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares6-2/+769
* Thanks nlin! * To try it out, set ninja joints active in the ODEPhysicsSettings and use the example at: * http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz. * Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-22Removed some debugging code that was inadvertently left in in my last commit :/Dahlia Trimble1-3/+0
2008-12-22Fix a floating point comparison that was causing some misshaped triangles on ↵Dahlia Trimble1-8/+19
some prim faces
2008-12-20Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2-2/+25
On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
2008-12-18Enabled complex meshing for simple box prims with non-zero shearDahlia Trimble1-2/+3
2008-12-17* remove mono compiler warningsJustin Clarke Casey4-8/+8
* should work - the last compile failure looks like a random glitch...
2008-12-15* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey8-20/+38
* This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to. * Thanks Gerhard
2008-12-14* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares8-3/+160
ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-14* Added Avatar minimum size in the ODEPlugin and a stern warning about ↵Teravus Ovares1-0/+15
setting the capsule size too low in OpenSim.ini
2008-12-14* A Few physical prim + linkset fixes. Prevent some crashesTeravus Ovares1-19/+51
2008-12-10* Committing a slightly distilled version of nlin's ODECharacter race ↵Teravus Ovares2-45/+139
condition eliminator. * The modifications that I made were only so that it didn't require changes to the public physics api.
2008-12-09* Fixes a few instances of llSetStatus with Axis lock gone wrong. Teravus Ovares1-4/+46
* Sums up the masses of the objects within a physical linkset
2008-12-09Minor formatting cleanup.Jeff Ames1-2/+2
2008-12-09* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares9-1/+48
* Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09clean up some old debugging codeDahlia Trimble1-43/+0
2008-12-08* Adds some rudimentary error handling to the physics debug drawstuff tool.Teravus Ovares1-6/+16
2008-12-07* Tweaks physics so that linked prim are a single body. This will make ↵Teravus Ovares3-83/+687
linked prim more stable and probably the last obstacle to vehicles physics wise. * Fixed a bug that caused physics proxies to be scattered when you link an object. * Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-12-05killing warnings, reformatting RemoteAdminPluginDr Scofield1-1/+1
2008-12-04* Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.Justin Clarke Casey1-2/+5
* Initializes ODE only when a scene is grabbed rather than on plugin load. This means we don't initialize ode if that physics engine is not used, and it allows other ode use plugins to be used instead.
2008-12-03Update svn properties.Jeff Ames2-2511/+2511
2008-12-01Remove duplicated avatar height calculation in lsl functions.idb3-17/+34
Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
2008-11-30Revert r7548 and r7549 until someone with prebuild-fu can help structure the ↵Dahlia Trimble2-0/+2511
dependencies
2008-11-30Removed remaining meshing codeDahlia Trimble2-2511/+0
Add PrimMesher.dll r21 All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-29Update meshing code to sync with current PrimMesher.cs on forge.Dahlia Trimble8-3042/+525
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies. Remove much obsolete code from Region/Physics/Meshing
2008-11-20* refactor: change some method names and doc in the physics plugin managerJustin Clarke Casey1-13/+13
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20* Allow physics dlls to be loaded separately, rather than just the contents ↵Justin Clarke Casey1-12/+30
of bin/Physics * This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
2008-11-20* Add enough infrastructure code to run an extremely basic and flaky add ↵Justin Clarke Casey1-1/+1
root agent scene test
2008-11-19Guard against a strange nullref in ODEMelanie Thielker1-0/+5
2008-11-16Changed sculpted prim texture scaling method to bilinear to reduce scaling ↵Dahlia Trimble1-1/+2
artifacts
2008-11-14* minor: remove mono compiler warningsJustin Clarke Casey1-1/+1
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey1-1/+1
SceneGraph to make it more descriptive of its intended function
2008-11-10Thank you, idb, for a patch that fixes avatar height calculationMelanie Thielker1-3/+4
Our feet will now be above ground
2008-11-09Enabled SoftERP for the contact structure but not SoftCFM.Charles Krinke1-1/+6
A tube on a pole is a bit less "flubbery" so maybe this is the right direction.
2008-11-09Clean up a few comments.Charles Krinke1-11/+3
2008-11-09Clean up the mass < 0 logic a tiny bit whenCharles Krinke1-2/+1
calculating mass.
2008-11-06* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+1