aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2008-12-201-1/+19
| | | | | | | | | | | | | | 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.
* Enabled complex meshing for simple box prims with non-zero shearDahlia Trimble2008-12-181-2/+3
|
* * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey2008-12-151-5/+8
| | | | | | | * 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
* * Committing a slightly distilled version of nlin's ODECharacter race ↵Teravus Ovares2008-12-101-7/+43
| | | | | | | condition eliminator. * The modifications that I made were only so that it didn't require changes to the public physics api.
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-091-1/+1
| | | | | | * 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.
* * Adds some rudimentary error handling to the physics debug drawstuff tool.Teravus Ovares2008-12-081-6/+16
|
* * Tweaks physics so that linked prim are a single body. This will make ↵Teravus Ovares2008-12-071-6/+177
| | | | | | | | 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.
* * Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.Justin Clarke Casey2008-12-041-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.
* Guard against a strange nullref in ODEMelanie Thielker2008-11-191-0/+5
|
* Enabled SoftERP for the contact structure but not SoftCFM.Charles Krinke2008-11-091-1/+6
| | | | | | A tube on a pole is a bit less "flubbery" so maybe this is the right direction.
* Clean up a few comments.Charles Krinke2008-11-091-11/+3
|
* Revert last checkin. Avatars fall through non-physical prims now.Charles Krinke2008-11-011-12/+7
| | | | | | There is more to the solution then just enabling soft_erp and soft_cfm for all d.Contact cases.
* Added soft_cfm and soft_erp to the general "contact" initializationCharles Krinke2008-11-011-7/+12
| | | | | | for physical prim interactions. They were not previously enabled for prim-prim interactions.
* * Add a config option for filtering collisions. Sometimes, under load, ↵Teravus Ovares2008-10-221-0/+5
| | | | this seems to cause bouncing on really thin flat prim.
* * Changed the dupe collision depth limiter to be slightly more restrictive. ↵Teravus Ovares2008-10-181-3/+3
| | | | (less chance for a dupe)
* * Fix an over compensation for bounciness on flat PrimitiveTeravus Ovares2008-10-171-8/+5
| | | | | | * Implement the linear impulse portion of llPushObject. We should have a lsl compatible implementation of that portion of the push. Angular.. well. still have yet to implement a torque accumulator. * llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
* * Adds a lot of stability and performance to the physics engine. The ↵Teravus Ovares2008-10-171-1/+86
| | | | | | | avatar bounces less and things are a bit less explosive. * Additionally, you can probably get more physical prim now together.. though, I think this puts us back on par with where we were in the beginning of the year on number of physical objects. Experiment. Make videos. Send Feedback. Enjoy.
* * minor: get rid of pointless ipeSenderJustin Clarke Casey2008-10-161-0/+1
|
* * Releases the inter-region thread synchronization between physics in ODE on ↵Teravus Ovares2008-10-161-1/+2
| | | | | | | | the same instance. * If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance. * Single regions won't notice anything different
* * Cleaned up tons of code duplication in ODEPrim Teravus Ovares2008-10-141-48/+102
| | | | | | | | | * Re-enabled the native ODE prim types when possible * Fixed several invalid assumptions in the prim recycle process. * Added better message for 'reused a disposed physicsactor' * Added a way to recover from errors during collision_optimized * Added a way to recover from an error condition where prim_geom wasn't reset properly
* * Based on user reports, it looks like the OS specific settings have been ↵Teravus Ovares2008-10-131-4/+4
| | | | | | | unified as far as tuning (thank heavens). * If you're experiencing knee bendiness try the windows settings, as the *nix settings seem to now be incorrect. (this update does that, but you may have your own opensim.ini settings active.
* * This updates ODE to the most up-to-date version as of today. 1558Teravus Ovares2008-10-121-0/+1
| | | | | | | | * Mac users, pray to chi11ken to make you a .dylib version * This is semi-tuned and post teravus hack. (Though I didn't apply the terrain pitting fix hack. I'm still deciding if it's necessary as there was a lot of work over the past several months on the heightfield collider. * Please use '--enable-shared --disable-demos --disable-asserts' if you are building your own libode in the configure step. Asserts are pretty much useless for use with .NET * This also updates ODE.NET as, there were some API changes in May that were just added to ODE.NET today.
* Disabled use of ODE internal geometry to see if it affects the "waves ↵Dahlia Trimble2008-09-221-12/+12
| | | | finger" error
* ODE was using a box collision shape for some spheres - changed those cases ↵Dahlia Trimble2008-09-211-2/+3
| | | | to now use a mesh instead.
* re-enabled some ODE internal proxies for some simple prim types to try to ↵Dahlia Trimble2008-09-191-0/+13
| | | | save some more memory
* * Make the ode simulation update loop print out the stack if an exception ↵Justin Clarke Casey2008-09-181-1/+1
| | | | occurs (at least, this is what will happen on linux)
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-28/+23
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Formatting cleanup.Jeff Ames2008-08-181-86/+78
|
* Re-enables testing for config option mesh_sculpted_prim which was ↵Dahlia Trimble2008-07-251-14/+21
| | | | inadvertently disabled in a prior modification (oops) :)
* refactor - commenting out needsMeshing() and all references as createMesh() ↵Dahlia Trimble2008-07-181-54/+56
| | | | has the same logic and obsoletes the need for it.
* Passes prim physical status to mesher from physics pluginsDahlia Trimble2008-07-121-1/+1
| | | | | | | Small prims now get a full mesh if they are physical Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
* dr scofield's warnings safari:Dr Scofield2008-06-271-8/+8
| | | | | | * commenting out unused variables
* Minor formatting cleanup.Jeff Ames2008-06-251-16/+17
|
* Changes selection criteria to allow meshing of more sphere prim configurations.Dahlia Trimble2008-06-211-1/+4
| | | | | Adds comments to some functions in Meshmerizer.cs.
* * Patch from nlin to enable DIF state file writing from the ODEPluginTeravus Ovares2008-06-201-0/+28
| | | | | | * Rebuilt libode.so, ode.dll * If you roll your own ODE library, make sure to update your opensim-libs.
* * Added a check for a non-finite heightfield array value passed to the ↵Teravus Ovares2008-06-041-0/+9
| | | | ODEPlugin. This may, or may not fix anything.
* * Applying Dahlia's interim path curve patch. it adds initial support for ↵Teravus Ovares2008-05-291-0/+19
| | | | | | | | | some tori/ring parameters. Thanks Dahlia! * Some situations do not match the client's render of the tori, we know and are working on it. This is an initial support patch, so expect it to not be exact. * Some tapers are acting slightly odd. Will fix.
* * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2008-05-251-0/+30
|
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-181-53/+46
| | | | types and null.
* * This finishes the ODE options section of the OpenSim.ini.example. I've ↵Teravus Ovares2008-05-161-3/+47
| | | | | | | | added 44 configurable options! * This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties. * The options range from gravity.. to avatar movement speed, to friction management.. to object density.. to update throttling.
* Formatting cleanup.Jeff Ames2008-05-161-140/+68
|
* * Adds various tweakable avatar control options to the OpenSim.ini.example.Teravus Ovares2008-05-151-1/+46
|
* * Added about half of the planned ODE physics options to OpenSim.ini.example.Teravus Ovares2008-05-151-56/+128
| | | | | * Some will do cool things, some will make your scene explode dramatically if you're not careful.
* * Got rid of an old crufty sleep that was being called. Thanks for your ↵Teravus Ovares2008-05-151-1/+1
| | | | | | | support in load testing Adam's simulator was what pointed this old crufty sleep out. * Please, we need more load tests with profilers running. :D
* * Refactored IConfigSource into Physics plug-ins and Scene. We can get rid ↵Teravus Ovares2008-05-141-1/+5
| | | | | | | of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on * The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
* More formatting cleanup.Jeff Ames2008-05-141-2/+2
|
* * Removed ODELock message since it wasn't telling us anything important and ↵Teravus Ovares2008-05-081-1/+1
| | | | | | | people seemed to think it was the cause of their issues rather then a message to help locate a situation where physics stalls for a second and then kicks. * This was simply a message added when an avatar was added/removed from the scene.
* * Reduced sleep durations in a number of files.Adam Frisby2008-05-081-3/+0
|
* * Committing some collision stuffs that I'm working on.Teravus Ovares2008-05-031-81/+134
| | | | | * Nothing user facing yet.
* * ODE Tweak. See if this helps.Teravus Ovares2008-05-011-71/+23
|