aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)3-18/+126
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-12temporarily fix the build break with building the OdePlugin tests assembly.Justin Clark-Casey (justincc)1-2/+3
This needs to be fixed properly.
2011-07-12minor: remove whitespace to trigger another buildJustin Clark-Casey (justincc)1-1/+0
2011-07-12When a mesh object is added to a scene, delay adding the physics actor until ↵Justin Clark-Casey (justincc)2-25/+29
the sculpt data has been added to the shape (possibly via an async asset service request) This prevents spurious 'no asset data' for meshes added on startup.
2011-07-11minor Tack the prim name on the end of the "experimental mesh proxy ↵Justin Clark-Casey (justincc)1-1/+1
generation" message. Can probably comment out this message soon, once a few other issues are tidied up.
2011-07-11When a sculpt/mesh texture is received by a part on a callback request, ↵Justin Clark-Casey (justincc)2-2/+3
don't do the unnecessary work of copying the base shape. Just setting the new base shape is enough to reinsert the sculpt data and set the taint. Also cleans up a few more left-in debugging messages.
2011-07-11comment out accidential ProcessTaints physics debug line left in codeJustin Clark-Casey (justincc)1-1/+1
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)3-24/+38
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-07-08refactor: eliminate redundant return statementJustin Clark-Casey (justincc)1-3/+1
2011-07-08refactor: Factor out AddSubMesh() method from long ↵Justin Clark-Casey (justincc)2-49/+58
CraeteMeshFromPrimMesher() method Also remove some of the logging spam left in from the last commit.
2011-07-08Fix interpretation of physics mesh proxies from mesh dataJustin Clark-Casey (justincc)1-0/+10
As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some submesh blocks may just have the flag "NoGeometry" to signal that they provide no mesh data. If a block contains this, ignore it for meshing purposes rather than suffer a ClassCastException This fixes physics proxy meshing, so you can now walk through mesh doorways, properly stand on the trailer of mesh trucks, etc. To get mesh physics proxy, the UseMeshiesPhysicsMesh must be true in a [Mesh] config section in OpenSim.ini (example in OpenSimDefaults.ini). Convex hull physics not currently supported.
2011-07-08minor: code tidy up - remove a couple of Console.WriteLine() accidentally ↵Justin Clark-Casey (justincc)2-53/+23
added in the last commit
2011-07-08refactor: Separate the OdeScene class into its own file from OdePlugin.cs, ↵Justin Clark-Casey (justincc)2-3825/+3873
to improve code readability
2011-07-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)4-5/+14
2011-06-29Allow physics proxy generation for meshes using new asset format.dahlia2-5/+21
Fix an invalid cast exception while decoding new mesh asset format.
2011-06-15Add localID to physical object creation functions.Mic Bowman2-1/+21
2011-06-10partial update for new mesh asset format - handle both old and new formats ↵dahlia1-1/+5
for physics mesh
2011-04-29Fix crash when [Mesh] section is missing from configuration filesDan Lake1-1/+2
2011-04-21Group collada meshies settings under [Mesh] in OpensimDefaults.iniBlueWall1-1/+2
2011-04-19fix meshing failure on sculpt maps smaller than 64x64dahlia1-3/+10
2011-04-12force mesh proxy for simple box prims with path cutdahlia2-0/+6
2010-12-24This fixes mantis #5198 and related. Physics is not my expertise, so I'm not ↵Diva Canto1-0/+5
100% sure of what all the consequences of this change are. Pushing up, so others can take a look.
2010-12-23* Re-Adding Scene TimeDilation to Object Update Packets.Teravus Ovares (Dan Olivares)1-0/+19
* Added Calculating Time Dilation in the OdePlubin * When multiple object updates are stuffed into one packet, average the time dilation between them as a compromise. * Time Dilation on the update is calculated when the EntityUpdate object is created. The pre-calc-ed TD is stored in the Entity update and used when it goes out on the wire. Previously, it was 1.0 all the time. The time dilation is tied to when the update is created, not when the update is sent.
2010-12-10minor: remove some compiler warningsJustin Clark-Casey (justincc)2-2/+2
2010-11-24catch an exception when a mesh asset header cant be decodeddahlia1-2/+9
2010-10-24* Updated libomv to r3461Latif Khalifa1-2/+2
Main reason for upgrade is to revert API change that was introduced in order to support headerless binary LLSD decoding needed for deserialization of the mesh assets, which turned out to be unnecessary as we can transparently decode both kinds.
2010-10-20fix combining of multiple physics submeshesdahlia1-3/+4
2010-10-18remove some cruft from last commitdahlia1-8/+0
2010-10-18initial support for meshies physics. Must set ini option ↵dahlia1-43/+94
UseMeshiesPhysicsMesh = true to enable. See file OpenSimDefaults.ini for example.
2010-10-15one more silly line ending thing.... *If you have problems, fetch the tree ↵Teravus Ovares (Dan Olivares)1-71/+71
and rebase. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2010-10-14one more silly line ending thing....Teravus Ovares (Dan Olivares)1-71/+71
*If you have problems, fetch the tree and rebase.
2010-10-14more work in progress on mesh physics - still non-functionaldahlia1-2/+67
2010-10-14laying some groundwork for mesh physicsdahlia1-70/+80
2010-10-09* Make line endings consistant in Meshmerizer.csTeravus Ovares (Dan Olivares)1-1/+1
2010-10-07add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map ↵dahlia1-1/+2
caching for meshing
2010-10-04Formatting cleanup.Jeff Ames1-4/+4
2010-10-02Replace CalculateMass with a more accurate version, contributed by Ubit.Melanie1-234/+219
Thank you.
2010-09-26Typo fixesMelanie2-7/+7
2010-09-26adding configurable j2kDecodeCache pathBlueWall4-8/+18
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-09-25Add prim name to OdePrim Error and Warning messages.Justin Clark-Casey (justincc)1-42/+45
This aims to make it easier to identify and remove rogue prims that are causing ODE to fall over.
2010-06-25minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-14/+14
2010-06-19Hunting for the problem in #4777Diva Canto1-0/+1
2010-06-19Reverting my last two commits, putting back Melanie's exception handler. ↵Diva Canto1-1/+10
Doesn't solve #4777.
2010-06-19Reinstated the behavior of AddPrimShape *exactly* as it was as of December. ↵Diva Canto1-10/+1
Trying to fix mantis #4777
2010-06-19Reinstated the behavior of AddPrimShape as it was as of December. Trying to ↵Diva Canto1-0/+1
fix mantis #4777
2010-06-18Remove an error in meshing error reporting. Now doesn't double-bombMelanie1-1/+1
anymore on a bad sculpt
2010-06-12Log and eat sculpt meshing exceptions caused by bad jp2 data.Melanie1-1/+12
2010-05-24fix sculpt normal direction for mirrored plane sculptsdahlia1-2/+1
2010-05-07GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto3-3101/+3101
home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
2010-05-06improve handling of undersize sculpt texturesdahlia1-4/+11