Commit Graph

221 Commits

Author SHA1 Message Date
UbitUmarov
49b4408782 some cleanup 2018-01-20 12:11:07 +00:00
UbitUmarov
e9d2d81880 pesty warnings 2018-01-17 07:04:07 +00:00
UbitUmarov
ae04a24e7a recover a lost null check 2018-01-15 18:57:15 +00:00
UbitUmarov
c92ba1cc04 shut up some pesty warnings 2018-01-15 16:23:19 +00:00
UbitUmarov
3d87e37d99 make old Ode PInvoke follow ms coding rules 2018-01-14 01:40:49 +00:00
UbitUmarov
88511bfab2 make ubOde PInvoke follow ms coding rules 2018-01-14 01:02:21 +00:00
UbitUmarov
3b141e6e6f Merge branch 'master' into httptests 2017-12-14 05:37:07 +00:00
UbitUmarov
201c916670 add a missing return on a mesh decode error in ubOdemeshmerizer 2017-12-14 05:36:15 +00:00
UbitUmarov
68e9baf2e0 Merge branch 'master' into httptests 2017-10-13 20:36:29 +01:00
Robert Adams
df3759e099 BulletSim: Add parameter "[BulletSim]AvatarWalkVelocityFactor=1.0" to
adjust the walking speed passed from the simulator. Default is 1.0f so
there should be no change for regions who do not change the factor.

