177 Commits

Author SHA1 Message Date
UbitUmarov
6d701b6759 add AvatarJump to phsycis engines. This is just a push in Z direction, Still needs scaling so engines to match. This new scaling is needed so does not impact old push ones 2022-04-15 21:47:38 +01:00
UbitUmarov
37ab7afed9 update libomv adding NotEqual to vectors and quats; more cosmtics on ubode 2022-04-13 23:57:20 +01:00
UbitUmarov
772b33bfef cosmetics on ubode character code 2022-04-13 19:38:57 +01:00
UbitUmarov
d7a391efbb cosmetics on ubode character code 2022-04-13 19:36:38 +01:00
UbitUmarov
846d2df245 replace util.clip by utils.clamp (from libomv), and a few more cosmetics 2022-03-18 02:20:40 +00:00
UbitUmarov
ad17ce0b51 CameraData is a bit too large to be a struct 2022-03-14 21:39:21 +00:00
Vincent Sylvester
13dbbc2683 Remove tabs, indent code properly
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2022-03-13 13:15:05 +00:00
UbitUmarov
dd846ffc6c update libomv with vector2 and 3 IsZero() 2022-01-09 23:52:42 +00:00
UbitUmarov
da928d6099 != UUID.Zero is slow 2022-01-09 02:28:51 +00:00
UbitUmarov
7e0fc95c3a == UUID.Zero is slow 2022-01-09 00:33:16 +00:00
UbitUmarov
86206432de let ubode bad meshmerizer be again just a error, not a critical region stop. (this is temporarygit push) 2021-12-11 22:46:17 +00:00
UbitUmarov
b5d67d08a7 ubode version now has form managed-unmanaged versions (osGetPhysicsEngineName()) 2021-12-03 20:31:35 +00:00
UbitUmarov
ee0d6b4507 Invalid physics meshing option is a fatal error 2021-12-02 18:13:47 +00:00
UbitUmarov
6007f97a41 some ubOde CO2 2021-11-28 19:16:52 +00:00
UbitUmarov
076c87914d save a few ns on ubode 2021-09-08 17:52:11 +01:00
UbitUmarov
31f7d47663 minor cosmetics 2021-02-12 13:29:41 +00:00
UbitUmarov
ec216a3877 use ObjectJobEngine on ubOde mesh worker 2021-01-08 14:40:14 +00:00
UbitUmarov
1fbf8b44b4 ubOde mesh work does not need a thread all the time 2021-01-08 11:15:41 +00:00
UbitUmarov
9773ff42c2 define constants for simulation height (-100,50000m) and terrain heightmap (-100,4000). No option. compile time decision. use them at ubOde 2020-10-12 23:20:37 +01:00
UbitUmarov
b929a20045 ubOde resize a avatar without recreating it 2020-09-13 05:47:05 +01:00
UbitUmarov
ea32a73103 osLocalTeleportAgent: no region crossings :( ; check avatar access to target position; flag 8 == force fly; 16 force nofly (both == fly) 2019-05-01 03:49:24 +01:00
UbitUmarov
11c945a565 add osLocalTeleportAgent(key agent, vector position, vector velocity, vector lookat, LSL_Integer flags). Velocity only works with ubOde but still not good. flags = bit field: 1 use velocity, 2 use lookat, 4 rotate avatar look in current velocity direction (ignored if 2 ie flag = 7 is same as 3). This bypasses most the unnecessary logic of osTeleportAgent, having usage same permissions. It may do region crossings(?). Experimental stage, feedbakc expected ;) 2019-05-01 01:36:10 +01:00
UbitUmarov
0652f01d4c duhhh npcs don't have child agents; plus minor typos 2019-04-05 03:45:27 +01:00
UbitUmarov
9046e5cb9d ubode add position to pid control it stopped flying to prevent slow drifts 2019-01-31 17:25:18 +00:00
UbitUmarov
44e6f45ed6 cosmetics 2019-01-31 12:03:14 +00:00
UbitUmarov
6bc8e2413f ubode replace a locklessqueue by .net concurrentqueue 2019-01-29 13:49:29 +00:00
UbitUmarov
4c79a85621 forgotten locks on ubode 2019-01-28 03:37:54 +00:00
UbitUmarov
44d6746f40 well.. put the ode locks back, for now 2019-01-21 08:34:19 +00:00
UbitUmarov
a287a8e121 this looks more like ubode 2019-01-21 01:59:33 +00:00
UbitUmarov
af2a9d9508 mantis 8420: ubOde awake up lazy body 2018-12-11 17:23:55 +00:00
UbitUmarov
66f46c6846 ubOde: slow down collision events to attachments 2018-12-06 18:50:42 +00:00
UbitUmarov
e08b43569e potencial mem leak 2018-12-01 18:49:30 +00:00
UbitUmarov
64f8036d8f pesty warning 2018-11-12 11:22:39 +00:00
UbitUmarov
c05598fe62 ubOde: remove support for old native ODE lib; make inplace terrain changes, if possible 2018-11-12 11:12:52 +00:00
UbitUmarov
39c8db8eb1 ubOde change terrain min height to -100m. Maybe this way a viewer dev mays fix rendering below 0m, like making them think z = 1m for that purpose, for example 2018-06-27 23:14:26 +01:00
UbitUmarov
09ae675d28 Merge branch 'master' into httptests 2018-05-04 23:01:53 +01:00
UbitUmarov
24df1086fa fix ubOde terrain copy at north and east borders 2018-05-04 23:00:34 +01:00
UbitUmarov
d38161f83d retire our BlockingQueue replaced by BlockingCollection and cross fingers 2018-01-22 17:09:38 +00:00
UbitUmarov
49b4408782 some cleanup 2018-01-20 12:11:07 +00:00
UbitUmarov
88511bfab2 make ubOde PInvoke follow ms coding rules 2018-01-14 01:02:21 +00: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
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
UbitUmarov
3ae210d36f ubOde: let small spheres still be spheres 2017-07-22 02:04:02 +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
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