Commit Graph

57 Commits

Author SHA1 Message Date
UbitUmarov
52cd923c2e fix typos 2021-11-23 17:54:32 +00:00
UbitUmarov
b8bea0bd69 mantis 8944: do not trigger moving_end if kfm is alreadu stopped 2021-11-23 17:50:02 +00:00
UbitUmarov
c92ba1cc04 shut up some pesty warnings 2018-01-15 16:23:19 +00:00
UbitUmarov
f921ad005f KFM: changes on update method implies other changes. Still not that good. Note: objects motion timing can't be done using timers. On windows at least, those can have jitter of tens of ms 2017-07-17 00:58:35 +01:00
UbitUmarov
9ae26fc5af store kfm on inventory. this may still be a bit confusing on rez 2017-07-16 05:19:27 +01:00
UbitUmarov
cd15de628d don't start moving KFM things on region start that where stopped on last shutdown 2017-07-16 01:31:37 +01:00
UbitUmarov
4ef64d4425 trigger moving_end also KFM stop and pause 2017-07-16 01:10:27 +01:00
UbitUmarov
101413ddd9 make KFM use scheduled terse updates. This may increase some rubber band, but is needed, and should work better with recent changes on sop terseupdates control 2017-07-16 00:48:04 +01:00
UbitUmarov
056b765fbc mantis 8130: improve keyframes motion 2017-04-04 12:38:23 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Robert Adams
e5367d822b Merge of ubitworkvarnew with opensim/master as of 20150905.
This integrates the OpenSim refactoring to make physics, etc into modules.
AVN physics hasn't been moved to new location.
Does not compile yet.

Merge branch 'osmaster' into mbworknew1
2015-09-08 04:54:16 -07:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
Diva Canto
ce2c67876e More namespace and dll name changes. Still no functional changes. 2015-08-30 21:05:36 -07:00
Diva Canto
2c0cad6dd3 Renamed the namespaces too 2015-08-30 20:29:31 -07:00
Jeff Kelley
e1a455eae5 Fix multiple moving_end and add moving_start to llSetKeyframedMotion
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-20 00:24:14 +02:00
UbitUmarov
525322efa2 bug fix 2014-10-26 12:24:12 +00:00
UbitUmarov
242bb425f3 fix positions on same frames transitions 2014-09-19 01:07:20 +01:00
UbitUmarov
483afe6867 remove creative hack and try to fix 2014-08-13 18:52:13 +01:00
Oren Hurvitz
99ac770abb Close streams immediately when we finish using them 2014-07-21 08:30:03 +01:00
Melanie Thielker
e1b2ecdfdc Merge branch 'avination-current'
Conflicts:
	OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
2014-07-19 22:32:07 +02:00
Oren Hurvitz
a893fd90cd Fixed KeyframeMotion to work with very slow movement.
Previously, if the movement speed was below 0.05/sec then it didn't work correctly.

