wangyix
507518f16d
removed numFramesCapacity from being exposed everywhere
2014-07-03 11:11:56 -07:00
Stephen Birarda
9734446e23
Merge pull request #3119 from birarda/the-voices-inside
...
fix for script agent audio missing channel flag
2014-07-03 11:04:51 -07:00
Stephen Birarda
0a3a8b0693
remove space at the top of the ScriptEngine file
2014-07-03 10:45:43 -07:00
Stephen Birarda
0af79c4d95
fix for script agent audio missing channel flag
2014-07-03 10:45:05 -07:00
wangyix
a2451a9651
moved and updated a comment in SequenceNumberStats
2014-07-03 10:41:54 -07:00
wangyix
059628c26a
fixed bug in SequenceNumberStats and its unit test; test passes now
2014-07-03 10:37:09 -07:00
Andrew Meadows
8c8a29f477
merge upstream/master into andrew/ragdoll
2014-07-03 09:27:52 -07:00
Stephen Birarda
f1e2ba1267
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-07-03 09:25:03 -07:00
Andrew Meadows
356a29c2fb
add AngularConstraint::softClamp() for hands
2014-07-03 08:40:34 -07:00
Brad Hefta-Gaub
1b29b7c120
Merge pull request #3114 from Atlante45/deleted_user_activity_logger_unnecessary_callback
...
Removed json callback
2014-07-02 21:45:19 -07:00
Andrzej Kapolka
282c62a083
Handle LODs correctly (?) for reliable deltas.
2014-07-02 18:49:40 -07:00
Andrzej Kapolka
154eb04336
Working on sending large deltas as reliable messages.
2014-07-02 17:13:39 -07:00
Atlante45
1815472c6b
Modified recently added case to AccountManager
2014-07-02 16:12:39 -07:00
Atlante45
106e5b578b
Merge branch 'master' of https://github.com/highfidelity/hifi into replace_qnetworkaccessmanager
2014-07-02 16:06:41 -07:00
Atlante45
45db5e2c40
Removed Xcode warnings
2014-07-02 15:57:11 -07:00
Clément Brisset
1f92d57230
Merge pull request #3103 from AlericInglewood/19827
...
Code Review for Job #19827
2014-07-02 15:53:57 -07:00
Clément Brisset
ae6b4def32
Merge pull request #3108 from huffman/19800
...
Code Review for Job #19800
2014-07-02 15:46:56 -07:00
Atlante45
90a27bb118
Removed json callback
2014-07-02 15:18:56 -07:00
Atlante45
84ea9833bb
Added forgotten sendCustomRequest Method + comments
2014-07-02 14:30:40 -07:00
Atlante45
6e02561d96
Merge branch 'master' of https://github.com/highfidelity/hifi into replace_qnetworkaccessmanager
2014-07-02 14:08:57 -07:00
Atlante45
bf520d0eff
Added thread safe implementation of NetworkAccessManager main methods
2014-07-02 14:05:46 -07:00
Atlante45
598c1cb516
Switched Sound to NetworkAccessManager
2014-07-02 11:27:55 -07:00
Atlante45
74e7e0a7bf
Switched XMLHttpRequestClass to NetworkAccessManager
2014-07-02 11:27:32 -07:00
Andrew Meadows
f5debdb930
merge upstream/master into andrew/bispinor
2014-07-02 11:23:42 -07:00
Atlante45
2549b0d946
Switched ScriptEngine to NetworkAccessManager
2014-07-02 11:22:44 -07:00
Atlante45
15b37ec3d1
Switched ResourceCache to NetworkAccessManager
2014-07-02 11:21:07 -07:00
Ryan Huffman
70121357be
Update JSONCallbackParameters to take params in constructor
2014-07-02 11:12:06 -07:00
Andrew Meadows
ec80ccdb9c
remove warning about signed/unsigned comparison
2014-07-02 10:49:05 -07:00
Andrew Meadows
8b3af0b9cb
merge upstream/master into andrew/say-no-to-warnings
...
Conflicts:
interface/src/ui/ApplicationOverlay.cpp
libraries/audio/src/AudioRingBuffer.cpp
2014-07-02 10:37:30 -07:00
Stephen Birarda
55d8b763c5
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-07-02 09:42:32 -07:00
Ryan Huffman
ccc638d8c1
Merge branch 'master' of git://github.com/highfidelity/hifi into 19800
2014-07-01 20:03:54 -07:00
Atlante45
7c3292a41b
Switched AccountManager to NetworkAccessManager
2014-07-01 17:47:31 -07:00
Atlante45
30644c750d
Switched AvatarData to NetworkAccessManager
2014-07-01 17:46:23 -07:00
wangyix
ab503583dd
switched order of args in PositionalAudioRingBuffer
2014-07-01 17:33:38 -07:00
Atlante45
29976d7861
Created base for wrapper singleton class NetworkAccessManager
2014-07-01 17:17:34 -07:00
wangyix
a5943e3608
made AudioRingBuffer frames capacity variable
2014-07-01 16:24:31 -07:00
Atlante45
e9826250cb
CR
2014-07-01 12:57:39 -07:00
Atlante45
958367f579
Merge branch 'master' of https://github.com/highfidelity/hifi into add_interface_to_log_user_activity
...
Conflicts:
interface/src/devices/OculusManager.cpp
2014-07-01 12:45:42 -07:00
wangyix
fd051310da
prune missing set before constructing nack packets;
...
make MAX_REASONALBE_SEQUENCE_GAP global and sentPacketHistory to use
that value as the default history size
2014-07-01 12:01:51 -07:00
Stephen Birarda
f389e3a6da
resolve conflicts on merge with upstream master
2014-07-01 11:02:25 -07:00
Brad Hefta-Gaub
df51d26625
Merge pull request #3094 from wangyix/seqNumberStats
...
Fixed bugs and improved overflow handling in AudioRingBuffer; Added audio stream stats packets; Added seq numbers and tracking to audio packets;
2014-07-01 10:54:35 -07:00
Stephen Birarda
5ba4a4dbb5
initial pass of MIDI implementation that bubbles events to JS
2014-07-01 09:53:18 -07:00
Andrew Meadows
5934ee5b22
added tests for ConeRollerConstraint
2014-07-01 09:35:47 -07:00
samcake
a8b875d32e
Merge remote-tracking branch 'origin/LeapMotion' into 19734
2014-07-01 03:20:26 -07:00
samcake
3ce455aba4
Support for LeapMotion and worklist 19734
...
- Introduce the DeviceTracker class to abstract all the possible
devices
- Introduce the MotionTracker ( a DeviceTracker ) that contains a
transform tree of joints
- Add Leapmotion class as a MotionTracker and the support for the
Leapmotion sdk in external
- Add InputController as the abstraction of a MotionTracker/Joint for
Javascript
2014-07-01 03:15:26 -07:00
Atlante45
7c797449ab
Comments + connectedDevice
2014-06-30 19:02:43 -07:00
Andrew Meadows
9ca1bfdfe5
add AngularConstraint.* with some unit tests
...
more unit tests to follow
2014-06-30 18:05:22 -07:00
Andrzej Kapolka
0075bb89c4
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-30 18:02:56 -07:00
Atlante45
1a2fd4483b
Merge branch 'master' of https://github.com/highfidelity/hifi into add_interface_to_log_user_activity
2014-06-30 17:54:34 -07:00
Atlante45
d4ed9d4573
Removed preprocessor statements
2014-06-30 17:52:05 -07:00
Atlante45
780e669fbb
fix for jenkins failure
2014-06-30 17:46:19 -07:00
Atlante45
d102795314
Added application version to logger
2014-06-30 17:18:49 -07:00
Atlante45
f33ad8a100
Adding logger calls
2014-06-30 17:10:17 -07:00
wangyix
f2dfa6b978
fixed warnings
2014-06-30 16:10:58 -07:00
wangyix
1b0ce510f6
fixed a typo, tidied up more minor details
2014-06-30 15:33:31 -07:00
Atlante45
ff8694d5c5
Merge branch 'master' of https://github.com/highfidelity/hifi into add_interface_to_log_user_activity
2014-06-30 14:30:17 -07:00
Atlante45
5e2ad7173c
Added functions to logger
2014-06-30 14:27:53 -07:00
Atlante45
0d18debd1b
Moved UserActivityLogger to networking
2014-06-30 14:27:07 -07:00
wangyix
6b6dccda2f
_resetCount to _overflowCount in AudioRingBuffer
2014-06-30 14:21:38 -07:00
wangyix
c789f3c6b9
merge with upstream
2014-06-30 14:13:34 -07:00
wangyix
c4a85736e7
removed unnecessary changes from ScriptEngine
2014-06-30 13:51:43 -07:00
Andrzej Kapolka
73a1e759a4
Include an additional bit with the objects that says whether what follows is
...
a delta. The clients may be retaining references to the objects, so we can't
rely on their having been deleted.
2014-06-30 12:35:34 -07:00
wangyix
d2f86278b2
modified AudioStreamStats to per-stream with seq stats
...
added AudioStreamStats info to interface overlay stats
2014-06-30 12:31:58 -07:00
wangyix
de3c1ebf0f
changed class name to AudioStreamStats, reverted ScriptEngine packing back to QDataStream
2014-06-30 09:42:22 -07:00
David Rowe
742007892f
Rework old fix for Script Editor Script.stop() crash
2014-06-29 19:57:26 -07:00
Aleric Inglewood
f13bbdfae6
Compile fix for non-standard Qt5 install.
...
When Qt5 5.2.1 is compiled from source, configured with
-developer-build, and used without being installed;
then compiling interface results in the following compile error:
libraries/shared/src/RegisteredMetaTypes.h:17:34: fatal error: QtScript/QScriptEngine: No such file or directory
This commit fixes this by explicitely adding the include
directory for QtScript/QScriptEngine to libraries/shared/CMakeLists.txt
Likewise we get the compile error:
In file included from /opt/highfidelity/hifi/hifi/animation-server/../libraries/voxels/src/VoxelEditPacketSender.h:18:0,
from /opt/highfidelity/hifi/hifi/animation-server/src/AnimationServer.cpp:26:
/opt/highfidelity/hifi/hifi/animation-server/../libraries/voxels/src/VoxelDetail.h:15:34:
fatal error: QtScript/QScriptEngine: No such file or directory
which is fixed by added the include directory for QtScript/QScriptEngine
to animation-server/CMakeLists.txt
Finally, compile errors like
In file included from /opt/highfidelity/hifi/hifi/libraries/audio/src/AudioInjectorOptions.h:20:0,
from /opt/highfidelity/hifi/hifi/libraries/audio/src/AudioInjector.h:21,
from /opt/highfidelity/hifi/hifi/libraries/audio/src/AudioInjector.cpp:22:
/opt/highfidelity/hifi/hifi/assignment-client/../libraries/shared/src/RegisteredMetaTypes.h:17:34: fatal error: QtScript/QScriptEngine: No such file or directory
that requires to do the same in libraries/audio/CMakeLists.txt
2014-06-30 02:06:44 +02:00
Andrzej Kapolka
4f9cf82335
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-27 17:53:50 -07:00
wangyix
c3f571745c
removed more debug stuff
2014-06-27 17:42:22 -07:00
wangyix
4587828a3a
removed debug prints
2014-06-27 16:48:21 -07:00
wangyix
0ae58bd7f9
added senderUUID arg to seq stats
2014-06-27 15:39:11 -07:00
Aleric Inglewood
1bc2f214a5
Compiler warning fixes.
...
This fixes all warnings that I got while compiling with g++ 4.7.2:
In file included from interface/src/Application.h:53:0,
from interface/src/Menu.cpp:36:
interface/src/Menu.h: In constructor ‘Menu::Menu()’:
interface/src/Menu.h:292:13: warning: ‘Menu::_scriptsLocation’ will be initialized after [-Wreorder]
interface/src/Menu.h:289:27: warning: ‘QPointer<LoginDialog> Menu::_loginDialog’ [-Wreorder]
interface/src/Menu.cpp:82:1: warning: when initialized here [-Wreorder]
libraries/audio/src/AudioRingBuffer.cpp: In member function ‘qint64 AudioRingBuffer::writeData(const char*, qint64)’:
libraries/audio/src/AudioRingBuffer.cpp:126:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
libraries/audio/src/PositionalAudioRingBuffer.cpp: In member function ‘bool PositionalAudioRingBuffer::shouldBeAddedToMix()’:
libraries/audio/src/PositionalAudioRingBuffer.cpp:212:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
interface/ui/preferencesDialog.ui: Warning: The name 'horizontalLayout_11' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_111'.
interface/ui/preferencesDialog.ui: Warning: The name 'horizontalSpacer_11' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_111'.
interface/src/avatar/Avatar.cpp: In member function ‘void Avatar::initializeHair()’:
interface/src/avatar/Avatar.cpp:587:21: warning: name lookup of ‘link’ changed [enabled by default]
interface/src/avatar/Avatar.cpp:574:18: warning: matches this ‘link’ under ISO standard rules [enabled by default]
interface/src/avatar/Avatar.cpp:577:22: warning: matches this ‘link’ under old rules [enabled by default]
interface/src/ui/ApplicationOverlay.cpp: In member function ‘void ApplicationOverlay::renderControllerPointers()’:
interface/src/ui/ApplicationOverlay.cpp:379:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from interface/src/ui/RunningScriptsWidget.cpp:14:0:
interface/src/ui/RunningScriptsWidget.h: In constructor ‘RunningScriptsWidget::RunningScriptsWidget(QWidget*)’:
interface/src/ui/RunningScriptsWidget.h:61:18: warning: ‘RunningScriptsWidget::_scriptsModel’ will be initialized after [-Wreorder]
interface/src/ui/RunningScriptsWidget.h:60:27: warning: ‘QSortFilterProxyModel RunningScriptsWidget::_proxyModel’ [-Wreorder]
interface/src/ui/RunningScriptsWidget.cpp:27:1: warning: when initialized here [-Wreorder]
2014-06-27 22:18:38 +02:00
Andrzej Kapolka
61c2ea40ae
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-27 12:34:50 -07:00
wangyix
ff438a2434
added seq stats for Agent,
...
fixed AudioInjector to do << (quint16)0 instead of
skipRawData(sizeof(quint16) to correctly allocate space for seq number;
added debug prints;
2014-06-27 11:23:50 -07:00
Atlante45
baf4a82269
Fix crash occuring when geometry not yet available
2014-06-27 09:56:03 -07:00
Andrzej Kapolka
f16098daef
Use the refactored endpoint/client classes in the actual client/server.
2014-06-26 19:11:54 -07:00
wangyix
c5474f95bd
forgot to skip seq number in InjectedAudioRingBuffer::parseData()
2014-06-26 16:55:29 -07:00
wangyix
cb48825561
added seq number to all Audio types, untested
2014-06-26 16:52:23 -07:00
Atlante45
e41d3f407b
Removed nested lock
2014-06-26 16:40:59 -07:00
Andrzej Kapolka
4b2d122f3d
Working on factoring out the common metavoxel endpoint/client code.
2014-06-26 16:12:11 -07:00
Ryan Huffman
50e77be406
Add DELETE to AccountManager
2014-06-26 16:07:02 -07:00
wangyix
97139b0bd0
Merge branch 'master' into seqNumberStats
2014-06-26 11:47:00 -07:00
Atlante45
0b0cbdf340
Merge branch 'master' of https://github.com/highfidelity/hifi into sit_on_a_model
2014-06-26 11:35:29 -07:00
wangyix
7f23a7fbde
switched AudioRingBuffer to use _isFull flag instead
2014-06-26 11:26:10 -07:00
wangyix
ad8fe38a59
removed extra sample in AudioRingBuffer for testing
2014-06-26 09:27:06 -07:00
Andrzej Kapolka
014ea2a36f
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-25 18:22:33 -07:00
Clément Brisset
e7d3e244fb
Merge pull request #3076 from ey6es/master
...
Fixes for uninitialized variable warnings, disabled strict aliasing to allow safe type punning (and avoid warnings).
2014-06-25 18:18:58 -07:00
wangyix
37ce693153
added seqnum stats to AudioMixerClientData; added seqnums to Audio.cpp
2014-06-25 18:01:34 -07:00
wangyix
2ec04fb756
replaced old seqnum tracking code with SequenceNumberStats
2014-06-25 17:20:57 -07:00
Andrzej Kapolka
f828b0c466
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-25 16:57:07 -07:00
Andrzej Kapolka
5effcd24ff
Only increase/decrease rate when we want to send more/have sent more than the
...
minimum, respectively.
2014-06-25 16:56:02 -07:00
wangyix
b220b092f4
added SequenceNumberStats and unit test
2014-06-25 16:35:08 -07:00
Andrzej Kapolka
705445ce62
Basic congestion control using TCP-esque strategy.
2014-06-25 15:48:46 -07:00
Andrzej Kapolka
41b01dbaed
Fix warning and simplify encodeRandomOrder.
2014-06-25 13:00:17 -07:00
wangyix
9b8f8dbf70
removed more more unnecessary changes
2014-06-25 12:05:59 -07:00
Atlante45
a8c3501bdd
Keep sitting points updated
2014-06-25 11:49:36 -07:00
Atlante45
1d7d970ff6
Added sitting points to modelItem
2014-06-25 11:48:48 -07:00
wangyix
c583f8b023
removed unnecessary changes
2014-06-25 11:48:32 -07:00
Andrzej Kapolka
8999fcef17
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-25 11:42:55 -07:00
wangyix
dd1c157f3a
reverted updateDesiredJitterBufferFrames to what Brad wrote
2014-06-25 11:42:03 -07:00
Andrzej Kapolka
ae1422e0cb
Reset the write position when we hear of packet loss (up to once per round
...
trip time).
2014-06-25 11:42:02 -07:00
wangyix
591bfa14b9
added PacketTypeAudioStreamStats for j-buffer stats
...
...instead of packing that info into audio packets.
2014-06-25 11:38:56 -07:00
David Rowe
e92ad86282
Clear script engine errors once they have been reported
...
So that an error is not repeatedly reported to the console and log file.
Also consistently report filename.
And scripts included after one in error will now be run.
2014-06-25 10:51:18 -07:00
Atlante45
c660986480
Merge branch 'master' of https://github.com/highfidelity/hifi into sit_on_a_model
2014-06-25 10:49:51 -07:00
wangyix
1257e0595a
moved jbufferstats class to PositionalAudioRingBuffers
2014-06-25 09:52:02 -07:00
Andrew Meadows
fea1f4a310
merge upstream/master > andrew/say-no-to-warnings
2014-06-25 09:41:52 -07:00
Andrew Meadows
d3d8e4dc2d
fix warnings about signed/unsigned comparisons
2014-06-25 09:07:10 -07:00
Andrew Meadows
552efa3e91
remove warning: unused variables
2014-06-25 09:01:49 -07:00
ZappoMan
fd3916e662
another hack attempt to fix unit tests on windows
2014-06-24 20:10:06 -07:00
ZappoMan
1eb5b3dda1
argggg ssize_t from stdlib.h
2014-06-24 19:58:59 -07:00
ZappoMan
d967c100c4
argggg ssize_t from types.h
2014-06-24 19:57:52 -07:00
Andrzej Kapolka
d913ac4486
Fix for streams' getting stuck on the final part.
2014-06-24 19:34:19 -07:00
ZappoMan
5486cd4019
argggg ssize_t
2014-06-24 19:29:26 -07:00
ZappoMan
71afc3f4d4
argggg ssize_t
2014-06-24 19:26:24 -07:00
ZappoMan
e5349024e6
argggg ssize_t
2014-06-24 19:15:48 -07:00
Andrzej Kapolka
e7db355c95
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-24 19:11:43 -07:00
ZappoMan
7d759fc00c
argggg
2014-06-24 19:11:32 -07:00
Andrzej Kapolka
65e50f32e4
Tests, fixes for SpanList.
2014-06-24 19:10:52 -07:00
ZappoMan
3ad07f4b91
argggg
2014-06-24 19:08:16 -07:00
Atlante45
9a6f144da9
Added sitting points metadata for fst
2014-06-24 18:21:57 -07:00
ZappoMan
40a842d251
windows build issue
2014-06-24 18:15:00 -07:00
wangyix
d098edcdf0
Merge remote-tracking branch 'upstream/master'
2014-06-24 17:39:13 -07:00
ZappoMan
bc5f563f5c
and change ring buffer size
2014-06-24 17:25:45 -07:00
wangyix
52f00769d4
merged with upstream
2014-06-24 17:22:30 -07:00
wangyix
e1d28dfe73
removed debug code
2014-06-24 17:14:20 -07:00
wangyix
5fd1d0a87c
added AudioRingBuffer unit test
...
fixed bug with _endOfLastWrite not rolling over in addSilentFrame
2014-06-24 16:51:51 -07:00
Brad Hefta-Gaub
6d77d438ab
Merge pull request #3057 from AndrewMeadows/ragdoll
...
Ragdoll Part3: avatar shapes self collide (but don't yet affect the joint positions of MyAvatar)
2014-06-24 15:47:18 -07:00
wangyix
8e2bb130f7
added extra sample in AudioRingBuffer...
...
changed buffer overflow behavior to overwrite old data in writeData;
added overflow behavior to drop silent samples in addSilentFrame
2014-06-24 12:18:40 -07:00
ZappoMan
cdbda02765
make default ring buffer much larger
2014-06-24 12:09:58 -07:00
ZappoMan
1d390faad8
add support for commandline/config value for dynamic jitter buffers
2014-06-24 10:29:38 -07:00
ZappoMan
5c188ea81e
adding more stats
2014-06-24 09:41:29 -07:00
wangyix
254946be9e
removed duplicate method from merge
2014-06-24 09:27:41 -07:00
wangyix
53e3f5a3b0
merged with upstream
2014-06-24 09:13:05 -07:00
ZappoMan
fda60cc8d5
remove resizing of jitter buffers for now, only ask for 1 frame
2014-06-23 18:45:24 -07:00
ZappoMan
355ab2cb95
max desired must be one less than the max frames in our ringbuffer
2014-06-23 17:58:55 -07:00
wangyix
a4f5ce2215
added stats for audiomixer jitter buffers lengths in Application
2014-06-23 17:48:57 -07:00
ZappoMan
77f262561c
typo
2014-06-23 16:47:10 -07:00
ZappoMan
8a633743b3
ignore the numSilentSamples from client, always assume one frame
2014-06-23 16:40:38 -07:00
ZappoMan
b2c982976e
break up audio mixer stats across multiple packets
2014-06-23 15:46:58 -07:00
ZappoMan
076bc11545
added server side audio mixer jitter stats
2014-06-23 15:19:13 -07:00
Andrew Meadows
d892a9c00f
fixed warning about possible uninitialized variable.
2014-06-23 14:07:31 -07:00
Andrew Meadows
df740dd82a
Fix bad static const inside class.
2014-06-23 14:07:09 -07:00
Andrew Meadows
e2204ab78e
friend foo --> friend class foo
2014-06-23 13:59:44 -07:00
Brad Hefta-Gaub
18cd794542
Merge pull request #3055 from wangyix/master
...
Audio jitter buffer resizes depending on max inter-frame time gaps of incoming audio packets
2014-06-23 12:45:04 -07:00
Andrew Meadows
3e0673418f
more complete physics iteration for stability
2014-06-23 12:32:23 -07:00
wangyix
fbdca59d37
fixed spacing issue
2014-06-23 11:56:14 -07:00
wangyix
ffc20b8876
changed InterframeTimeGapHistory to InterframeTimeGapStats
2014-06-23 11:22:04 -07:00
wangyix
e5d7d471e3
removed debug code
2014-06-23 10:55:30 -07:00
Andrew Meadows
5e4d757e4e
merge upstream/master into andrew/ragdoll
2014-06-23 10:43:40 -07:00
Andrew Meadows
b50bf09c93
findPlaneCollisions() works in theory, not used
2014-06-23 10:39:50 -07:00
Andrew Meadows
8986be5f1c
remove old collideAgaintsOurself() code
2014-06-23 10:36:31 -07:00
wangyix
7196814ec3
added debug prints to look at injected ring buffers
2014-06-23 10:22:16 -07:00
Andrew Meadows
c1c2df5933
remove debug include
2014-06-23 08:53:58 -07:00
Andrew Meadows
b2ea8c0bf9
Compute more correct masses for ragdoll parts
...
also pin root ragdoll shape at the local-frame origin
for stability
2014-06-23 08:37:11 -07:00
Andrew Meadows
ea83a97b75
Add getVolume() method to Shape
2014-06-23 08:36:45 -07:00
Andrzej Kapolka
49f1d427ec
Removed incremental streaming stubs.
2014-06-20 18:12:08 -07:00
Andrzej Kapolka
de0c45a919
Spanner mutation in test.
2014-06-20 18:09:51 -07:00
wangyix
6b72b161d3
fixed typo with frames/samples confusion.
2014-06-20 17:52:46 -07:00
wangyix
124fba35db
fixed minor comment typo
2014-06-20 17:39:05 -07:00
wangyix
cb6681f6f8
completed code for dynamicly resizing jitter buffer
2014-06-20 17:13:42 -07:00
Andrew Meadows
dcd9d8871d
re-enabling some temporary debug stuff
2014-06-20 16:36:44 -07:00
Andrew Meadows
c17b8fdb60
collisions update shapes
...
VerletShapes keep pointers to VerletPoints (rather than to glm::vec3's)
VerletShapes compute lagrangian coefficients
VerletShapes send their movement accumulations to their VerletPoints
2014-06-20 16:31:39 -07:00
wangyix
a5457eb86b
fixed bug in Audio.cpp where numSilentSamples was written to wrong place in packet
...
added more debug stuff, other minor changes and fixes
2014-06-20 14:43:18 -07:00
Andrzej Kapolka
ce778f47b1
More work on stream testing, fixed bug with differently-ordered edits.
2014-06-20 14:08:39 -07:00
Andrew Meadows
c7ad3da47d
stubbery for processing collisions
...
PhysicsSimulation tells CollisionInfos to apply() themselves
CollisionInfo knows how to apply() itself to affected shapes
Shape gets _mass and some stubbed methods for accumulating movement
VerletPoint gets movement accumulator
2014-06-20 10:55:57 -07:00
Andrzej Kapolka
24f535e02d
Working on metavoxel streaming tests.
2014-06-19 18:15:17 -07:00
wangyix
435b5094a0
moved time gap history to PositionalAudioRingBuffer, untested
...
removed hard-coded jitter buffer length.
2014-06-19 17:58:38 -07:00
Andrew Meadows
4a0ce7a9ae
support disabling collisions btw adjacent joints
2014-06-19 17:39:50 -07:00
wangyix
100bc022ec
fixed a for loop that erased elements while iterating
2014-06-19 16:42:51 -07:00
Andrew Meadows
f0c2417206
Split PhysicsSimulation::stepForward() into parts
2014-06-19 15:50:16 -07:00
wangyix
77c377711a
removed debug code
2014-06-19 15:39:54 -07:00
wangyix
8176aa1292
added debug code for testing time gap history
2014-06-19 14:54:22 -07:00
Andrzej Kapolka
7a9c0f0e6a
Working on tests for metavoxel streaming.
2014-06-19 14:50:19 -07:00
wangyix
aa3602f0fb
added InterframeTimeGapHistory and frameReceived() calls
2014-06-19 14:35:02 -07:00
Andrew Meadows
716ae3e479
add MyAvatar's skeleton to its PhysicsSimulation
2014-06-19 12:32:17 -07:00
Andrew Meadows
828c365b25
more dtor cleanup of back pointers
2014-06-19 11:57:32 -07:00
Andrew Meadows
9950c5b209
remove entities in PhysicsSimulation dtor
2014-06-19 11:52:44 -07:00
Andrew Meadows
fbafcb6fd8
Fix distance constraint lengths
2014-06-19 11:46:09 -07:00
Andrew Meadows
2453e9c36a
build ragdoll constraints again
2014-06-19 10:31:55 -07:00
Andrew Meadows
5e74ee8c05
VerletPoint has position, lastPosition, and mass
2014-06-19 09:54:32 -07:00
Andrew Meadows
d3a78c9fc2
simulation step stubbed out
2014-06-19 09:14:36 -07:00
Andrew Meadows
a8c2003fe6
namechange SimulationEngine --> PhysicsSimulation
2014-06-19 08:34:12 -07:00
Andrew Meadows
7cd1f75282
PhysicalEntity gets backpointer to SimulationEngine
2014-06-18 20:47:57 -07:00
Andrzej Kapolka
2decfb9561
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-18 18:08:19 -07:00
Andrzej Kapolka
531c32fdd3
More comments, stubbing out incremental streaming.
2014-06-18 18:07:50 -07:00
Andrew Meadows
c98631f820
merge upstream/master into andrew/ragdoll
2014-06-18 17:23:24 -07:00
Andrew Meadows
d4b5550cda
Skeleton now creates VerletShape
2014-06-18 17:22:39 -07:00
wangyix
761a154a93
Merge remote-tracking branch 'upstream/master'
2014-06-18 15:59:45 -07:00
Brad Hefta-Gaub
c7b1b504b4
Merge pull request #3047 from birarda/master
...
allow a payload to define a zone of unattenuated audio
2014-06-18 15:25:41 -07:00
wangyix
827b28ceda
Merge remote-tracking branch 'origin/master'
...
Conflicts:
assignment-client/src/octree/OctreeInboundPacketProcessor.cpp
2014-06-18 15:21:19 -07:00
Brad Hefta-Gaub
f2b2784fa9
Merge pull request #3045 from wangyix/edit_nack_pull
...
Changed octree data NACK handling to repeatedly NACK missing seq numbers, like edit NACKs
2014-06-18 15:02:40 -07:00
Andrzej Kapolka
6ec562931f
Some additional comments for DatagramSequencer.
2014-06-18 14:44:11 -07:00
Andrew Meadows
3791b4712b
adding some documentation about the VerletShapes
2014-06-18 14:17:12 -07:00
Andrew Meadows
96eebec0fc
unit tests for VerletShapes
2014-06-18 14:06:00 -07:00
Stephen Birarda
db1031144b
fix passing of unattenuated zones to buffers
2014-06-18 13:46:03 -07:00
wangyix
f76b4dc1ab
made getMissingSequenceNumbers() inline
2014-06-18 13:39:49 -07:00
wangyix
29723d0ef3
changed octree data nacks to repeatedly nack missing seq nums
2014-06-18 13:36:54 -07:00
Stephen Birarda
5878b4af59
setup listener unattenuated zones for source ring buffers
2014-06-18 12:50:16 -07:00
Andrzej Kapolka
e0689b1484
Fixed compile error on Xcode.
2014-06-18 12:04:41 -07:00
Andrzej Kapolka
49ab3d6b43
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-06-18 11:59:04 -07:00
Clément Brisset
7597191081
Merge pull request #3042 from ZappoMan/editModelFeatures
...
add support for changing the model URL of a model
2014-06-18 11:52:01 -07:00