The adjustment for walking speed and AlwaysRun speed should be in the
simulator and not the physics engines (who all assume TargetVelocity.set
is only used for avatar walking/running) but that would require tweaking
all the phyiscs engines.
2017-10-13 12:00:07 -07:00
UbitUmarov
b581a64788 ubOde: comment out some debug stats 2017-09-08 20:04:16 +01:00
UbitUmarov
0ac81f6a09 ubOde: hashSpaces aren't that nice 2017-09-08 19:59:38 +01:00
UbitUmarov
ca493a1beb Merge branch 'master' into httptests 2017-09-05 20:25:12 +01:00
Robert Adams
4608b44817 BulletSim: add raycast filtering 2017-09-05 06:19:49 -07:00
Robert Adams
f348f7fa90 BulletSim: first version of raycast. Only single contact point and no
filtering.
2017-09-03 17:15:27 -07:00
Robert Adams
33e773959f BulletSim: modify taint processing which use locks.
(Merge branch 'bullettaint' into bulletcast)
2017-09-02 13:08:54 -07:00
Robert Adams
0afa3a294a BulletSim: most of the plumbing for raycast. Needs new BulletSim.dll to
work.
2017-09-02 13:06:36 -07:00
Robert Adams
5c36561424 BulletSim: add clock and change logic for taint processing a little
so taints check if they are not in simulation time and execute
immediately if not.
2017-08-28 15:23:32 -07:00
UbitUmarov
6cf27e2191 ubOde move static/dynamic friction to unmanaged code. Note this now requeries ode version OS0.13.3 currently at opensim-libs repo trunk/unmanaged/ODE-OpenSim-Test 2017-08-21 04:54:01 +01:00
Robert Adams
9e86721d70 BulletSim: remove chatty debug message. 2017-08-14 21:33:26 -07:00
Robert Adams
36ee8e3941 BUlletSim: return better terrain height in
BSTerrainHeightMap.GetTerrainHeightAtXYZ().
Partial fix for Mantis 8011. Problem is that computed terrain height
is different than mesh height in the physics engine. For small shapes,
they would have their position corrected to above terrain so they would
never collide.
2017-08-14 21:20:59 -07:00
UbitUmarov
1830387840 Oops fix also default UseMeshiesPhysicsMesh also on ubOde 2017-08-02 03:47:53 +01:00
UbitUmarov
324bda8ab9 mantis 8218 make Meshmerizer UseMeshiesPhysicsMesh defualt to true, to match stated on ini files. 2017-07-27 16:23:08 +01:00
UbitUmarov
8b2e95d1c1 add a rudimentary version control to ubOde meshs cache 2017-07-23 14:23:44 +01:00
UbitUmarov
3ae210d36f ubOde: let small spheres still be spheres 2017-07-22 02:04:02 +01:00
UbitUmarov
618e142cf8 ubOde: remove some dead code 2017-07-22 01:45:42 +01:00
UbitUmarov
d71d13f72b ubOde: represent small objects as a box. A object is small is all scale dimensions are less or equal to option MinSizeToMeshmerize (in ODEPhysicsSettings) with default of 0.1. This is needed because this objects hit narrow phase with high overlaps alot more, and so have high cpu cost. 2017-07-22 01:31:39 +01:00
UbitUmarov
98c64f1aa9 ubOde remove ols pseudo convex for sculpts 2017-07-22 00:00:46 +01:00
UbitUmarov
66a5b4d120 ubOde suport convex shapes on all normal prims and sculpts. Since code is experimental this is controled by options ConvexPrims and ConvexSculpts, on section Mesh, that can be set to false in case of problems 2017-07-21 14:11:03 +01:00
UbitUmarov
04b97be71e ode does not like null refs 2017-07-16 02:55:39 +01:00
UbitUmarov
8b16131206 add Util.GetTimeStamp() that returns the stamp in seconds; use it on ubOde; separed land collsions dispatch from the others... 2017-07-13 20:21:18 +01:00
UbitUmarov
dfef16297b ubOde don't use old ode body sleep option, a few changes on sleep control, update ode.dll (windows, others needed) (keep older versions.. bc.. well bugs happen) 2017-07-07 01:49:34 +01:00
UbitUmarov
1dc56eb15f ubOde: but only do that if sphere is physical.. 2017-07-03 23:38:55 +01:00
UbitUmarov
39751891f4 ubOde: dont do avatar step climb on small true spheres. lets play simple football 2017-07-03 22:47:27 +01:00
UbitUmarov
f3a920237b oops i forgot the avatar knees bending on ramps... so go back.. 2017-07-02 01:34:06 +01:00
UbitUmarov
edc7575f9e a few changes to ubOde avatar collisions 2017-07-01 01:43:58 +01:00
UbitUmarov
a18d45fbdc fix some issues on ubOde physics shape type changes 2017-06-12 16:19:29 +01:00
Kevin Cozens
0ac6b74c5e Fixed typo in log message 2017-06-09 10:14:09 -04:00
UbitUmarov
319ccf17c8 add a bit more protection for broken scripts like ingen-e3s-v1.33 2017-05-21 01:52:27 +01:00
UbitUmarov
a5e3aab575 fix a null ref in ubOde character 2017-05-20 23:37:14 +01:00
UbitUmarov
ce655056ca ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
2017-04-26 18:21:58 +01:00
UbitUmarov
84c9125016 update ode binaries for windows; add a minimal velocity for bounce 2017-04-20 02:25:22 +01:00
UbitUmarov
006c08886a deleted a bit 2 much on last commit 2017-04-18 05:31:15 +01:00
UbitUmarov
49884b94a7 update ODE binaries for windows. Other platforms need to compile from opensim-libs repo, folder ODE-OpenSim-0.13.2, read file OPENSIM-README.txt. Remove code to reduce bounce on non physical placement, new unmanaged should handle that 2017-04-18 00:50:55 +01:00
UbitUmarov
0f7ffc56ce several changes for osTeleportObject 2017-04-15 10:46:18 +01:00
UbitUmarov
156ef0bbe3 still issues with volume detectors and sleeping bodies 2017-04-15 02:48:58 +01:00
UbitUmarov
4f8f04d949 still issues with volume detectors and sleeping bodies 2017-04-15 01:21:47 +01:00
UbitUmarov
9d8220ac9f some reduction on large colision repulsive force on non physical placement of physical prims 2017-04-14 03:14:41 +01:00
UbitUmarov
443fc60cdf store the physics inertia override in Mysql and add it to serializer. run prebuild is required 2017-04-01 17:49:17 +01:00
UbitUmarov
24b7903cd0 add missing file. Changes of inertia data of objects running does not
produce correct physical results, namely linear and angular momentum
 are not conserved.
2017-03-31 21:03:57 +01:00