Fixes http://opensimulator.org/mantis/view.php?id=7117
2014-04-22 10:19:11 +01:00
Oren Hurvitz
0237d9113d Don't start KeyframeMotion timers until all the regions are ready. This prevents problems in megaregions (prims that think they've crossed over to other regions). 2014-03-11 00:55:58 +00:00
UbitUmarov
8ad7f2ce2d Merge branch 'avination-current' of ssh://3dhosting.de/var/git/careminster into avination-current 2013-09-19 11:33:38 +01:00
teravus
120b6948ed * This fixes the border crossing offsets by storing the final keyframe location in the hijacked variable KeyFrame.AngularVelocity. When steps in OnTimer <= 0.0, normalize the final position by Constants.RegionSize and move the object there. The hack here is KeyFrame.AngularVelocity probably isn't the right name for this variable because it's the un-mucked with keyframe position. When you determine the feasibility of changing the name without affecting the serialization of existing objects in world... It's simply a name change to KeyFrame.FinalPosition or something proper.
(cherry picked from commit e0399ccaec)
2013-09-16 11:32:05 -05:00
Melanie
f7378829c3 Fix the root cause of keyframe motion region crossing offset - UpdateSceneObject
was being called twice on each crossing.
2013-08-25 06:26:56 +02:00
teravus
e0399ccaec * This fixes the border crossing offsets by storing the final keyframe location in the hijacked variable KeyFrame.AngularVelocity. When steps in OnTimer <= 0.0, normalize the final position by Constants.RegionSize and move the object there. The hack here is KeyFrame.AngularVelocity probably isn't the right name for this variable because it's the un-mucked with keyframe position. When you determine the feasibility of changing the name without affecting the serialization of existing objects in world... It's simply a name change to KeyFrame.FinalPosition or something proper. 2013-08-24 18:55:21 -05:00
teravus
58359788a9 Revert "* This increases accuracy when border crossing (the reason is.. the border crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop."
This reverts commit 55400ff7be.
2013-08-24 05:54:08 -05:00
teravus
55400ff7be * This increases accuracy when border crossing (the reason is.. the border crossing code will use velocity to predict where the object should be, so setting it to zero. It still looses about 0.0045 per loop. 2013-08-23 00:28:36 -05:00
Justin Clark-Casey (justincc)
af9b17c545 minor: remove mono compiler warnings related to keyframe code 2013-07-08 23:52:40 +01:00
Melanie
06012f8675 Fix keyframe motion copyright 2013-06-06 23:49:02 +01:00
UbitUmarov
18e4496d2d keyframe: add more locks, change timming stop, added Suspend and resume 2013-06-06 18:57:32 +01:00
Melanie
e1d98c9e4c Committing Avination's Keyframe module. This is not hooked up yet and will do nothing. More commits to follow. 2013-06-06 02:25:19 +01:00
Melanie
70d5c29310 Stop sending velocity to avoid snap-back 2013-05-31 21:55:56 +02:00
Melanie
34bb2fd015 Make Keyframe motion cross regions again 2013-03-03 12:48:56 +01:00
Melanie
d5b401a478 Revert "Make keyframes use the sim's frame timer"
This reverts commit e85a6237bf.
2013-02-12 22:20:16 +01:00
Melanie
14c064c65d Revert "Push updates from keyframe directly to the front of the output queue rather"
This reverts commit 04235e58e8.
2013-02-12 03:15:40 +01:00
Melanie
04235e58e8 Push updates from keyframe directly to the front of the output queue rather
than through the update system.
2013-02-12 01:02:16 +01:00
Melanie
e85a6237bf Make keyframes use the sim's frame timer 2013-02-11 23:49:05 +01:00
Melanie
e31bc8dc96 Refactor KeyframeMotion to use one timer class per scene 2013-02-11 23:07:04 +01:00
Melanie
d1ebb0a8f9 Change keyframe motion to use a single timer for all objects. This is required
to prevent slippage between objects that are meant to move synchronously or
keep their relative positions/rotations.
2013-01-30 15:54:14 +01:00
Melanie
e336c50813 Send moving_end event to scripts when keyframed motion ends. 2013-01-27 23:35:53 +01:00
UbitUmarov
a892dbba63 go back bypassing sog updates control (test) 2013-01-11 18:18:22 +00:00
UbitUmarov
1f9dbdf8b8 same for AngularVelocity. Use normal terse updates in place of sending
imediatly. If that's good for physics, needs to be good for this
2013-01-11 14:16:45 +00:00
UbitUmarov
756d53db5e keyframe. Don't use group UpdateRotation since this enqueues a terse
update and we are sending them imediatly
2013-01-11 13:39:14 +00:00
UbitUmarov
d554c0d574 normalize quaternion.Slerp outputs 2012-10-10 01:37:59 +01:00
UbitUmarov
a7281003d8 move keyframemotion.copy from sop.copy to sog.copy, where there is
newgroup information avaiable.
2012-08-30 01:30:56 +01:00
UbitUmarov
c821153a4f [possible still bad] make use of keyframemotion.copy on sop.copy, replacing
fromdata(seralize). for now its called with null group since sop.copy()
hasn't usable new group information, so for copied keyframes be fully operational UpdateSceneObject(newgroup) needs to be called on them.
2012-08-30 00:15:46 +01:00
UbitUmarov
2e54c3cc8f A few more changes to keyframes 2012-08-29 03:19:47 +01:00
UbitUmarov
72ac0665b2 [Potentially broken] keyframes changes.. since it's there, use timer for
crossing retries and not still another thread, etc...
2012-08-29 00:35:06 +01:00