Andrew Meadows
ee0d0a1566
remove ragdoll from simulation in dtor
2014-08-14 09:20:53 -07:00
wangyix
81fa5ed41f
readPendingDatagrams stats printed and sent to domain page
...
jittertester now prints out send or receive error msgs
2014-08-13 16:48:06 -07:00
Andrew Meadows
f66398d366
adding comment about parameter's purpose
2014-08-13 15:06:34 -07:00
Andrew Meadows
7852321152
merge upstream/master into andrew/ragdoll
2014-08-13 14:52:14 -07:00
Andrew Meadows
b177686f74
minor tweak to how ContactPoint is updated
2014-08-13 14:50:25 -07:00
Andrew Meadows
2f1a56a87c
ContactPoint tries to help maintain collisions
...
so that collision events will continue to update the contact
2014-08-13 13:48:04 -07:00
wangyix
b17c9102c9
added stats for readPendingDatagrams in audiomixer
2014-08-13 13:30:02 -07:00
Andrew Meadows
bc432aa8e8
use relative masses for ContactPoint contsrtaint
2014-08-13 11:29:54 -07:00
Andrew Meadows
4de43b7cbe
cleanup and reordering of code
2014-08-13 11:19:32 -07:00
wangyix
db0fbcab97
merge with upstream
2014-08-13 11:09:55 -07:00
ZappoMan
3551bd676f
quiet a lot of debugging, fix issue with updating entities that overhang the domain bounds
2014-08-12 13:14:28 -07:00
ZappoMan
027b1d58cc
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
interface/src/entities/EntityTreeRenderer.h
interface/src/models/ModelTreeRenderer.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.h
2014-08-08 14:26:56 -07:00
Stephen Birarda
d5b1bee13c
resolve conflicts on merge with upstream master
2014-08-08 13:48:32 -07:00
Stephen Birarda
6eb2c73624
add assert include to SharedUtil
2014-08-08 13:23:54 -07:00
Stephen Birarda
27419b7b6b
fix some build blockers in test directory
2014-08-08 13:17:54 -07:00
Stephen Birarda
0378fb3049
break glm helpers out of SharedUtil
2014-08-08 13:17:53 -07:00
wangyix
63624fae7d
cleaned up code, fixed typos
2014-08-08 11:40:48 -07:00
wangyix
b670226ee3
removed printf, removed random copy of some file
2014-08-08 11:22:04 -07:00
Philip Rosedale
96a795eea4
Merge pull request #3263 from AndrewMeadows/ragdoll
...
Ragdoll Part 9:
2014-08-07 22:12:31 -07:00
wangyix
1153a76ab1
new option knobs added, no new behavior yet
2014-08-07 16:37:36 -07:00
ZappoMan
84f3ede32f
small change to force rebuild
2014-08-07 15:09:24 -07:00
Andrew Meadows
bb33266635
merge upstream/master into andrew/ragdoll
2014-08-07 14:37:10 -07:00
Andrew Meadows
94da63006c
VerletPoint::_mass is now private
...
We set the mass of other avatars artificially high
so they are less movable.
2014-08-07 14:35:32 -07:00
Andrew Meadows
0f784a9cc5
add other ragdolls to simulation
2014-08-07 13:09:05 -07:00
wangyix
357ba92181
working towards more dials for InboundAdioStream
2014-08-07 12:41:09 -07:00
Andrew Meadows
87350ad2d0
ragdoll simulation now in model-relative frame
...
(same rotation as world-frame, but translated to MyAvatar origin)
2014-08-07 11:45:06 -07:00
Andrew Meadows
27b876e84c
namechange _frame --> _frameCount
2014-08-07 09:02:31 -07:00
AndrewMeadows
2653b33b67
Merge pull request #3257 from Atlante45/referentials
...
Referentials
2014-08-06 14:12:18 -07:00
Andrew Meadows
cb8c0792b2
make main ragdoll and entity special
...
also addded some logic (unused) to add ragdolls of other avatars
2014-08-06 10:43:56 -07:00
Andrew Meadows
a1fccdb177
remove dangling shape pointers from PhysicsSimulation
2014-08-05 08:32:14 -07:00
Andrew Meadows
39d3deee90
merge upstream/master into andrew/ragdoll
2014-08-04 17:37:28 -07:00
Andrew Meadows
f126ce299a
ContactPoint = set of assymetric distance consraints
2014-08-04 17:34:24 -07:00
Andrew Meadows
4beee3fecf
add Shape::getVerletPoints()
2014-08-04 17:33:24 -07:00
Andrew Meadows
d1b2ba4a43
fix bug: false positive capsuleCapsule() collision
...
for capsules with parallel axes and negative pojection of
center-to-center separation
also replace fabs() with fabsf()
2014-08-04 17:30:23 -07:00
Stephen Birarda
9fc545001c
look for a config.json file by default in resources
2014-08-04 15:40:45 -07:00
Atlante45
d9dde06c14
Various tweaks to referentials
2014-08-04 14:59:15 -07:00
ZappoMan
3a8c5018ee
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
libraries/entities/src/EntityTreeElement.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.cpp
libraries/models/src/ModelTree.h
libraries/models/src/ModelTreeElement.cpp
libraries/networking/src/PacketHeaders.h
libraries/octree/src/OctreeEditPacketSender.cpp
libraries/octree/src/OctreeEditPacketSender.h
2014-08-04 12:01:23 -07:00
Andrew Meadows
1ec6ee05f3
Rename ContactConstraint to ContactPoint
2014-08-01 15:08:21 -07:00
Andrew Meadows
3305f5edf9
merge upstream/master into andrew/ragdoll
2014-08-01 11:13:18 -07:00
Andrew Meadows
789eeed760
limit action of ContactConstraint to penetration
2014-08-01 11:11:41 -07:00
Andrew Meadows
9d2744296e
update physics stats names
2014-07-31 13:33:46 -07:00
Andrew Meadows
fc1d805d54
add ContactConstraint and use to impede muscles
2014-07-31 13:16:06 -07:00
Andrew Meadows
0f82236f2c
minor cleanup
2014-07-31 13:09:10 -07:00
Andrew Meadows
0b9f246661
set the shape ID in the ctor's NOT the dtor
2014-07-31 13:08:27 -07:00
ZappoMan
77e1867b11
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
assignment-client/src/Agent.cpp
assignment-client/src/Agent.h
examples/editModels.js
interface/src/Application.h
2014-07-31 10:34:23 -07:00
Brad Hefta-Gaub
d6e6cfd585
Merge pull request #3216 from wangyix/inbound_audio_stream
...
Audio ringbuffer classes refactored into subclasses of InboundAudioStream
2014-07-30 18:00:17 -07:00
Andrew Meadows
f579d2a0e2
add CollisionInfo::getShapePairKey()
2014-07-30 13:11:45 -07:00
Andrew Meadows
176d8d157d
remove unused Constraint::_type
2014-07-30 13:07:32 -07:00
Andrew Meadows
7b76753daf
add PhysicsSimulation::_frame
2014-07-30 11:45:53 -07:00
Andrew Meadows
c0689f3784
fix old bug: rotation of CapsuleShape not updated
...
when setting endpoints directly
2014-07-30 11:30:08 -07:00
Andrew Meadows
53db6dec13
fix old copy-n-paste typo
2014-07-30 11:29:43 -07:00
Andrew Meadows
917833d92a
namechange for Shape::_id
2014-07-30 11:29:07 -07:00
Andrew Meadows
dde0cbddcc
add Shape::_id
2014-07-30 11:09:19 -07:00
Andrew Meadows
81ba686fdf
more perfstats for ragdoll simulation
2014-07-30 11:02:47 -07:00
Andrew Meadows
67b9c185eb
formatting and minor tweaks to constraint strengths
2014-07-29 16:48:34 -07:00
wangyix
71c23eac1e
added TimeWeightedAvg to InboundAudioStream
...
_maxFramesOverDesired hardcoded right now
2014-07-29 13:51:46 -07:00
Atlante45
03031c4c04
Outdated link
2014-07-28 16:36:12 -07:00
ZappoMan
805a88b73b
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
examples/editModels.js
interface/src/entities/EntityTreeRenderer.h
libraries/models/src/ModelsScriptingInterface.cpp
libraries/script-engine/src/ScriptEngine.cpp
2014-07-28 13:39:35 -07:00
wangyix
9bbd055404
added stdev method of jitter calc to InboundAudioStream
2014-07-28 11:41:08 -07:00
Andrew Meadows
60612f6397
implement VerletPoint::integrateForward()
2014-07-25 15:23:12 -07:00
Andrew Meadows
b2c2cfec79
implement base Ragdoll::stepRagdollForward()
2014-07-25 15:22:25 -07:00
Andrew Meadows
2ddca4fbf9
split independent classes out of Ragdoll files
2014-07-24 09:50:16 -07:00
Andrew Meadows
b62f04e9fe
check for nan's coming out of rotationBetween()
2014-07-23 16:51:53 -07:00
Andrew Meadows
c0e02107c5
minor cleanup
2014-07-23 16:51:26 -07:00
ZappoMan
30aee70346
latest work
2014-07-21 09:18:21 -07:00
Philip Rosedale
1b265f3adb
Merge pull request #3180 from AndrewMeadows/ragdoll
...
Ragdoll Part4: ragdoll shapes follow target joints, visible joints follow ragdoll shapes
2014-07-17 16:00:02 -07:00
Brad Hefta-Gaub
437e3efbc2
Merge pull request #3179 from wangyix/quick_audio_PR
...
Lost audio packets are replaced with silent frames in AudioMixer; AudioMixer silent-packet-dropping now enabled no matter what; Moving avg of audio frames available replaces _currentJitterBufferFrames
2014-07-17 11:44:05 -07:00
Andrew Meadows
b22652f441
merge upstream/master into andrew/ragdoll
2014-07-17 10:52:27 -07:00
Andrew Meadows
66158cb8a2
fix capsule-vs-capule collision test
2014-07-17 09:19:17 -07:00
wangyix
6764ace8eb
droppable silent packets are added for dropped packets;
...
_currentJitterBufferFrames replaced with moving average of frames
available. Downstream framesAvailable stat now includes the frames in
QAudioOutput as well as the ringbuffer.
2014-07-16 14:41:24 -07:00
Andrew Meadows
922912b784
merge upstream/master into andrew/ragdoll
...
Conflicts:
interface/src/Menu.h
2014-07-16 09:00:36 -07:00
Andrzej Kapolka
469e31cc05
Script bindings for QColor.
2014-07-15 16:44:02 -07:00
ZappoMan
1eb472c43a
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
2014-07-15 10:05:06 -07:00
ZappoMan
2baac96665
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
examples/sit.js
interface/src/Application.cpp
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelsScriptingInterface.cpp
2014-07-15 10:04:40 -07:00
wangyix
1047ec7c87
merge with upstream
2014-07-14 16:25:26 -07:00
Aleric Inglewood
935f28aa35
Type fix. That that even compiled :/
2014-07-14 21:18:37 +02:00
wangyix
cb5a9bf668
moved some const defs to avoid redefinition
2014-07-14 10:43:02 -07:00
Aleric Inglewood
13c2c69d06
Fix another typo in previous commit
2014-07-13 20:54:27 +02:00
Aleric Inglewood
ea98b58b40
Debug support: allow printing of glm types to QDebug.
...
This adds support for serialization to QDebug of
glm::vec3, glm::quat and glm::mat4.
Output example:
qDebug().nospace() << "Calling PhysicsEntity::findRayIntersection(" << origin << ", " << direction << ", &distance) const; numShapes = " << numShapes;
leads to:
[2014-07-13T20:24:47] Calling PhysicsEntity::findRayIntersection({type='glm::vec3', x=5222.45, y=2159.05, z=6527.79}, {type='glm::vec3', x=0, y=-0.119145, z=-0.992877}, &distance) const; numShapes = 0
Note that we explicitly don't return dbg.space() because
we want to be able to print these things comma separated
as follows: {...}, {...}, ... as opposed to {...} , {...} etc.
I changed the already existing operator<< for Box to
the more general case, where it just prints its members
and doesn't mess with the internals of its members.
The result is more verbose, but also more recognizable when
in the future everything will look the same, allowing
for speed reading the debug output.
The constructor of Box needed to made explicit because
it was too annoying that when one forgets to #include "StreamUtils.h"
that writing a glm::vec3 resulted in printing out a Box,
implicitly converted from the vector.
2014-07-13 20:43:02 +02:00
wangyix
82e9aa8bb7
made stats easier to read; reverted injected stream deletion conditions
2014-07-11 16:08:15 -07:00
Andrew Meadows
c5a5f8c5d4
bug fix: bad logic in capsule-vs-capsule
2014-07-11 10:54:16 -07:00
Andrew Meadows
7c8f5e2c12
Remove some old TODO comments
2014-07-11 10:54:03 -07:00
wangyix
25f4f63a1e
added window PacketStreamStats to AudioStreamStats
2014-07-10 16:42:23 -07:00
ZappoMan
780532bfd8
more model to entity renaming, adding AABox:clamp() and AACube::clamp() fix AddEntity to support adding an entity that extends over bounds of universe
2014-07-10 13:42:49 -07:00
wangyix
35419eb939
Merge remote-tracking branch 'upstream/master' into quick_audio_PR
2014-07-10 11:56:35 -07:00
wangyix
a955a17472
changed RingBufferHistory to use qvector instead of raw array
2014-07-10 11:55:19 -07:00
wangyix
0b213f9616
streamlined AudioStreamStats packing; added #include <limits>
2014-07-10 10:44:33 -07:00
wangyix
35e4b253c2
added typename keyword in MovingMinMaxAvg.h
2014-07-10 10:35:29 -07:00
wangyix
763cc26fa9
added operator= to RingBufferHistory<T>::Iterator
2014-07-10 10:21:03 -07:00
wangyix
37b60a63b2
removed spaces
2014-07-10 10:01:32 -07:00
wangyix
0d83b9a6f6
tidied up code
2014-07-10 09:51:01 -07:00
wangyix
01f10024ae
all stats added, needs testing; created PacketStreamStats struct
2014-07-09 18:13:33 -07:00
wangyix
81e168f657
added RingBufferHistory template class, used it in SentPacketHistory and MovingMinMaxAvg
2014-07-09 15:38:03 -07:00
Andrew Meadows
9ce6844e9d
fix accidental broken class definition
2014-07-09 14:39:08 -07:00
Andrew Meadows
63bcee0229
fix whitespace formatting
2014-07-09 14:33:09 -07:00
wangyix
d03d3ef817
new auidostreamstats displayed in interface, domain page stats updated
2014-07-09 11:59:50 -07:00
Andrew Meadows
d26585728b
Improved stat accumulation and context names
2014-07-09 11:53:53 -07:00
Andrew Meadows
d214998d1a
enforce coding standard: explicit casts
2014-07-09 11:53:09 -07:00
wangyix
54e8ed5e11
added MovingMinMaxAvg and unit test; added additional stats to AudioStreamStats struct
2014-07-09 09:41:49 -07:00
ZappoMan
c449ba27a9
more virtual entity work
2014-07-03 15:18:17 -07:00
ZappoMan
ec0c350f60
Merge branch 'master' of https://github.com/worklist/hifi into virtualEntities
...
Conflicts:
interface/src/Application.cpp
interface/src/DatagramProcessor.cpp
libraries/script-engine/src/ScriptEngine.cpp
2014-07-03 14:20:40 -07:00
Andrew Meadows
8c8a29f477
merge upstream/master into andrew/ragdoll
2014-07-03 09:27:52 -07:00
Andrew Meadows
356a29c2fb
add AngularConstraint::softClamp() for hands
2014-07-03 08:40:34 -07:00
Atlante45
6e02561d96
Merge branch 'master' of https://github.com/highfidelity/hifi into replace_qnetworkaccessmanager
2014-07-02 14:08:57 -07:00
Andrew Meadows
f5debdb930
merge upstream/master into andrew/bispinor
2014-07-02 11:23:42 -07:00
Atlante45
15b37ec3d1
Switched ResourceCache to NetworkAccessManager
2014-07-02 11:21:07 -07:00
Andrew Meadows
5934ee5b22
added tests for ConeRollerConstraint
2014-07-01 09:35:47 -07:00
Andrew Meadows
9ca1bfdfe5
add AngularConstraint.* with some unit tests
...
more unit tests to follow
2014-06-30 18:05:22 -07:00
Andrew Meadows
552efa3e91
remove warning: unused variables
2014-06-25 09:01:49 -07:00
ZappoMan
a019b70e58
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
...
Conflicts:
tests/octree/CMakeLists.txt
tests/octree/src/ModelTests.cpp
tests/octree/src/main.cpp
2014-06-24 15:59:17 -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
Andrew Meadows
3e0673418f
more complete physics iteration for stability
2014-06-23 12:32:23 -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
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
de0c45a919
Spanner mutation in test.
2014-06-20 18:09:51 -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
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
Andrew Meadows
4a0ce7a9ae
support disabling collisions btw adjacent joints
2014-06-19 17:39:50 -07:00
Andrew Meadows
f0c2417206
Split PhysicsSimulation::stepForward() into parts
2014-06-19 15:50:16 -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
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
ZappoMan
28c7c24399
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
...
Conflicts:
libraries/octree/src/AABox.h
2014-06-18 15:27:36 -07:00
ZappoMan
c54bdb3e8d
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
2014-06-18 15:20:08 -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
5878b4af59
setup listener unattenuated zones for source ring buffers
2014-06-18 12:50:16 -07:00
Brad Hefta-Gaub
c49ff59725
Merge pull request #3037 from wangyix/edit_nack_pull
...
Edit nack pull
2014-06-18 11:43:25 -07:00
Andrew Meadows
9e839f0980
Shape::getCenter() -> Shape::getTranslation()
2014-06-18 08:55:48 -07:00
ZappoMan
5a246fab26
Merge branch 'master' of https://github.com/worklist/hifi into experimentalStoreModel
...
Conflicts:
tests/octree/src/main.cpp
2014-06-17 17:45:06 -07:00
Andrew Meadows
b9d4545aef
merge upstream/master into andrew/ragdoll
...
Conflicts:
libraries/shared/src/Shape.h
libraries/shared/src/ShapeCollider.h
2014-06-17 17:03:16 -07:00
Andrew Meadows
ecbf5043d7
code out of Model into base and derived classes
...
PhysicalEntity (base class) gets some shape management stuff
SkeletonModel (derived class) gets some boundary shape and
joint-shape stuff
2014-06-17 16:22:18 -07:00
Andrew Meadows
b6cecf3cfd
Add SphereShape.cpp to project
2014-06-17 12:50:49 -07:00
Andrew Meadows
f18864bd72
Moved findRayIntersection() to the Shape classes
2014-06-17 12:36:36 -07:00
Andrew Meadows
018ba52b1c
merge upstream/master with andrew/inertia
2014-06-17 10:50:49 -07:00
Andrew Meadows
ab3d582d79
Add ray intersection tests against most shapes.
2014-06-17 10:49:14 -07:00
Andrew Meadows
e75340f8ce
Add PlaneShape::getNormal() method.
2014-06-17 10:48:29 -07:00
Andrew Meadows
118717d96a
Shapes moved from Model into PhysicalEntity
2014-06-16 14:51:58 -07:00
Kai Ludwig
d08b63b247
changed 2000 into a constant defined inline
2014-06-16 23:30:28 +02:00
Andrew Meadows
1496e6c8b2
add VirletSphereShape and VirletCapsuleShape
2014-06-16 12:29:41 -07:00
Andrew Meadows
3a2f322ca3
SphereShape, CapsuleShape support derived classes
2014-06-16 12:23:18 -07:00
wangyix
2b20720f51
added sendNackPackets() to OctreeInboundPacketProcessor
...
added rollover handling in _missingSequenceNumbers pruning; added
EditNack packet types; added getMyEditNackType() to OctreeServer
subclasses; added code to randomly skip edit packet sequence numbers for
testing in OctreeEditPacketSender
2014-06-16 09:57:05 -07:00
Andrew Meadows
3fd4ee02ff
Shape uses "center" instead of "position"
2014-06-16 08:55:08 -07:00
Andrew Meadows
92159a7ed5
Shape::get/setCenter() instead of get/setPosition()
2014-06-16 08:43:27 -07:00
Andrew Meadows
d7a28e1441
enable shape collisions for MyAvatar skeleton
...
also some stubbery for main simulation loop
2014-06-15 18:07:47 -07:00
Andrew Meadows
6f4a4ace0d
add API stubs to RagDoll for SimulationEngine stepForward
2014-06-15 17:58:27 -07:00
Andrew Meadows
6d27987226
Add shape vs list-of-shapes collision method
...
and list-of-shapes vs list-of-shapes
2014-06-15 17:56:02 -07:00
Kai Ludwig
3fbde70f96
Added functions to test usleep, msleep and sleep for accuracy.
2014-06-15 21:05:23 +02:00
Andrew Meadows
158c7de76e
Ragdoll not an Entity. SkeletonModel is a Ragdoll
2014-06-13 12:27:58 -07:00
Andrew Meadows
5bd37acdb8
Changed RagDoll to Ragdoll
2014-06-13 11:55:39 -07:00
Andrew Meadows
417a7def07
SimulationEngine::enforceConstraints() takes args
...
...for limiting simulation costs
2014-06-13 11:10:32 -07:00
Andrew Meadows
fb7f5707c8
add SimulationEngine, MyAvatar has one.
2014-06-12 18:15:20 -07:00
John Grosen
f0cb49ef5c
added space between expressions in ternary operator
2014-06-12 17:24:56 -07:00
John Grosen
8e74398ed7
Fixed command line args parsing bug
2014-06-12 17:06:59 -07:00
Andrew Meadows
5be470bcbc
add PhysicalEntity class
...
Model and RagDoll derive from PhysicalEntity
Shape gets back pointer to its Entity (shape sharing not possible)
CollisionInfo gets backpointers the shapes involved
2014-06-12 13:13:00 -07:00
Andrew Meadows
5f5ffff23c
merge
2014-06-10 15:25:25 -07:00
Andrew Meadows
3c51ce76fc
Add simulationID to Model Shape and CollisionInfo
2014-06-10 15:24:17 -07:00
ZappoMan
c5647addf4
Merge branch 'master' of https://github.com/worklist/hifi into octreeWireformatImprovements
2014-06-09 14:10:47 -07:00
Andrew Meadows
5a76a9b4b1
RagDoll keeps a pointer to list of shapes
2014-06-09 11:04:20 -07:00
ZappoMan
8834da60b9
aded encoded length to property flags
2014-06-09 10:41:11 -07:00
ZappoMan
6943b3f763
remove debugging
2014-06-09 10:40:29 -07:00
Andrew Meadows
90c55ad06c
fix some comments
2014-06-06 16:09:21 -07:00
Andrew Meadows
131a2c27b8
move RagDoll to libraries/shared
2014-06-06 15:51:50 -07:00
Andrew Meadows
0addf3bae4
cleaup: remove some unused collision code
...
remove CollisionInfo::_type
remove unused Avatar collision response stuff
comment out some code that works but will probably be replaced
2014-06-06 14:36:05 -07:00
Andrew Meadows
ca77eb9d1e
cleanup of avatar collisions, prep for more ragdoll collisions
...
removal of paddle hands
particles use general sphere collision path against avatars
temp removal of skeleton self collision
2014-06-06 10:51:22 -07:00
Andrew Meadows
e8724b02f3
add CapsuleShape::setEndPoints()
2014-06-06 08:50:57 -07:00
ZappoMan
751c27041b
add additional assert to guard proper usage of ByteCountCoding
2014-06-05 16:01:58 -07:00
ZappoMan
2a73a91775
first cut at ByteCountCoding template, additional features in PropertyFlags template
2014-06-05 12:52:03 -07:00
Philip Rosedale
3cc67f5229
Merge pull request #2984 from ZappoMan/octreeWireformatImprovements
...
Octree wireformat improvements checkpoint
2014-06-04 21:58:08 -07:00
ZappoMan
c7a502e2c9
removed empty file
2014-06-04 15:18:11 -07:00
ZappoMan
2066dbcec7
cleanup
2014-06-04 15:16:51 -07:00
wangyix
5251057ed6
MovingPercentile moved else to same line as }
2014-06-04 15:13:16 -07:00
ZappoMan
10f7eae7a0
implemented decode
2014-06-04 14:56:13 -07:00
wangyix
0da6374e19
MovingPercentile .size() consistency
2014-06-04 14:31:58 -07:00
wangyix
e2d3fcc518
changed MovingPercentile to use QList
2014-06-04 14:24:23 -07:00
ZappoMan
78d3f1454c
more operators
2014-06-04 14:19:35 -07:00
ZappoMan
2b85145325
added test suite for PropertyFlags, latest work on PropertyFlags
2014-06-04 11:41:09 -07:00
wangyix
25e2f28b02
more cleanup
2014-06-04 11:30:35 -07:00
wangyix
b452d08495
cleaned up debug statements
...
also reorganized MovingPercentile a little bit
2014-06-04 11:20:29 -07:00
wangyix
12ac6105f1
changed MovingMedian to MovingPercentile
2014-06-04 10:59:32 -07:00
ZappoMan
b48c70a7f7
first cut at PropertyFlags template class
2014-06-04 10:23:50 -07:00
wangyix
c851edd0ef
added MovingMedian class, but not using it
...
added packet type/time data collection to DatagramProcessor and
post-execution prints of that info.
2014-06-03 16:18:40 -07:00
ZappoMan
e6966c2155
add improved detailed rendering and FPS debugging stats
2014-05-29 12:12:23 -07:00
barnold1953
5013c8c2fa
Fixed script editor crash when script calls Script.stop(). Also made the
...
processEraseMessage wait until it can lock to ensure particles are
deleted.
2014-05-22 12:45:36 -07:00
Stephen Birarda
981f9df6b3
add option to pass data server username and password to DS
2014-05-21 09:53:09 -07:00
Stephen Birarda
8e9defad3e
send an updated address to data-server with domain (when changed)
2014-05-15 12:18:24 -07:00
Brad Hefta-Gaub
e088c3d115
Merge pull request #2834 from AndrewMeadows/thermonuclear
...
remove leap fingers
2014-05-13 08:04:40 -07:00
Andrew Meadows
49dedb72c9
remove FingerData class and related cleanup
2014-05-12 11:09:12 -07:00
Andrzej Kapolka
363f545f7c
After uploading, refresh the uploaded files so that they are immediately
...
redownloaded.
2014-05-09 17:50:08 -07:00
Andrew Meadows
8ec493e85b
fix bad penetration depth for interior of cube
2014-05-07 12:39:20 -07:00
Andrew Meadows
9fc1c765d3
overhaul of CollisionInfo
...
store Cube info for sphereAACube collisions
2014-05-07 11:40:00 -07:00
Andrzej Kapolka
2a32700a30
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-05-05 17:03:31 -07:00
Andrew Meadows
5ffd307926
Merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/avatar/MyAvatar.h
2014-05-05 13:54:25 -07:00
Andrew Meadows
ddc9408a55
commit implementation of deleteLastCollision()
2014-05-05 12:32:23 -07:00
Andrew Meadows
f6b2b43376
forget collision for this failure case
2014-05-05 12:31:36 -07:00
Andrew Meadows
d2f858100e
add CollisionList::deleteLastCollision()
2014-05-05 12:30:38 -07:00
Andrew Meadows
0cecef6441
fix "nearly but not quite" edge/corner collisions
2014-05-05 10:01:31 -07:00
Andrew Meadows
b097eed1aa
fix sphere-cube collisions at edges (really)
2014-05-05 08:47:02 -07:00
Andrzej Kapolka
53a2760905
More attachment bits.
2014-05-04 16:24:23 -07:00
Andrew Meadows
0e3d66caf6
fix incorrect rescale of vec3
2014-05-02 22:27:52 -07:00
Andrew Meadows
c8e56a97cc
fix sphere-cube collisions, with tests
2014-05-02 21:47:27 -07:00
Andrew Meadows
9ceda573cc
sphere-cube: add the penetration don't subtract it
2014-05-02 10:39:27 -07:00
Andrzej Kapolka
322e12b9de
Allow users to clear the head URL and have no separate head model.
2014-05-01 17:55:16 -07:00
Andrew Meadows
4e34d0339d
set position in ctor that takes endpoints
...
and some cleanup
2014-04-29 15:15:53 -07:00
Atlante45
6595b29a4f
More bug tracking
2014-04-29 10:55:30 -07:00
Andrew Meadows
b05a315b5a
merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
2014-04-25 14:52:44 -07:00
Atlante45
8b4a910040
Fix timestamp timer not fired
2014-04-25 12:19:18 -07:00
Andrew Meadows
73d0674565
expose MyAvatar.collisionGroups to JS
2014-04-24 11:19:08 -07:00
Andrzej Kapolka
4f8c1f9c65
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-23 16:09:23 -07:00
Clément Brisset
d441e6a453
Merge pull request #2717 from AndrewMeadows/inertia
...
avatar bounding capsule collision against voxels
2014-04-23 16:06:14 -07:00
Andrzej Kapolka
d38d3db224
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-23 12:25:43 -07:00
Andrew Meadows
7464ca0879
non-rounded collision solution in comments
2014-04-23 08:38:58 -07:00
Andrew Meadows
1986ac6be3
collisions with cube get rounded normals at edges
2014-04-22 20:53:12 -07:00
Andrew Meadows
f3fd81ca59
use glm::modf() for less code
2014-04-22 14:26:52 -07:00
Atlante45
fea0a262a6
Put back missing windows header
2014-04-22 12:35:50 -07:00
Atlante45
3eeb3a539d
Fixed lack of resolution in usecTimestampNow()
2014-04-22 11:48:43 -07:00
Andrew Meadows
62121b1232
remove include of StreamUtils.h again
2014-04-22 11:46:15 -07:00
Andrew Meadows
65d3b4dc39
fix penetration direction for sphere-vs-AACube
2014-04-22 11:43:23 -07:00
Andrew Meadows
7537d240bb
toward working avatar-vs-voxel collisions again
2014-04-22 10:48:42 -07:00
Andrew Meadows
a45bc6c110
remove const from CollisionList subscript operator
2014-04-22 10:48:05 -07:00
Andrew Meadows
63c02f2b04
add subscript operator for CollisionList
2014-04-21 18:22:34 -07:00
Andrew Meadows
1782e803c9
remove include StreamUtils.h
2014-04-21 18:21:39 -07:00
Andrew Meadows
8d6fa8f904
fix sphere-vs-axis-aligned-cube logic
2014-04-21 18:19:59 -07:00
Atlante45
fd20686f0f
Removed Systime.h includes
2014-04-21 17:23:06 -07:00
Atlante45
be2db49e08
Last touch to removing gettimeofday
2014-04-21 16:44:21 -07:00
Atlante45
f7f30e118c
More gettimeofday cleanup
2014-04-21 15:17:11 -07:00
Andrew Meadows
06784aa960
move AABox back to octree lib
...
Fleshing out ShapeCollider::collideShapeWithAACube()
2014-04-21 14:07:40 -07:00
Andrew Meadows
241df7a767
Move AABox from octree lib to shared lib
...
Stubbed out Shape vs Octree collisions
2014-04-21 10:27:20 -07:00
Andrzej Kapolka
e2558bdac0
Experimenting with tweaking the Euler angles so that z, rather than y, is in
...
[-pi/2, pi/2].
2014-04-18 17:16:20 -07:00
Andrzej Kapolka
58b063ee12
Make sure we call allReferencesCleared on the right thread.
2014-04-17 11:13:22 -07:00
Andrzej Kapolka
21fa833f19
Merge branch 'master' of https://github.com/highfidelity/hifi into animate
...
Conflicts:
interface/src/Application.cpp
libraries/shared/src/SharedUtil.cpp
libraries/shared/src/SharedUtil.h
2014-04-17 10:58:34 -07:00
ZappoMan
836913f1f0
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
2014-04-16 15:21:15 -07:00
ZappoMan
bdf39186de
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
2014-04-15 21:04:15 -07:00
ZappoMan
60c6b27ab2
cleanup code a bit, add support for diffusions even with no ray intersection
2014-04-15 11:38:11 -07:00
Stojce Slavkovski
1a3e6595c5
Allow users to set the destination of Snapshots
2014-04-15 19:36:02 +02:00
Andrzej Kapolka
a2dc58f7f9
Moved FBX code to its own library so that we can use it for bots.
2014-04-14 17:15:58 -07:00
Stephen Birarda
5904d19603
Merge pull request #2637 from birarda/authentication
...
add optional DTLS option for domain-server to node communication
2014-04-14 10:24:17 -07:00
ZappoMan
7a993939bf
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
...
Conflicts:
interface/interface_en.ts
interface/src/Application.cpp
interface/src/Application.h
interface/src/Menu.h
libraries/shared/src/SharedUtil.h
2014-04-14 09:43:29 -07:00
ZappoMan
a37921c1d5
move isNaN() to shared utils
2014-04-13 19:09:07 -07:00
Andrew Meadows
508d4f216d
fix #2656 avatar jumps very far away
...
This was caused by a bad CapsuleShape::_radius when the default
CapsuleShape was used to create a default bounding capsule. The
penetration against such a shape could be arbitrarily large.
2014-04-11 15:55:18 -07:00
Andrzej Kapolka
873541dd7b
Trying out basic pushback for other avatars.
2014-04-10 11:56:17 -07:00
Stephen Birarda
cfc2431a59
don't be a dummy and include Systime header from implementation
2014-04-10 11:37:09 -07:00
Stephen Birarda
00a826330e
use GetSystemTimeAsFileTime with previous gettimeofday setup
2014-04-10 11:34:43 -07:00
Stephen Birarda
ea8f0df17d
use extern C in Systime header
2014-04-10 11:30:20 -07:00
Stephen Birarda
885cee28c5
guard Systime against being included on UNIX/OS X
2014-04-10 11:28:22 -07:00
Stephen Birarda
1daaf561de
don't include missing sys/time, declare gettimeofday in Systime header
2014-04-10 11:26:47 -07:00
Stephen Birarda
3651eff3d6
cleanup Systime to gettimeofday without lean and mean windows
2014-04-10 11:24:54 -07:00
Andrzej Kapolka
a12dd916fa
More plane intersection bits.
2014-04-10 11:24:45 -07:00
Stephen Birarda
7c9e0927ab
define WIN32_LEAN_AND_MEAN before include windows.h in Systime
2014-04-10 11:17:03 -07:00
Stephen Birarda
53aafd6897
rely on winsock2 for timeval declaration
2014-04-10 11:06:22 -07:00
Stephen Birarda
186c588d5a
remove doubled timeval definition from SharedUtil
2014-04-10 10:48:50 -07:00
Stephen Birarda
ba6f861ad8
fix unmatched #ifdef in Syssocket
2014-04-10 09:54:37 -07:00
Stephen Birarda
58298984d3
link GnuTLS to the assignment-client, fix timeval in SharedUtil
2014-04-10 09:48:47 -07:00
Stephen Birarda
1d5644a85f
link GnuTLS to octree library
2014-04-10 09:45:57 -07:00
Andrzej Kapolka
f61c746b4a
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-10 09:45:23 -07:00
Stephen Birarda
7e2b73906c
remove Syssocket include from SharedUtil
2014-04-10 09:35:25 -07:00
Stephen Birarda
d5d52f804f
add a networking library and link from appropriate targets
2014-04-10 09:32:17 -07:00
Andrew Meadows
4942e93daa
replace .f with .0f as per coding standard
2014-04-10 07:53:11 -07:00
Andrzej Kapolka
9f58264cb6
Working on plane collisions, pushing back camera from intersecting avatars.
2014-04-09 18:07:56 -07:00
Andrew Meadows
22d2f84cff
merge upstream/master into andrew/scripting
2014-04-09 15:38:56 -07:00
Stephen Birarda
1c861fbecb
resolve conflicts on merge with upstream master
2014-04-09 15:36:15 -07:00
Stephen Birarda
c208af2246
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-09 15:10:48 -07:00
Stephen Birarda
3fe5af1505
update boilerplate and include guards for other new files
2014-04-09 15:08:56 -07:00
Stephen Birarda
5a79079c09
fix boilerplates in new DTLS files
2014-04-09 15:03:56 -07:00
Stephen Birarda
d4f2c9e631
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-09 14:40:14 -07:00
Andrew Meadows
635f832dfe
rename shapeShape() to be collideShapes()
...
Also add collideShapesCoarse()
2014-04-09 13:04:17 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
ced5e72d39
add date to capsule shape
2014-04-09 10:46:36 -07:00
Stephen Birarda
2d755adfc0
repairs to good code blown away by regex
2014-04-09 10:46:20 -07:00
Stephen Birarda
11c235a29e
fixes to source files for code remove in regex replace
2014-04-09 10:16:56 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
974d8c0427
prepare header files for regex run against cpp
2014-04-09 09:35:05 -07:00
Stephen Birarda
7ce91b3f96
fix headers who had their comments removed
2014-04-08 17:43:35 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00
Stephen Birarda
f3cbd120ce
header comment tweaks prior to regex match
2014-04-08 17:19:23 -07:00
Stephen Birarda
6681754994
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-08 14:26:10 -07:00
Stephen Birarda
e417e7670b
cleanup DomainServer debug during config parsing
2014-04-08 14:07:31 -07:00
Atlante45
8ad7c3b239
Moved ModelUploader to interface + New error messages
2014-04-08 14:03:27 -07:00
Stephen Birarda
c2ff438182
add a CL + JSON settings reader
2014-04-08 13:37:07 -07:00
Atlante45
eaca699a6d
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_work
2014-04-08 10:35:23 -07:00
Atlante45
e1a1ff3988
Code review
2014-04-08 10:32:49 -07:00
Stephen Birarda
080b0d7221
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-04-08 10:28:14 -07:00
Brad Hefta-Gaub
881383a5f2
Merge pull request #2609 from AndrewMeadows/avatar-interaction
...
More details in JS collision events
2014-04-08 06:52:04 -10:00
Atlante45
3be2319081
Removed all the temporaryDir junk
2014-04-07 16:18:23 -07:00
Atlante45
262c6d3206
Fixed double JSON callback when http error occurs
2014-04-07 14:35:13 -07:00
Atlante45
e85703d25b
Added feedback and a better success check
2014-04-07 13:48:28 -07:00
Atlante45
cec99caa47
Added upload progress tracking to AccountManager via JSON
2014-04-07 13:45:30 -07:00
Stephen Birarda
02e2135a2e
allow setting of expected DTLS cert hostname from AC
2014-04-07 12:52:26 -07:00
Stephen Birarda
86a0b715f3
verify DTLS certificate to ensure trust before handshaking
2014-04-07 11:36:32 -07:00
Stephen Birarda
0f92e02da7
add the hifi root CA trusted cert to source
2014-04-07 11:19:06 -07:00
Andrew Meadows
84d7e39d72
merge upstream/master into avatar-interaction
2014-04-07 10:05:25 -07:00
Andrew Meadows
d902580d6f
Add Collision metatype to JS script system
2014-04-07 10:03:10 -07:00
Stephen Birarda
69504b0a9d
proper cleanup of CA credentials on DTLSClientSession side
2014-04-07 09:47:51 -07:00
Stephen Birarda
efcf506383
resolve conflicts on merge with upstream master
2014-04-07 09:32:08 -07:00
Stephen Birarda
5adcf68752
sort nodes on DS page by their uptime
2014-04-07 09:08:51 -07:00
Stephen Birarda
45d796e8f3
allow re-handshake in NodeList after domain refresh
2014-04-04 15:56:02 -07:00
Andrzej Kapolka
1f3a5d09d9
Merge pull request #2593 from Atlante45/display_models_metadata
...
Display models metadata
2014-04-04 15:18:18 -07:00
Stephen Birarda
c015fdd212
leverage a DummyDTLSSession to not require cleanup of DTLSSession for cookies
2014-04-04 11:42:14 -07:00
Stephen Birarda
b40dd6a31a
say bye and de-init DTLS session from DomainServer
2014-04-04 11:17:50 -07:00
Stephen Birarda
fd8e32190e
perform cleanup of GnuTLS structures across targets
2014-04-04 11:08:53 -07:00
Stephen Birarda
e2224e0f0c
cleanup node silence timing and use for DTLS timeouts
2014-04-04 10:56:04 -07:00
Stephen Birarda
c840904642
output a message when handshake has completed with a client
2014-04-04 10:44:15 -07:00
Stephen Birarda
efd176f93c
complete check in and heartbeat via DTLS
2014-04-04 09:56:57 -07:00
Stephen Birarda
7b6ce77690
add processing of DTLS datagrams to domain-server
2014-04-04 09:20:40 -07:00
Atlante45
ba4ccc22ef
Changed FstReader name to ModelUploader
2014-04-03 16:19:33 -07:00
Atlante45
3bb6d9b3b3
Added call back to model upload.
2014-04-03 16:07:25 -07:00
Atlante45
d15e12da77
Changed FstReader categories to place models in the right dirs
2014-04-03 12:25:50 -07:00
Stephen Birarda
1c4d44ba4a
attempt to complete handshake every 100ms instead of every 1s
2014-04-02 18:08:44 -07:00
Stephen Birarda
62de84315e
detect handshake completion in DS and client
2014-04-02 17:56:04 -07:00
Stephen Birarda
e1cae6d295
initial handshaking for DTLS sessions between DS and clients
2014-04-02 17:29:14 -07:00
Atlante45
52df77b4b5
Final work on models metadata support
2014-04-02 16:25:35 -07:00
Atlante45
b73598ae8a
Merge branch 'master' of https://github.com/highfidelity/hifi into display_models_metadata
2014-04-02 11:40:41 -07:00
Stephen Birarda
dc3a4d4957
remove some unneeded parenthesis
2014-04-02 09:07:34 -07:00
Stephen Birarda
fd1ed13de0
fix static x509CACredentials method
2014-04-01 16:53:17 -07:00
Stephen Birarda
632dc6b8e4
set GnuTLS credentials for DTLSClientSession
2014-04-01 16:51:05 -07:00
Stephen Birarda
b5b4edc999
add notion of server and client DTLSSessions
2014-04-01 16:47:45 -07:00
Stephen Birarda
ce6f845681
remove some gnutls handshake debugging
2014-04-01 14:47:30 -07:00
Stephen Birarda
94b29782eb
re-scaffold some client side DTLS in DTLSSession
2014-04-01 14:19:07 -07:00
Stephen Birarda
0be2eb57bf
repairs to NodeList and LimitedNodeList
2014-04-01 13:56:33 -07:00
Stephen Birarda
45c6ae44a6
use a LimitedNodeList in domain-server
2014-04-01 13:33:30 -07:00
Stephen Birarda
62041d91a8
rename NodeList DomainInfo to DomainHandler
2014-04-01 13:09:35 -07:00
Stephen Birarda
caf2473df8
add a DTLSSession object to handle GnuTLS DTLS sessions
2014-04-01 13:08:00 -07:00
Atlante45
bdd5c291b0
Merge branch 'master' of https://github.com/highfidelity/hifi into display_models_metadata
2014-04-01 12:03:45 -07:00
Atlante45
03958f2fa0
work on metadata in the model browser + real time updates
2014-04-01 12:02:47 -07:00
Atlante45
77f5a50738
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_fixes
2014-03-31 17:19:45 -07:00
Atlante45
f027aac76b
Fix to model upload in account manager
2014-03-31 17:19:04 -07:00
Stephen Birarda
135d97d0a7
add a pretty important missing line for symmetric socket activation
2014-03-31 15:59:54 -07:00
Stephen Birarda
62da4d622d
don't require an MD5 hash in non-verified packets
2014-03-31 15:36:32 -07:00
Stephen Birarda
6c08e2a407
add option for domain-server to enforce DTLS
2014-03-31 15:06:58 -07:00
Stephen Birarda
da30d21f6e
complete inital DTLS setup in domain-server
2014-03-31 14:02:11 -07:00
Stephen Birarda
61711c7aaa
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-28 13:30:06 -07:00
Stephen Birarda
eb35b63651
use a shared pointer for more elegant cleanup at assignment conclusion
2014-03-28 10:48:44 -07:00
Stephen Birarda
7b840f760c
Merge pull request #2538 from AndrewMeadows/enforce-standard
...
making some type casts abide by coding standard
2014-03-28 09:19:16 -07:00
Stephen Birarda
8b1b2d8d99
send a symmetric ping packet if appropriate when pinging nodes
2014-03-28 09:11:20 -07:00
Stephen Birarda
f80b415497
handle activation and setting of symmetric socket
2014-03-28 09:07:30 -07:00
Stephen Birarda
18a293c020
add a symmetric socket to the Node class
2014-03-28 08:58:49 -07:00
Stephen Birarda
1c47b8a3e1
Revert "hack the NodeList to take the socket on which pinged as active socket"
...
This reverts commit 5c7ac6d3a1
.
2014-03-27 21:29:01 -07:00
Stephen Birarda
5c7ac6d3a1
hack the NodeList to take the socket on which pinged as active socket
2014-03-27 17:41:55 -07:00
ZappoMan
bda96ef935
added back use of nodeWithUUID() instead of sharedpointer
2014-03-27 13:35:22 -07:00
Atlante45
d9c48d63fe
Made _zipDir a children of _dataMultiPart so it gets deleted at the right time.
2014-03-27 11:18:32 -07:00
Atlante45
88e7b8e68f
Fixed "memory leak" in Account Manager.
2014-03-27 11:16:52 -07:00
Andrew Meadows
c383b69b61
merge upstream/master into enforce-standard
...
Conflicts:
interface/src/avatar/Hand.cpp
2014-03-27 10:53:54 -07:00
Atlante45
11f40258b3
Merge branch 'master' of https://github.com/highfidelity/hifi into more_upload_fixes
2014-03-27 10:12:34 -07:00
ZappoMan
55b9dd1aee
remove non-locking version of nodeWithUUID()
2014-03-27 02:32:19 -07:00
Andrzej Kapolka
f339a3c0d7
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-26 18:30:23 -07:00
Stephen Birarda
87cbe9a1f4
Merge pull request #2524 from AndrewMeadows/shapes
...
avatar responds to hand-vs-head collisions again
2014-03-26 17:10:43 -07:00
Andrew Meadows
4c64c11144
making some type casts abide by coding standard
2014-03-26 16:58:47 -07:00
Andrzej Kapolka
52c8a865f1
Provide a means of tracking resource download progress. Until we have a
...
user-friendly progress meter/throbber, put the download progress in the
extended stats.
2014-03-26 15:53:19 -07:00
Atlante45
d32797b54c
Added bunch of feedback
2014-03-26 15:13:52 -07:00
Atlante45
fa2a60448b
Fixed double free crash
2014-03-26 15:09:44 -07:00
Atlante45
718b8f7eb9
Changed back to upload either head or skeleton
2014-03-26 15:07:19 -07:00
Brad Hefta-Gaub
d90ebfd29a
Merge pull request #2504 from Atlante45/upload_feedback
...
Display warning popup when something went wrong with the fst upload
2014-03-26 13:31:49 -07:00
Atlante45
f95c43393c
Fixed uninitialized member
2014-03-26 13:10:56 -07:00
Philip Rosedale
b3b9a2f337
Merge pull request #2516 from birarda/master
...
actually change NodeList send buffer size
2014-03-26 12:12:26 -07:00
Stephen Birarda
6e161e7c61
actually attempt to change send buffer size
2014-03-26 12:05:55 -07:00
Philip Rosedale
020f4b020e
Merge pull request #2503 from birarda/master
...
increase NodeList send buffer size to 1MB
2014-03-26 12:00:43 -07:00
Stephen Birarda
cb617c9e17
add a button on DS admin page to kill all nodes
2014-03-26 11:37:30 -07:00
Stephen Birarda
e03e82a29b
ifdef to handle getsockopt format requirements on windows
2014-03-26 11:02:34 -07:00
Stephen Birarda
c4b8ff8952
cast setsocktopt and getsockopt calls to fix windows build
2014-03-26 10:53:43 -07:00
Stephen Birarda
ed9c805539
attempt to set send buffer size to 1MB
2014-03-25 17:29:35 -07:00
Stephen Birarda
46077a7fb0
output old size when notifying for send buffer size change
2014-03-25 17:24:17 -07:00
Stephen Birarda
db757e9e7b
increase NodeList send buffer size by default to 128KB
2014-03-25 17:18:45 -07:00
Atlante45
9f95ca8e7c
Display warning popup when something went wrong with the fst upload
2014-03-25 17:18:18 -07:00
Stephen Birarda
34634af975
add mutex header to NodeData
2014-03-25 16:05:51 -07:00
Andrew Meadows
fff7a36b54
merge upstream/master into physics project
...
Conflicts:
interface/src/avatar/Hand.cpp
interface/src/avatar/Hand.h
interface/src/avatar/SkeletonModel.cpp
interface/src/avatar/SkeletonModel.h
interface/src/renderer/Model.h
2014-03-25 15:55:26 -07:00
Stephen Birarda
c8b3ae0c40
add a mutex to NodeData and leverage in AvatarMixer threads
2014-03-25 15:49:47 -07:00
Andrew Meadows
06fbd49ffa
Adding StreamUtils for common debug output
2014-03-25 15:29:22 -07:00
Andrew Meadows
5934a17475
fix sphere-capsule collisions at the capsule caps
2014-03-25 15:27:28 -07:00
Stephen Birarda
d5be3f1c9f
output socket errors if they occur
2014-03-25 15:01:24 -07:00
Stephen Birarda
56869a769d
remove some extraneous domain-server check in debugging
2014-03-25 14:53:32 -07:00
Stephen Birarda
38ad75fc9e
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar-debug
2014-03-25 14:52:28 -07:00
Stephen Birarda
7190ce9a88
remove loadRandomIdentifier for STUN requests, use UUID
2014-03-25 14:33:53 -07:00
Stephen Birarda
41e2ce2b19
remove DS check in debug
2014-03-25 14:29:59 -07:00
Stephen Birarda
4e77afb4b2
block and wait for bytes to be written during broadcastAvatarData loop
2014-03-25 13:38:02 -07:00
Stephen Birarda
68d55152b9
flush after each call to writeDatagram
2014-03-25 13:28:53 -07:00
Stephen Birarda
08bfc15b70
output more descriptive socket error
2014-03-25 13:20:45 -07:00
Stephen Birarda
6a8637230f
add socket error debugging
2014-03-25 13:17:37 -07:00
Stephen Birarda
ce169dd87d
add code return debug to DS check in packet
2014-03-25 13:06:44 -07:00
Stephen Birarda
08ed708ee6
add domain IP and packet size debugging
2014-03-25 13:05:58 -07:00
Stephen Birarda
f0b87bebc2
cleanup debug and inactive node pinging
2014-03-25 13:02:09 -07:00
Stephen Birarda
bc1b7045cb
output count of unreplied domain-server check ins
2014-03-25 12:30:06 -07:00
Stephen Birarda
a90cd7ed31
cast numerator to float before divide
2014-03-24 16:54:14 -07:00
Stephen Birarda
b01b2a3311
use explicit float casts where appropriate
2014-03-24 16:35:36 -07:00
Stephen Birarda
ba338cb7bc
at minimum send packet rate stats for ThreadedAssignment subclasses
2014-03-24 16:06:25 -07:00
Stephen Birarda
8dbe4dfdde
collect packet rate stats in NodeList
2014-03-24 15:06:53 -07:00
Stephen Birarda
5f93e44ff7
abstract stats packet sending to NodeList
2014-03-24 12:33:00 -07:00
Stephen Birarda
8f403609e7
hook JSON stats sending from domain-server
2014-03-24 11:56:16 -07:00
Stephen Birarda
949f7b2fc1
add a json stats packet type
2014-03-24 11:21:39 -07:00
ZappoMan
bde2146b1b
whitespace cleanup
2014-03-23 18:14:36 -07:00
ZappoMan
9c7ffffbae
fix some windows issues
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
2014-03-23 18:10:22 -07:00
ZappoMan
2c8c43094f
CR feedback
2014-03-21 14:46:46 -07:00
ZappoMan
3cb3cb81c4
fixes to voxel server crashes on client shutdown
2014-03-21 14:15:02 -07:00
Stephen Birarda
acedc555d5
Merge pull request #2424 from birarda/audio-scaling
...
move and remove some debugging for audio mixer
2014-03-21 10:26:41 -07:00
Stephen Birarda
c1cbc79807
move debug for no reply domain checkins to ThreadedAssignment
2014-03-21 10:26:09 -07:00
Philip Rosedale
b49058ea77
Merge pull request #2402 from Atlante45/inspect_js
...
Inspect js
2014-03-20 17:21:21 -07:00
Atlante45
746d109025
Merge branch 'master' of https://github.com/highfidelity/hifi into inspect_js
2014-03-20 16:10:33 -07:00
Atlante45
65603b0631
Fixed typo
2014-03-20 15:30:28 -07:00
Atlante45
bf85f8d5e5
Changed model_type to model_categorie in FstReader
2014-03-20 14:00:27 -07:00
Atlante45
a908c23f61
Merge branch 'master' of https://github.com/highfidelity/hifi into fix_models_upload
2014-03-20 13:58:44 -07:00
Atlante45
947dde3715
Modified models uploader to diferrenciate heads and skeletons
2014-03-20 12:44:37 -07:00
Atlante45
4604f5333d
Merge branch 'master' of https://github.com/highfidelity/hifi into inspect_js
2014-03-20 12:15:55 -07:00
Andrzej Kapolka
20ae5c15f7
Added a "flat" mode for environments that makes them follow you around on the
...
X/Z axes. The default environment is flat. Closes #2378 .
2014-03-20 12:09:20 -07:00
Andrzej Kapolka
a761a4862b
Merge pull request #2398 from AndrewMeadows/emergency-fixes
...
explicitly send neck angles in avatar data
2014-03-20 11:19:13 -07:00
AndrewMeadows
144f86b540
Merge pull request #2370 from Atlante45/model_browsing
...
Model browsing
2014-03-20 11:15:35 -07:00
Andrew Meadows
6440dd1b5f
explicitly send neck angles in avatar data
2014-03-20 11:05:14 -07:00
Philip Rosedale
e14069c9e3
Merge pull request #2376 from ZappoMan/experimental_scaling
...
Voxel Server Performance Improvements
2014-03-19 16:24:47 -07:00
Tony Hagale
7f2a92d759
#2386 trying a new static lookup table for numberOfOnes()
2014-03-19 16:28:12 -05:00
Tony Hagale
5f94e44cde
#2386 trying a new static lookup table for numberOfOnes()
2014-03-19 16:26:45 -05:00
Atlante45
d239aecbfb
Added names to signals argument
2014-03-19 10:17:28 -07:00
ZappoMan
584adfda08
cleanup headers
2014-03-19 00:32:38 -07:00
ZappoMan
499c4bd500
fix octree server crashes on various shutdown corner cases
2014-03-18 17:44:53 -07:00
Atlante45
93f66b074a
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-18 17:37:07 -07:00
Stephen Birarda
f86b793c96
only output version mismatch once per sender per packet
2014-03-18 17:14:57 -07:00
Stephen Birarda
281f2c6614
return false in packetVersionAndHashMatch on version mismatch
2014-03-18 17:04:27 -07:00
Atlante45
a10a3f6f29
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-18 14:49:00 -07:00
Andrzej Kapolka
500f9d1485
Merge pull request #2338 from AndrewMeadows/cleanup
...
Don't send redundant avatar hand/head data, and cleanup.
2014-03-18 13:57:30 -07:00
Atlante45
6f50ea0faa
Improved FileDownloader
2014-03-18 13:55:14 -07:00
Andrew Meadows
4a1a7898ea
Merge branch 'cleanup' into 'shapes'
2014-03-18 12:53:45 -07:00
Andrew Meadows
a2fea49f58
bump version of PacketTypeAvatarData from 1 to 2
2014-03-18 12:36:48 -07:00
Stephen Birarda
b6a41eeaaa
resolve conflicts on merge with upstream master
2014-03-18 10:37:04 -07:00
Andrzej Kapolka
6aa1f286bb
Alpha is the new default.
2014-03-18 10:13:23 -07:00
Stephen Birarda
7ba595338e
guard around update to last heard for a NULL matching node
2014-03-17 17:39:08 -07:00
ZappoMan
9411519dc9
fix SimpleMovingAverage::reset()
2014-03-17 16:37:07 -07:00
Stephen Birarda
61594b9a1e
fixes to silent audio frame sending
2014-03-17 16:27:49 -07:00
Stephen Birarda
9f24bd9c47
have the AudioMixer handle silent audio, send silence from Interface when gate closed
2014-03-17 15:12:02 -07:00
ZappoMan
aab2ca826f
Merge branch 'master' of https://github.com/worklist/hifi into experimental_scaling
2014-03-17 11:01:25 -07:00
ZappoMan
96572d3752
fix some Q_OBJECT macros in class headers
2014-03-17 10:57:53 -07:00
ZappoMan
cbdd159213
fix constness
2014-03-17 10:55:43 -07:00
Brad Hefta-Gaub
c6f8d34ded
fix unix warning
2014-03-14 18:16:38 -07:00
Brad Hefta-Gaub
c0ee3fa1f0
fix unix warning
2014-03-14 18:14:54 -07:00
Brad Hefta-Gaub
0e7e337807
fixed uninitialized variable warning
2014-03-14 18:05:40 -07:00
Atlante45
f07725d017
Merge branch 'master' of https://github.com/highfidelity/hifi into model_browsing
2014-03-14 17:47:39 -07:00
Atlante45
a88872a21f
Simple class to download files (sync/async)
2014-03-14 17:41:22 -07:00
Andrew Meadows
d4c7e25f8e
Merge branch upstream/master into "hands" project
2014-03-14 14:28:50 -07:00
Andrew Meadows
a045a87cca
Remove arm stretching, add sixense calibration
2014-03-14 11:11:00 -07:00
Atlante45
423f26f669
Review comments
2014-03-13 15:26:02 -07:00
Atlante45
e5b5778caf
Upload FST
2014-03-13 15:04:22 -07:00
Atlante45
51585acd25
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar_uploader
2014-03-13 10:53:24 -07:00
Andrzej Kapolka
e249b29b45
Merge pull request #2268 from AndrewMeadows/radians
...
prefer radians over degrees
2014-03-12 12:10:29 -07:00
AndrewMeadows
b1f4edb3a5
Merge pull request #2271 from ZappoMan/QWaitCondition
...
Fix runaway JurisdictionListener thread and other improvements
2014-03-12 11:54:48 -07:00
Atlante45
3aa534d47c
Added the send method
2014-03-12 11:48:41 -07:00
ZappoMan
e72d3127bf
fix comment and remove dead code
2014-03-11 21:25:30 -07:00
ZappoMan
025da315c6
removed dontSleep from JurisdictionListener
2014-03-11 21:11:47 -07:00
ZappoMan
8befefb054
first cut at making PacketSender use QWaitCondition
2014-03-11 20:45:46 -07:00
ZappoMan
f5cdb98efb
switch ReceivedPacketProcessor to using QWaitCondition
2014-03-11 20:32:02 -07:00
Andrzej Kapolka
6c4223bcdf
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-03-11 18:12:12 -07:00
Andrew Meadows
793a760272
merge upstream master into "radians" project
2014-03-11 17:28:36 -07:00
Andrew Meadows
aa8c2fc8cb
use radians instead of degrees (almost) everywhere
2014-03-11 17:26:58 -07:00
Dimitar Dobrev
60bf473be7
Improved the adherence to code conventions after a code review.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
86643803cf
Moved the connection and configuration of XMPP to the log-in process.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
9eb217794c
Added time stamps to the chat. Enabled translations.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
437cadf360
Added a basic version of the chat window.
2014-03-12 01:24:30 +02:00
Dimitar Dobrev
07d3eb886a
Added reading and storing of the XMPP password of the current user.
2014-03-12 01:16:10 +02:00
Andrzej Kapolka
7d1a44fbea
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-03-11 12:52:13 -07:00
Andrzej Kapolka
ae6a59ef78
Ray intersections for models, don't load resources if there's no network
...
manager installed.
2014-03-10 17:53:20 -07:00
Andrzej Kapolka
34ddddae1b
Basic LRU cache. Closes #2234 .
2014-03-10 12:06:07 -07:00
Andrzej Kapolka
9731159b82
Merge branch 'master' of https://github.com/highfidelity/hifi into joints
2014-03-10 10:57:48 -07:00
Andrzej Kapolka
d2f947aee1
Working on LRU cache for resources.
2014-03-10 10:49:38 -07:00
ZappoMan
e2415642f0
temporary fix to OSX 10.8 problem by delaying creation of _networkAccessManager
2014-03-09 00:10:31 -08:00
Atlante45
8faaa28bc1
FST ploader base
2014-03-07 11:55:02 -08:00
Andrew Meadows
9d2758ee14
fix warning about malformed case statement
2014-03-07 09:32:12 -08:00
Andrzej Kapolka
c5ab32235f
Merge branch 'master' of https://github.com/highfidelity/hifi into joints
2014-03-06 17:09:24 -08:00
Andrzej Kapolka
3adea84b81
Basic joint data sending. Closes #2166 .
2014-03-06 17:07:29 -08:00
ZappoMan
c81bac2ac4
Merge pull request #2224 from birarda/resources
...
cleanup switchToResourcesParentIfRequired hack
2014-03-06 16:51:31 -08:00
Stephen Birarda
0f22168e42
Merge pull request #2230 from ey6es/master
...
Add a five second download timeout timer: if that much time passes witho...
2014-03-06 16:22:54 -08:00
Stephen Birarda
8cbdf5d94a
Merge branch 'master' of https://github.com/highfidelity/hifi into resources
2014-03-06 15:49:45 -08:00
Stephen Birarda
ac66f09157
Merge pull request #2194 from AndrewMeadows/cleanup
...
g++ warnings
2014-03-06 15:49:22 -08:00
Andrzej Kapolka
8ec7a5e600
When we time out, report the last received/total counts.
2014-03-06 15:08:34 -08:00
Andrew Meadows
0b2c399713
memcmp() returns a signed int!
2014-03-06 14:33:59 -08:00
Andrzej Kapolka
1468bd1b49
Add a five second download timeout timer: if that much time passes without
...
any progress, consider it an error.
2014-03-06 14:31:13 -08:00
Stephen Birarda
403f91c988
update resource references to use Qt resource system
2014-03-06 10:41:11 -08:00
Andrew Meadows
57e217c7fb
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
2014-03-04 12:10:12 -08:00
Andrew Meadows
427cf02d03
Merge branch 'cleanup' to 'cleanup2'
2014-03-04 11:20:42 -08:00
Andrew Meadows
1b2db1f7ab
fix for warnings about signed/unsigned comparison
2014-03-04 11:07:15 -08:00
Stephen Birarda
f5aaad1f33
remove if checks in cases where delete handles null
2014-03-04 10:05:43 -08:00
Andrew Meadows
e22e022252
Fixing warnings and out-of-range index.
2014-03-04 09:55:32 -08:00
Andrew Meadows
343998a4a8
Adding virtual destructor to Shape class
2014-03-04 09:55:08 -08:00
Andrew Meadows
7ba5bc71ea
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
...
Conflicts:
interface/src/renderer/FBXReader.cpp
interface/src/renderer/Model.cpp
interface/src/renderer/Model.h
2014-03-04 09:01:24 -08:00
Andrew Meadows
f23dda7317
Less math for the same effect.
2014-03-03 17:34:16 -08:00
Andrzej Kapolka
7ecfeeaba3
Do the actual reading of the reply on the worker thread. Otherwise, when we
...
read from the cache, we're reading synchronously from a file. Closes #2171 .
2014-03-03 15:16:13 -08:00
Andrzej Kapolka
9759cd70c0
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-03-03 14:20:21 -08:00
Andrzej Kapolka
85083d74bc
Fix for annoying "QThreadStorage" warning.
2014-03-03 13:39:01 -08:00
Stephen Birarda
1b7d24a79c
keep known nodes alive when we receive a packet from them
2014-03-03 12:49:46 -08:00
Stephen Birarda
60eb588e96
remove some unecessary null pointer checks
2014-03-03 11:36:01 -08:00
ZappoMan
ef87fbffac
Merge branch 'master' of https://github.com/worklist/hifi into octree_server_scaling
...
Conflicts:
libraries/shared/src/ResourceCache.cpp
2014-02-28 16:58:43 -08:00
ZappoMan
c1c41ea2ca
handle some shutdown cases and reduce time of locking in octree server
2014-02-28 16:18:02 -08:00
ZappoMan
d2faca9767
fixed some warnings
2014-02-28 16:17:30 -08:00
Andrzej Kapolka
2f27d8ecd3
Process geometry/textures in worker threads (via QThreadPool). Closes #2137 .
2014-02-28 16:14:02 -08:00
Andrzej Kapolka
21a149348b
When switching models, retain old one until new one is loaded. Closes #2146 .
2014-02-28 13:57:25 -08:00
Andrzej Kapolka
73ec568b4b
Further work on request limiting.
2014-02-27 19:28:45 -08:00
Andrzej Kapolka
29f7954d20
Factored out bits common to resource caches, added global limit on number of
...
resources being requested at any one time.
2014-02-27 18:13:40 -08:00
Andrew Meadows
b8c1bab4ae
Using pre-computed Model shapes for collisions
...
...instead of generating collision shapes on the fly
2014-02-27 17:52:35 -08:00
Andrew Meadows
25bdfd7677
Update to comment.
2014-02-26 15:38:33 -08:00
Andrew Meadows
5954bb91d4
ListShape now handled by ShapeCollider
2014-02-26 15:36:19 -08:00
Andrew Meadows
07eb366138
stubbed out collision handlers for ListShape
2014-02-26 14:32:46 -08:00
Philip Rosedale
0a1e840d10
Bot.js NPCs wander around and make sounds
2014-02-26 13:50:04 -08:00
Andrew Meadows
da0276ac7e
ShapeCollider takes CollisionList argument
...
Also, adding first pass at ListShape
2014-02-26 12:10:16 -08:00
ZappoMan
d765e250d5
removed AbstractMenuInterface.h
2014-02-25 20:42:59 -08:00
ZappoMan
42ddc82ac4
possible fix to windows assert
2014-02-25 20:23:38 -08:00
ZappoMan
4b3911c5c1
Merge pull request #2101 from birarda/authentication
...
fixes to login/logout flow when jumping domains
2014-02-25 18:25:17 -08:00
Stephen Birarda
bf3b5c07d5
Merge pull request #2093 from ZappoMan/menu_js
...
Adds support for editing application Menus to JS
2014-02-25 17:40:39 -08:00
Stephen Birarda
d5fc1caaaf
fix wording for access token change signal
2014-02-25 16:12:25 -08:00
Stephen Birarda
2496c6252f
fix login/logout flow when jumping domains
2014-02-25 16:10:08 -08:00
Stephen Birarda
6d847f29fb
currently support system wide auth only via hifi data-web
2014-02-25 16:05:05 -08:00
Stephen Birarda
d0269761b6
remove unecessary qDebug include
2014-02-25 14:39:33 -08:00
Stephen Birarda
27be157d70
fix oauth early token expiry
2014-02-25 14:38:19 -08:00
Stephen Birarda
ce3d6d2fca
reset nodelist if domain-server stops talking to you, closes #2092
2014-02-25 13:07:39 -08:00
ZappoMan
263d682fb9
Merge branch 'master' of https://github.com/worklist/hifi into menu_js
2014-02-25 12:20:15 -08:00
Andrew Meadows
362708be60
fix another missing semicolon
2014-02-25 11:19:07 -08:00
Andrew Meadows
28d9fb9747
fix missing semicolon
2014-02-25 11:17:48 -08:00
Andrew Meadows
9a70a50bdb
capsuleCapsule() collision with preliminary tests
2014-02-25 10:59:12 -08:00
Stephen Birarda
1163cfd07e
if the domain-server provides no auth, assume default
2014-02-25 10:58:32 -08:00
Stephen Birarda
b09ed1dff1
present a login window on app start
2014-02-25 10:53:13 -08:00
ZappoMan
74d48ab239
added support for MenuItemProperties for addMenuItem, removed some cruft, beginning support for menu item placement
2014-02-25 10:23:59 -08:00
Stephen Birarda
45429fa1e1
fix default node auth URL
2014-02-25 09:38:22 -08:00
Stephen Birarda
6d56ab3a30
use toDouble instead of toInt for Qt 5.1 compatibility
2014-02-24 15:27:12 -08:00
Stephen Birarda
672c6a9ed1
fix complaint for incomplete type QStringList
2014-02-24 15:23:47 -08:00
Stephen Birarda
c1b45d7eaa
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-24 15:18:21 -08:00
Stephen Birarda
f20808b47f
remove option to drive from transmitter
2014-02-24 15:11:02 -08:00
Stephen Birarda
050d223b3a
add domain connection reset to NodeList reset
2014-02-24 13:33:52 -08:00
Stephen Birarda
27c779666b
add auth to assignment-client, fix refresh of static assignments
2014-02-24 13:29:32 -08:00
Stephen Birarda
9771e1bb12
resolve conflicts on merge with upstream master
2014-02-24 12:06:10 -08:00
Stephen Birarda
9dc460bab4
make multiple instances of scripted assignment use diff UUID
2014-02-24 11:56:14 -08:00
Andrew Meadows
8a3640f016
Adding CapsuleSphere collisions with tests.
2014-02-24 11:38:27 -08:00
Stephen Birarda
a8493ecaa2
cleanup login/logout in menu, logout only when in
2014-02-24 11:11:36 -08:00
Andrew Meadows
0e28e0947c
Adding ShapeColliderTests.*
2014-02-22 13:20:47 -08:00
Stephen Birarda
6165ca658a
add a logout option to the menu
2014-02-21 17:13:22 -08:00
Stephen Birarda
0686539734
default to quieter HTTP request debugging
2014-02-21 17:07:14 -08:00
Stephen Birarda
52a21d4dfd
hook to request user's location from data-server
2014-02-21 16:55:20 -08:00
Andrew Meadows
8c1dc40d39
Adding basic physics shapes (unfinished)
2014-02-21 16:29:07 -08:00
Andrew Meadows
ef6d2a624b
helper methods to rotate/translate CollisionInfo
2014-02-21 16:24:40 -08:00
Stephen Birarda
6df317e8e6
update user's domain in data-server after connection to new one
2014-02-21 16:22:17 -08:00
Stephen Birarda
340248ac43
resolve conflicts on merge with upstream master
2014-02-21 15:16:15 -08:00
Stephen Birarda
a49893689e
store username in local settings so it doesn't need to be reloaded
2014-02-21 15:05:57 -08:00
Stephen Birarda
76e6c9342f
parse username returned from data-server
2014-02-21 14:41:43 -08:00
Stephen Birarda
9d2d9c5071
fix cross-thread calls to AccountManager, domain switch flow
2014-02-21 13:45:39 -08:00
Stephen Birarda
d56bafc9a5
default to no auth for domain-server, fix no auth flow
2014-02-21 13:16:24 -08:00
Andrzej Kapolka
8d01527d93
Merge branch 'master' of https://github.com/highfidelity/hifi into bilbo
2014-02-21 12:16:33 -08:00
ZappoMan
a12e1ef18f
Merge pull request #2043 from birarda/metavoxel-fix
...
fixes for extra characters in logging target names
2014-02-21 10:24:29 -08:00
Andrzej Kapolka
495447fc0d
Merge branch 'master' of https://github.com/highfidelity/hifi into bilbo
2014-02-21 10:19:52 -08:00
Andrzej Kapolka
18ea1d6a85
More work on billboards.
2014-02-21 10:16:06 -08:00
Andrzej Kapolka
d8321bd419
Merge pull request #2034 from birarda/master
...
fixes for scripted avatars
2014-02-21 10:14:41 -08:00
Stephen Birarda
c728463410
use connection secret to verify domain-server packets
2014-02-20 17:57:58 -08:00
Stephen Birarda
9cb8cbff2c
fix noAuth flow for domain-server
2014-02-20 16:47:00 -08:00
Stephen Birarda
a6c1e3e87f
tweaks to domain-server authentication flow
2014-02-20 16:31:50 -08:00
Stephen Birarda
ee90c25a41
add helpers for json responses from AccountManager
2014-02-20 14:22:08 -08:00
Stephen Birarda
3bace43aae
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-20 12:08:47 -08:00
Stephen Birarda
cfec1e583e
fix logging target-name extra characters
2014-02-20 12:02:23 -08:00
Stephen Birarda
4022d9f4c4
fix metavoxel interest list, keep node alive with ping
2014-02-20 11:36:16 -08:00
Andrew Meadows
caba4f9b9b
Fix for crash when CollisionList gets full.
2014-02-20 07:58:30 -08:00
Stephen Birarda
cb165902fd
use existing constants for HTTP operations
2014-02-19 18:12:10 -08:00
Stephen Birarda
d3dd49a2e8
force DomainServer to wait for session UUID before setup with auth
2014-02-19 18:06:21 -08:00
Stephen Birarda
ee9f8937e3
fix a silly typo
2014-02-19 18:03:34 -08:00
Stephen Birarda
32ceccfeb6
have domain-server bail if username/password not provided for auth
2014-02-19 17:26:21 -08:00
Stephen Birarda
57538af8fd
give a separate QNetworkAccessManager to the AccountManager
2014-02-19 14:19:00 -08:00
Stephen Birarda
a4cabe91f8
use UUID setter to fire signal and debug on UUID change
2014-02-19 14:17:14 -08:00
Stephen Birarda
c5b8ff181e
indicate that both username or email can be passed for login
2014-02-19 14:14:17 -08:00
Stephen Birarda
5f130872af
repair usage of INI file for QSettings
2014-02-19 14:09:18 -08:00
Stephen Birarda
ff7a49d8c2
resolve conflicts on merge with upstream master
2014-02-19 13:07:26 -08:00
Stephen Birarda
c302042e83
store access tokens in QSettings
2014-02-18 18:12:27 -08:00
Stephen Birarda
3199f1a3e4
store access tokens in settings so re-log not required
2014-02-18 17:42:12 -08:00
Stephen Birarda
ca6dfa58a6
client ID need not be passed for password grant type
2014-02-18 17:16:25 -08:00
Stephen Birarda
b0895ea83a
store registration token in more compact form, begin parse on domain-server
2014-02-18 15:58:54 -08:00
Stephen Birarda
949f79e945
hook up request for domain registration information for Interface
2014-02-18 15:38:43 -08:00
Stephen Birarda
f4b0375b35
stub a method to ask for domain-server auth from NodeList
2014-02-18 14:48:17 -08:00
Stephen Birarda
582681738a
correctly set token expiration from json response
2014-02-18 14:37:46 -08:00
Stephen Birarda
72a877ca49
remove an extra space
2014-02-18 14:34:47 -08:00
Stephen Birarda
ce3cc7e5c9
require that client ID for authentication server be known to AccountManager
2014-02-18 14:34:32 -08:00
Stephen Birarda
b57a5cea6a
complete access token request flow after login window presentation
2014-02-18 14:27:52 -08:00
Stephen Birarda
b87d65df30
re-set domain auth info if hostname changes
2014-02-18 13:23:53 -08:00
Stephen Birarda
8a0136efe1
more work on authentication, show login window when domain asks
2014-02-18 13:21:32 -08:00
Stephen Birarda
c762b92e5a
replace DataServerClient and Profile with AccountManager
2014-02-18 11:27:37 -08:00
Stephen Birarda
7c69028dc5
hook up domain request for node to authenticate
2014-02-18 10:54:45 -08:00
Stephen Birarda
4c135dd3a7
more tweaks to domain check-ins to prepare for auth
2014-02-18 10:28:28 -08:00
Stephen Birarda
37f1f7ba4f
add a DomainInfo class to hold domain information
2014-02-18 09:59:22 -08:00
Stephen Birarda
c9ade0585b
add a node authentication hostname to the domain-server
2014-02-18 09:03:35 -08:00
stojce
c57cae6437
Merge branch 'master' of https://github.com/worklist/hifi into 19497
2014-02-17 21:20:42 +01:00
stojce
13485065a5
Merge branch 'master' of https://github.com/worklist/hifi into 19497
2014-02-17 18:59:44 +01:00
Andrew Meadows
4848aa1d16
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-17 09:14:06 -08:00
Andrew Meadows
335141049c
Cleaning up collision check API's and re-enabling collisions with particles.
2014-02-14 16:33:19 -08:00
ZappoMan
20a6f4eea9
first cut at auto-LOD adjustment
2014-02-12 21:22:21 -08:00
stojce
68584c654b
Allow drag-and-drop of snapshots into Interface
2014-02-12 02:12:52 +01:00
Andrew Meadows
4edc6cd88b
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-10 15:42:56 -08:00
Philip Rosedale
ac9e2732b9
Merge pull request #1963 from birarda/authentication
...
default avatar head and body URLS
2014-02-10 15:42:53 -08:00
Philip Rosedale
64736fe290
Merge pull request #1961 from ZappoMan/silence_bad_edit_packet_warning
...
clean up bad edit packet warnings to help reduce log clutter
2014-02-10 15:42:23 -08:00
Stephen Birarda
37d7872677
fix a bug in version mismatched packets
2014-02-10 12:06:08 -08:00
Stephen Birarda
988c98d4d7
remove an antequated comment
2014-02-10 12:04:52 -08:00
ZappoMan
a0789d3a29
clean up bad edit packet warnings to help reduce log clutter
2014-02-10 11:21:27 -08:00
Stephen Birarda
27305c7a43
change default domain to root, don't double load domains on startup
2014-02-10 10:23:06 -08:00
Andrew Meadows
be1aaee359
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-10 09:05:08 -08:00
Andrew Meadows
10296577f4
More info when colliding with meshes + stubbery for poking avatar.
2014-02-10 09:02:29 -08:00
ZappoMan
235673b7fe
Merge branch 'master' of https://github.com/worklist/hifi into ray_cast_scripting
2014-02-07 16:27:52 -08:00
Stephen Birarda
cf05600d73
fix miss of pingType in timePingReply, closes #1934
2014-02-07 15:27:44 -08:00
Stephen Birarda
3e13608e19
switch back to proper data-server
2014-02-07 15:06:57 -08:00
ZappoMan
e162aa4a40
Merge branch 'master' of https://github.com/worklist/hifi into ray_cast_scripting
2014-02-07 14:47:25 -08:00
Stephen Birarda
f945aac5cd
bump version on unverified packets whose header format has changed
2014-02-07 14:32:09 -08:00
Stephen Birarda
a1a4a3db8a
HifiSockAddr to SharedNodePointer changes in MetavoxelServer
2014-02-07 14:27:10 -08:00
Stephen Birarda
3bf0ed719c
remove a comment in HifiSockAddr
2014-02-07 14:08:42 -08:00
Stephen Birarda
dd4d944dea
ping inactive nodes in conjunction with domain server check in
2014-02-07 14:06:42 -08:00
Stephen Birarda
94c449e10c
Merge branch 'mesh-through-mixer' into authentication
2014-02-07 13:50:39 -08:00
Stephen Birarda
72a3e6f22c
fix long column in NodeList
2014-02-07 13:49:59 -08:00
Stephen Birarda
05f086ae74
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-07 13:48:28 -08:00
Stephen Birarda
7c6d3cd01f
fix broken build from NetworkPacket
2014-02-07 13:46:59 -08:00
Stephen Birarda
455442088c
Merge branch 'master' of https://github.com/highfidelity/hifi into mesh-through-mixer
2014-02-07 13:45:14 -08:00
Stephen Birarda
3ad8e7260e
fix an accidental DOS and remove getNodeActiveSocketOrPing API
2014-02-07 13:42:52 -08:00
Stephen Birarda
a5636d2dc0
make ThreadedAssignment subclasses handle QUdpSocket readyRead, closes #1895
2014-02-07 12:25:43 -08:00
ZappoMan
c64b934d33
first cut at ray cast scripting
2014-02-07 11:23:04 -08:00
Philip Rosedale
72de486671
Merge pull request #1920 from ZappoMan/scriptable_camera
...
Scriptable camera
2014-02-07 11:21:12 -08:00
Stephen Birarda
66d4eeb805
enforce both a version and hash match for packets
2014-02-07 11:10:38 -08:00
Andrew Meadows
2e65592048
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-07 10:50:36 -08:00
Stephen Birarda
d39cccde77
add a method to find a node and upate based on packet
2014-02-07 10:32:16 -08:00
Stephen Birarda
7ceacd2751
remove blank if and fix ping reply construction
2014-02-07 10:24:01 -08:00
Stephen Birarda
fa1825fa32
repairs to ping-reply, removal of deconstructPacketHeader to simply return UUID
2014-02-07 10:20:50 -08:00
Andrzej Kapolka
d3b005112e
Changes from Philip's code review.
2014-02-07 10:03:23 -08:00
Stephen Birarda
b988308a8d
leverage writeDatagram helper in NodeList, ping if no active socket
2014-02-07 09:49:54 -08:00
ZappoMan
2157349804
added Camera.computePickRay()
2014-02-07 09:40:52 -08:00
Stephen Birarda
97a7369c76
remove senderWithAddress from NodeList
2014-02-06 14:43:46 -08:00
Andrew Meadows
082b7cf1a9
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
...
Conflicts:
interface/src/avatar/Avatar.cpp
interface/src/avatar/Avatar.h
interface/src/avatar/MyAvatar.cpp
2014-02-06 14:37:19 -08:00
Stephen Birarda
a823722d27
add writeDatagram helper to NodeList to insert md5 hash
2014-02-06 14:28:58 -08:00
Andrew Meadows
b230f046a7
Minor formating fixes.
2014-02-06 14:11:11 -08:00
Stephen Birarda
e72f6d16cc
rename NodeList ownerUUID to sessionUUID
2014-02-06 11:43:23 -08:00
Stephen Birarda
3dca04aacb
have the domain-server generate connection secrets, closes #1837
2014-02-06 11:30:53 -08:00
Stephen Birarda
6f638fa62c
have domain-server create a UUID for unidentified nodes, closes #1840
2014-02-06 10:34:34 -08:00
Stephen Birarda
f92f9ec0c2
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
2014-02-06 09:28:03 -08:00
Brad Hefta-Gaub
a05e07460f
fix windows build errors and warnings
2014-02-05 13:54:17 -08:00
AndrewMeadows
42528be7ca
Merge pull request #1846 from ZappoMan/fixdebugoutput
...
fix debug to properly work with outputBufferBits()
2014-02-05 10:03:09 -08:00
ZappoMan
13d9b710f1
bump packet version
2014-02-04 20:23:12 -08:00
Stephen Birarda
8bf3b7586b
initial movement of mesh/skeleton URLs out of data-server through avatar-mixer
2014-02-04 13:02:33 -08:00
ZappoMan
2cf2e693b9
fix debug to properly work with outputBufferBits()
2014-02-04 12:29:55 -08:00
Andrew Meadows
466a43c77f
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-03 10:47:00 -08:00
AndrewMeadows
bed63513a9
Merge pull request #1745 from ZappoMan/scripting_work
...
support for global collision callbacks in JS
2014-01-31 10:42:44 -08:00
Stephen Birarda
a07511ed2c
remove an unecessary line
2014-01-31 10:05:46 -08:00
Stephen Birarda
ddbcfbd02f
remove an extra debug for ping packets
2014-01-31 09:56:18 -08:00
Stephen Birarda
c989a64e90
repair ping packet parsing in creation of reply
2014-01-31 09:54:52 -08:00
Stephen Birarda
984fb1a5df
fix config parsing from command line and json
2014-01-30 15:22:03 -08:00
Stephen Birarda
356222ba15
removal of persistence in DS for static assignments
2014-01-30 14:33:36 -08:00
ZappoMan
ed0a2a5a18
Merge branch 'master' of https://github.com/worklist/hifi into scripting_work
...
Conflicts:
libraries/shared/src/SharedUtil.cpp
libraries/shared/src/SharedUtil.h
libraries/voxels/src/VoxelEditPacketSender.cpp
2014-01-29 19:49:36 -08:00
ZappoMan
08b06cc59c
support for global collision callbacks in JS
2014-01-29 17:52:17 -08:00
Stephen Birarda
740d11027c
add QDataStream >> operator to Assignment
2014-01-29 17:20:32 -08:00
Stephen Birarda
e700a39c3c
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-01-29 14:23:49 -08:00
Stephen Birarda
7d27830064
domain-server patches while looking for payload/pool errors
2014-01-29 14:23:39 -08:00
Andrew Meadows
f093a571c5
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
...
Conflicts:
interface/src/avatar/Avatar.cpp
libraries/particles/src/ParticleCollisionSystem.cpp
libraries/shared/src/CollisionInfo.h
2014-01-29 14:12:22 -08:00
Andrzej Kapolka
1e9e298a75
Missing includes.
2014-01-29 13:47:13 -08:00
Stephen Birarda
33edcea5fb
resolve conflicts on merge with upstream master
2014-01-29 12:23:06 -08:00
ZappoMan
98cdc656c4
more scripting support, including adding a Quat helper class that makes JS quat math easier
2014-01-29 00:56:08 -08:00
ZappoMan
9d87d58723
Merge branch 'master' of https://github.com/worklist/hifi into more_scripting
...
Conflicts:
libraries/particles/src/ParticlesScriptingInterface.cpp
2014-01-28 20:36:35 -08:00
Stephen Birarda
4bb72b9f3f
remove MAX_HOSTNAME_BYTES
2014-01-28 13:44:47 -08:00
Stephen Birarda
423e1598f0
use NodeSet in place of QSet<NodeType_t> where possible
2014-01-28 13:41:39 -08:00
Stephen Birarda
4de270b832
cleanup Node types, closes #1726
2014-01-28 13:38:33 -08:00
Stephen Birarda
fe410ae3e9
fix packet header size constraints
2014-01-28 12:56:05 -08:00
Stephen Birarda
8384ff79df
remove one Qt type replacement
2014-01-28 12:36:43 -08:00
Stephen Birarda
cda06d1cb3
replace uint64_t with quint64 for Qt friendlyness
2014-01-28 12:35:42 -08:00
Stephen Birarda
7b4921e761
use quint64 in place of uint64_t for QDataStream
2014-01-28 12:34:08 -08:00
Stephen Birarda
2aaa9ce3f6
resolve conflicts on merge with upstream master
2014-01-28 12:30:43 -08:00
Stephen Birarda
b009cd8e67
repair more node communication problems after refactor
2014-01-28 12:25:44 -08:00
Stephen Birarda
ffefc529f3
ensure UUID pulled from packet header is exactly 16 bytes
2014-01-28 11:53:09 -08:00
Stephen Birarda
75e2fa491a
some type fixes for marshalling/un-marshalling of data
2014-01-28 11:26:36 -08:00
ZappoMan
427abd4509
add model properties to particles
2014-01-28 11:18:37 -08:00
Stephen Birarda
85ebad979f
repair assignment flow errors from packet changes
2014-01-28 11:15:38 -08:00
Stephen Birarda
3854f75abd
cleanup some UUID packing
2014-01-28 10:41:40 -08:00
Stephen Birarda
4103cc1cde
packet header changes and beginning of conversion to QByteArray
2014-01-28 10:36:08 -08:00
ZappoMan
1681dbb57b
Merge branch 'master' of https://github.com/worklist/hifi into particle_meshes
2014-01-28 09:26:54 -08:00
ZappoMan
568d5bc05d
first cut at particle meshes
2014-01-28 09:26:47 -08:00
Andrew Meadows
c4f429dcd0
Merge branch 'master' of ssh://github.com/highfidelity/hifi into fix-particle-avatar-collisions
2014-01-27 18:05:39 -08:00
stojce
74801da07f
#19491 - Implement in-app snapshots
2014-01-27 18:07:03 +01:00
Andrew Meadows
2f02ee0b31
Moving applyHardCollision to the Particle class. Adding daming and elasticity to CollisionInfo.
2014-01-24 16:29:44 -08:00
AndrewMeadows
ea681f0d8f
Merge pull request #1669 from birarda/avatar-list
...
add an AvatarManager to house a separate list of Avatars from NodeList
2014-01-24 09:54:17 -08:00
Stephen Birarda
dff59f386a
cleanup spacing in debug
2014-01-24 09:23:44 -08:00
Stephen Birarda
fc55c3efac
simplify debug a little
2014-01-24 09:11:03 -08:00
Stephen Birarda
9d71671a52
add extra debugging to packet mismatch
2014-01-24 09:10:27 -08:00
Leonardo Murillo
6dae086f32
changing default domain closes #1676
2014-01-24 08:49:07 -06:00
Stephen Birarda
10cfd628aa
resolve conflicts on merge with upstream master
2014-01-23 17:52:30 -08:00
Stephen Birarda
8d2e9823de
remove notion of owning node from NodeData
2014-01-23 17:06:03 -08:00
Andrew Meadows
c33a437393
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-01-23 16:44:41 -08:00
ZappoMan
da58486fb1
Merge pull request #1668 from birarda/nodelist-patches
...
cleanup deadlocking in NodeList methods, avatar-mixer debug
2014-01-23 16:30:29 -08:00
Andrew Meadows
afa1134282
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-01-23 16:24:43 -08:00
Stephen Birarda
4ebd5795fc
handle merge with nodelist-patches branch
2014-01-23 16:01:52 -08:00
Stephen Birarda
80106979a5
replace packetSenderNotify with signal/slot combo
2014-01-23 15:55:36 -08:00
Stephen Birarda
349c790cc7
NodeData cleanup thanks to separation from rendered avatars
2014-01-23 15:41:40 -08:00
Stephen Birarda
ed9118fd67
more NodeList QSet changes, closes #1660
2014-01-23 15:28:46 -08:00
Stephen Birarda
ba7a73e347
add a missing break, don't double activate sockets
2014-01-23 15:11:09 -08:00
Stephen Birarda
761bcb9825
allow recursive locking on the NodeHashMutex
2014-01-23 15:11:02 -08:00
ZappoMan
9de99ce6a8
removed commented out debug
2014-01-23 15:07:17 -08:00
Stephen Birarda
09cd8eb0fd
add a missing break, don't double activate sockets
2014-01-23 15:05:09 -08:00
Stephen Birarda
e7927ff837
allow recursive locking on the NodeHashMutex
2014-01-23 15:02:23 -08:00
ZappoMan
bdcca9cbf4
fix random crash on interface shutdown
2014-01-23 14:57:32 -08:00
Stephen Birarda
9ab1fc4c2c
resolve conflicts on merge with upstream/master
2014-01-23 14:43:04 -08:00
Stephen Birarda
2e548fb39c
complete migration of Avatar list to AvatarManager
2014-01-23 14:41:11 -08:00
Stephen Birarda
1f95d0c017
have avatar-mixer report avatar kills to all avatars
2014-01-23 12:47:27 -08:00
Stephen Birarda
a9f1984676
add an AvatarManager that will keep Avatars in Application thread
2014-01-23 11:59:24 -08:00
Philip Rosedale
5e77f5643d
Merge pull request #1630 from birarda/nodelist-set
...
change node types of interest to a QSet
2014-01-23 11:42:37 -08:00
Stephen Birarda
b5a72ef669
more nodelist repairs for concurrency issues
2014-01-23 11:11:22 -08:00
Stephen Birarda
04286e39e6
use NodeList getNodeHash getter for methods that can be called from other threads
2014-01-23 10:49:51 -08:00
Stephen Birarda
7efc9e2e78
move datagram processing back to separate thread
2014-01-23 10:32:23 -08:00
Andrew Meadows
847503e437
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-01-22 17:00:55 -08:00
Andrew Meadows
556526316f
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
...
Conflicts:
interface/src/avatar/Hand.cpp
interface/src/avatar/Hand.h
libraries/particles/src/ParticleCollisionSystem.cpp
2014-01-22 16:21:49 -08:00
Stephen Birarda
ec04d5450b
Merge branch 'master' of https://github.com/highfidelity/hifi into nodelist-set
2014-01-22 16:16:47 -08:00
Stephen Birarda
f4f828ab72
Merge pull request #1629 from ZappoMan/juridiction_improvements
...
Change JurisdictionListener and JurisdictionSender to not require virtual base class
2014-01-22 16:16:24 -08:00
Stephen Birarda
abddb969a5
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-01-22 14:47:44 -08:00
Stephen Birarda
e9e2557576
change node types of interest to a QSet
2014-01-22 14:47:04 -08:00
Brad Hefta-Gaub
85363f6603
Merge branch 'master' of git://github.com/worklist/hifi into juridiction_improvements
2014-01-22 14:23:00 -08:00
Brad Hefta-Gaub
39f7111b2d
remove public virtual from PacketSender and RecievedPacketProcessor
2014-01-22 14:21:03 -08:00
Andrew Meadows
09b2d4aa78
Added menu options for more detailed collision preferences.
2014-01-22 13:34:13 -08:00
Stephen Birarda
d57aec9793
don't use separate NodeList owner UUID and Avatar UUID
2014-01-22 11:48:04 -08:00
Brad Hefta-Gaub
aacad00791
Merge branch 'master' of git://github.com/worklist/hifi into new_particle_scripting_interface
...
Conflicts:
interface/src/Application.cpp
2014-01-22 11:16:21 -08:00
Brad Hefta-Gaub
f81adb8810
update packet versions
2014-01-22 09:48:19 -08:00
Stephen Birarda
98c25aa3ee
put data-server hostname back to data.highfidelity.io
2014-01-22 09:10:27 -08:00
Brad Hefta-Gaub
fe5a8d9da2
Merge branch 'master' of git://github.com/worklist/hifi into new_particle_scripting_interface
...
Conflicts:
libraries/shared/src/PacketHeaders.cpp
2014-01-21 20:21:22 -08:00
Andrzej Kapolka
2651c06367
Compile fix (for me, anyway).
2014-01-21 17:21:57 -08:00
Stephen Birarda
105fb42b34
rewrite mesh and skeleton requests from data-server
2014-01-21 16:46:04 -08:00
Stephen Birarda
f13aa322fc
resolve conflicts in merge with upstream/master
2014-01-21 16:01:12 -08:00
Stephen Birarda
e08f4d2eba
more DataServerClient API tweaks
2014-01-21 13:13:57 -08:00
Stephen Birarda
3613773b79
cleanup DSC api, add scripting interface
2014-01-21 09:55:06 -08:00
Brad Hefta-Gaub
cd0e8e742c
particle edit checkpoint
2014-01-21 02:12:31 -08:00
Brad Hefta-Gaub
3bcd02f8e3
Merge branch 'master' of git://github.com/worklist/hifi into new_particle_scripting_interface
...
Conflicts:
libraries/shared/src/PacketHeaders.cpp
2014-01-20 20:25:52 -08:00
Stephen Birarda
340ae8ebd1
column width repair
2014-01-20 17:17:26 -08:00
Stephen Birarda
d9ae27953b
move DataServerClient to shared for use in other targets
2014-01-20 17:12:52 -08:00
Stephen Birarda
8930cf889b
bump data server packet version to 1
2014-01-20 14:48:14 -08:00
Andrzej Kapolka
81ab68a529
Store hand position relative to body orientation/position.
2014-01-20 12:44:09 -08:00
Brad Hefta-Gaub
bc2830d0d3
Merge branch 'master' of git://github.com/worklist/hifi into new_particle_scripting_interface
...
Conflicts:
libraries/particles/src/ParticleCollisionSystem.cpp
2014-01-20 10:55:34 -08:00
Philip Rosedale
2fe666aa63
Merge pull request #1583 from birarda/nodelist-container
...
NodeList container repairs
2014-01-17 17:23:16 -08:00
Stephen Birarda
594165782a
repair badly scoped usage of QMutexLocker
2014-01-17 16:20:22 -08:00
Brad Hefta-Gaub
99f9ae9d3a
implement new setProperties() getProperties() for Particle to allow setting all properties at once using a JS hash
2014-01-17 16:02:58 -08:00
Stephen Birarda
fad7bde0e1
add mutex locking to NodeHash
2014-01-17 16:02:57 -08:00
Stephen Birarda
816b324236
switch to explicit lock and unlock in removeSilentNodes
2014-01-17 15:17:10 -08:00
Stephen Birarda
3355b71d6b
switch back to returning iterator from killNodeAtHashIterator
2014-01-17 15:13:56 -08:00
Brad Hefta-Gaub
1e0f1adb16
added lifetime to particles
2014-01-17 14:59:40 -08:00
Andrew Meadows
562b29b293
adding back log about mismatching packet type
2014-01-17 11:35:16 -08:00
Andrew Meadows
48796231ef
Merge branch 'master' of ssh://github.com/highfidelity/hifi into paddle-fixes
2014-01-17 11:26:04 -08:00
Andrew Meadows
f08e639cb2
fixes for avatar paddle-hands, plus some hackery for demo
2014-01-17 11:22:50 -08:00
Andrzej Kapolka
8c6c521b65
Merge branch 'master' of https://github.com/highfidelity/hifi into debone
2014-01-16 16:38:07 -08:00
Stephen Birarda
d85616d690
cleaup matching with node in addOrUpdateNode
2014-01-16 16:14:25 -08:00
Andrzej Kapolka
a16d38ced6
Removed joints from avatar state messages.
2014-01-16 15:07:09 -08:00
Brad Hefta-Gaub
cdfc328f79
remove no longer needed compiler warning disable
2014-01-16 14:38:14 -08:00
Stephen Birarda
323aa18c0e
remove MotionDriver and pthread libraries
2014-01-16 14:16:38 -08:00
Brad Hefta-Gaub
a1257d1b98
fixed comment that erroneously said wait when it should have said quit
2014-01-16 13:39:55 -08:00
Brad Hefta-Gaub
f3074c1fcc
Merge branch 'master' of git://github.com/worklist/hifi into generic_thread_fix
2014-01-16 12:55:55 -08:00
Brad Hefta-Gaub
f97ab1dafe
fixes leak of GenericThread and also fixes crash in octree servers on client disconnect
2014-01-16 12:53:32 -08:00
Stephen Birarda
9095874844
fix moveToThread for AssignmentClient NodeList, fixes #1551
2014-01-16 12:30:23 -08:00
ZappoMan
7c4b341f52
Merge pull request #1544 from ZappoMan/windows_build
...
Windows build
2014-01-16 09:38:12 -08:00
Andrew Meadows
1266ffd0ca
merge of windows-build
...
Conflicts:
domain-server/src/DomainServer.cpp
interface/src/Application.cpp
interface/src/Menu.cpp
libraries/avatars/src/AvatarData.h
libraries/shared/src/NodeList.h
2014-01-16 09:00:13 -08:00
Andrew Meadows
a7600c06dd
cruft removal
2014-01-15 17:12:53 -08:00
Andrew Meadows
4e51aee00b
Merge latest upstream into local repo.
2014-01-15 17:04:33 -08:00
Stephen Birarda
0c22aa241f
leverage invokeMethod to make sure killNodeWithUUID is called on right thread
2014-01-15 16:10:51 -08:00
Brad Hefta-Gaub
f2e3990ea7
Merge branch 'windows_build' of https://github.com/ZappoMan/hifi into windows_build
2014-01-15 15:22:02 -08:00
Brad Hefta-Gaub
d6eb6d02e2
adjust comment to reflect know issue
2014-01-15 15:21:48 -08:00
Brad Hefta-Gaub
d793bd44ee
fix windows sign mismatch warning
2014-01-15 15:08:58 -08:00
Brad Hefta-Gaub
f445a391b7
added back arpa/inet.h and ifaddrs.h for mac and unix
2014-01-15 15:03:03 -08:00
Brad Hefta-Gaub
ff6e9c0416
added back unistd.h for non-windows
2014-01-15 14:59:14 -08:00
Andrew Meadows
32f3621855
merge upstream work into local repo
2014-01-15 14:13:48 -08:00
Andrew Meadows
e4730790c0
bugfix: findSphereDiskPenetration() would never return true
2014-01-15 14:00:32 -08:00
Brad Hefta-Gaub
bd6e30070d
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
...
Conflicts:
libraries/shared/src/NodeList.cpp
libraries/shared/src/NodeList.h
2014-01-15 13:18:25 -08:00
Stephen Birarda
0b52b8266e
don't return an iterator from killNodeAtHashIterator
2014-01-15 12:44:46 -08:00
Brad Hefta-Gaub
477840904b
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
2014-01-15 12:09:26 -08:00
Stephen Birarda
b4438c04c6
return result of QHash value from nodeWithUUID
2014-01-15 11:31:23 -08:00
Brad Hefta-Gaub
170dbe6e85
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
domain-server/src/DomainServer.cpp
interface/src/Audio.cpp
interface/src/DataServerClient.cpp
interface/src/Oscilloscope.cpp
interface/src/PairingHandler.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/devices/Faceshift.cpp
interface/src/devices/SerialInterface.cpp
interface/src/renderer/FBXReader.cpp
libraries/avatars/src/AvatarData.h
libraries/octree-server/src/OctreeServer.cpp
libraries/octree-server/src/OctreeServer.h
libraries/octree/src/ViewFrustum.cpp
libraries/shared/src/Logging.cpp
libraries/shared/src/Node.cpp
libraries/shared/src/Node.h
libraries/shared/src/NodeList.cpp
libraries/shared/src/NodeList.h
libraries/shared/src/PerfStat.cpp
libraries/shared/src/SharedUtil.cpp
libraries/voxels/src/VoxelTree.cpp
voxel-edit/src/main.cpp
2014-01-15 10:20:21 -08:00
Stephen Birarda
13dfe91358
remove newlines from Node debug
2014-01-15 09:42:11 -08:00
Andrew Meadows
af3fae7bbf
Merge upsteam master into current project (experimental hand paddles)
...
Conflicts:
interface/src/avatar/Avatar.cpp
libraries/avatars/src/AvatarData.cpp
2014-01-14 16:39:46 -08:00
Stephen Birarda
e76a37f48b
resolve conflicts on merge with upstream master
2014-01-14 16:26:02 -08:00
Andrew Meadows
9847ab3bfd
Adding findSphereDiskPenetration() method for hand paddle experiment.
2014-01-14 16:23:35 -08:00
Stephen Birarda
599e3bb9e5
resolve conflicts on merge with upstream master
2014-01-14 16:15:58 -08:00
Stephen Birarda
77ee27e5d7
resolve conflicts on merge with upstream master
2014-01-14 16:12:42 -08:00
Andrew Meadows
eb207efe32
Adding simple CollisionInfo class as data wrapper and a findSphereCollision() method to AgentData API.
2014-01-14 16:11:27 -08:00
Stephen Birarda
8676ac38f9
foreach spacing and reference repairs
2014-01-14 15:54:09 -08:00
Stephen Birarda
987c639e36
initial newline removal from all QDebug calls
2014-01-14 13:09:22 -08:00
Stephen Birarda
bdc31a3b48
replace the DomainChangeListener class with a signal/slot combo
2014-01-14 11:38:05 -08:00
Stephen Birarda
fa01383f3f
move the NodeList to the thread used for a ThreadedAssignment
2014-01-14 11:26:26 -08:00
Stephen Birarda
e888366fd8
remove unused index variable
2014-01-14 10:57:34 -08:00
Stephen Birarda
5a43c2c66b
remove extraneous node destructor debug
2014-01-14 10:53:55 -08:00
Stephen Birarda
718d04bd71
correct iterator push on NodeList clear
2014-01-14 10:53:17 -08:00
Stephen Birarda
66f50c38e3
repair iterator push on silent node removal
2014-01-14 10:48:47 -08:00
Stephen Birarda
ed0ed96029
properly emit signal on silent node removal
2014-01-14 10:28:41 -08:00
Stephen Birarda
57f977668f
replace the Node mutex with a QMutex
2014-01-14 10:15:31 -08:00
Stephen Birarda
53d435006c
more follow mode cleanup, fix silent node iterator
2014-01-14 10:07:26 -08:00
Stephen Birarda
3ab7a6d9d5
move network packet processing to main thread
2014-01-13 17:58:48 -08:00
Stephen Birarda
1faa2120aa
use typedef in NodeList implementation
2014-01-13 17:36:27 -08:00
Stephen Birarda
0579b18426
fix deadlock in silent node removal
2014-01-13 17:33:58 -08:00
Stephen Birarda
6a0c431562
repair add of new node (so it doesn't immediately kill)
2014-01-13 17:29:45 -08:00
Stephen Birarda
677303b5c0
properly hook SharedNodePointer for signals/slots
2014-01-13 17:17:53 -08:00
Stephen Birarda
7d1a64ca8c
change NodeList container to QHash with QSharedPointer
2014-01-13 17:09:21 -08:00
Brad Hefta-Gaub
483ac66518
more windows build tweaks, warnings and linking
2014-01-13 11:48:16 -08:00
Brad Hefta-Gaub
55babbf7b6
windows type mismatch warning fixes
2014-01-13 00:30:23 -08:00
Brad Hefta-Gaub
9ccaba3ca8
snprintf windows fixes
2014-01-12 23:26:13 -08:00
Brad Hefta-Gaub
08bb783777
more windows build work
2014-01-12 14:49:15 -08:00
Brad Hefta-Gaub
6bde55898d
handle NOMINMAX in cmake
2014-01-10 21:58:55 -08:00
Brad Hefta-Gaub
dec16c8f0b
windows build
2014-01-10 21:21:07 -08:00
Brad Hefta-Gaub
b6b2b7f58b
first cut at making GenericThread use QThread instead of pthread
2014-01-10 21:16:00 -08:00
Brad Hefta-Gaub
7848d065bc
added NOMINMAX before things that possibly include windows.h
2014-01-10 21:01:43 -08:00
Brad Hefta-Gaub
124250b2c2
changed fmax to std::max
2014-01-10 20:38:13 -08:00
Brad Hefta-Gaub
b0f8e21d06
more windows build hackery
2014-01-10 20:36:37 -08:00
Brad Hefta-Gaub
44893b0a8c
hackery to get windows to build
2014-01-10 19:58:10 -08:00
Brad Hefta-Gaub
a5c5a35c12
removed sys/time.h for Systime.h on windows
2014-01-10 19:54:20 -08:00
Brad Hefta-Gaub
731209d8cb
remove unused PerfStats class more missing header changes
2014-01-10 19:47:23 -08:00
Brad Hefta-Gaub
e55e680e66
tweaks to some variable names since windows has a problem with them
2014-01-10 18:28:18 -08:00
Brad Hefta-Gaub
5725a92cfe
get rid of arpa/inet.h and netdb.h
2014-01-10 18:13:23 -08:00
Brad Hefta-Gaub
9bc4a3df41
switch from pthread mutex to QMutex
2014-01-10 18:01:36 -08:00
Brad Hefta-Gaub
2c30b8b5b4
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
2014-01-10 17:36:53 -08:00
Brad Hefta-Gaub
f6d775e3e1
remove timeval and unistd.h
2014-01-10 17:27:23 -08:00
Andrew Meadows
c61f071ab7
merge of latest upstream work in preparation for pull request #1500
...
Conflicts:
libraries/particles/src/ParticleCollisionSystem.cpp
2014-01-10 17:03:45 -08:00
Andrew Meadows
f2d0d445c2
yet another merge after competing pull requests
2014-01-10 16:03:48 -08:00
Andrzej Kapolka
de0472cfc1
Merge pull request #1498 from birarda/remove-curl
...
remove curl dependency by removing starfield loading from URL
2014-01-10 16:02:17 -08:00
Andrew Meadows
8799ad133e
merge again after some competing pull requests were processed
2014-01-10 16:00:08 -08:00
Andrew Meadows
d28ed70ca9
merge pull request 1446
2014-01-10 15:55:38 -08:00
Stephen Birarda
1c3259c8cf
remove the starfield URL loading code, closes #1497
2014-01-10 15:33:43 -08:00
Brad Hefta-Gaub
c181d0a849
first cut at local voxel cache
2014-01-09 12:05:09 -08:00
Andrzej Kapolka
1bd069c4e2
Removed unused variable.
2014-01-03 17:56:55 -08:00
Andrzej Kapolka
c2af9becba
Ray/capsule intersection test.
2014-01-03 17:48:58 -08:00
Andrzej Kapolka
aa9fc290a5
Minimum chat circle radius from Ryan, basic avatar/voxel orbit behavior.
2014-01-03 16:46:11 -08:00
Andrew Meadows
bce39e916a
Pulling latest worklist/hifi into local repo
2014-01-03 16:10:21 -08:00
Andrew Meadows
ea88f00ce5
Name changes, formatting, and comments for readability.
2014-01-03 16:01:31 -08:00
ZappoMan
ec1f08b140
Merge pull request #1443 from birarda/master
...
open up more audio to JS
2014-01-03 10:12:44 -08:00
Stephen Birarda
f24eff33fe
open up ASI playSound method to ScriptEngine
2014-01-03 09:38:05 -08:00
Andrew Meadows
930d9957f3
Changed argument names in collision methods for improved readability.
2014-01-02 16:09:41 -08:00
ZappoMan
f1da6bf90b
fix various compiler warnings on gcc
2014-01-02 15:58:03 -08:00
Stojce Slavkovski
31fa8ad1fb
Merge branch 'master' of https://github.com/worklist/hifi into 19463
2014-01-02 21:06:28 +01:00
Stephen Birarda
591876eaf3
notify for node kill on NodeList clear
2014-01-02 10:01:47 -08:00
Stojce Slavkovski
840d1a33ef
Reveal log file
...
- change log location lo application data folder
- reveal file in Finder (Explorer) implementation
2013-12-23 21:23:47 +01:00
Philip Rosedale
a6c2334f49
Merge pull request #1414 from birarda/injected-audio
...
C++ API for Audio Injection of samples from URL
2013-12-19 16:41:55 -08:00
Stephen Birarda
80a2bd0844
move _shouldLoopbackForNode to PositionalAudioRingBuffer for access in injector
2013-12-19 15:44:04 -08:00
ZappoMan
90a2fd31ef
fixed spacing
2013-12-19 15:17:29 -08:00
ZappoMan
d71bc248f4
support adjusting particles based on clockSkew
2013-12-19 14:49:58 -08:00
ZappoMan
bfbaf265dd
first cut at added clockSkew support to nodes and PING/PING_REPLY
2013-12-19 13:14:14 -08:00
ZappoMan
e2b7e08398
revert back to timestamps, fix a couple other bugs
2013-12-19 09:50:53 -08:00
Philip Rosedale
9980065659
Merge pull request #1406 from ZappoMan/particle_blinky_bug
...
Fix Particle Blinkiness on Clock Skew, and remove all global time stamps from wire formats
2013-12-18 20:02:38 -08:00
ZappoMan
5b36953e81
cleanup clockSkew debug options and remove some chatty logs
2013-12-18 19:33:52 -08:00
Andrzej Kapolka
f10dccb1b8
Fix for menu shortcuts; just include widget library rather than using awkward
...
workaround.
2013-12-18 17:28:21 -08:00
ZappoMan
1badc8dc5d
first pass at removing timestamps from particles removed _lastUpdated/getLastUpdated()
2013-12-18 16:59:36 -08:00
ZappoMan
6b0d7c30f0
added debugging option for forced clock skew
2013-12-18 16:58:49 -08:00
ZappoMan
4bfdce3910
Merge branch 'master' of https://github.com/worklist/hifi into controller_scripting_interface
...
Conflicts:
libraries/avatars/src/HandData.h
libraries/script-engine/src/ScriptEngine.cpp
libraries/script-engine/src/ScriptEngine.h
2013-12-17 15:25:12 -08:00
ZappoMan
a6e6205a57
first cut at scriptable controller
2013-12-17 15:23:09 -08:00
ZappoMan
7b3a778fb4
get Agent working with ScriptEngine
2013-12-17 14:13:16 -08:00
ZappoMan
ccd6058412
get abstract menu class to work
2013-12-17 13:55:17 -08:00
ZappoMan
5c946090db
Merge branch 'master' of https://github.com/worklist/hifi into agent_script_engine_refactor
2013-12-17 13:34:13 -08:00
ZappoMan
11a5ff2eb8
added edited times to particles and don't change local tree if particle has not been edited
2013-12-17 12:39:35 -08:00
ZappoMan
95639c7ce7
first cut, not working yet
2013-12-17 10:58:36 -08:00
ZappoMan
8f1fbec057
added versioning to SVO files and Particle inHand support
2013-12-16 19:49:22 -08:00
ZappoMan
32c2aef29b
temp remove debug verbosity
2013-12-16 11:36:19 -08:00
ZappoMan
f9b7c23857
correct handleing of app shutdown and scripting enging termination
2013-12-16 11:26:30 -08:00
ZappoMan
524a41468c
multiple scripts running at same time, menu interface for scripts
2013-12-16 09:16:51 -08:00
ZappoMan
aaf4ff7dfc
added lifetime to particles
2013-12-13 14:30:29 -08:00
ZappoMan
03c72134cb
first cut at creatorTokenIDs for creating particles
2013-12-11 15:38:52 -08:00
ZappoMan
55c3e81801
added new file
2013-12-10 15:51:57 -08:00
ZappoMan
542019a491
add script to the particle wire and disk format
2013-12-10 15:28:59 -08:00
ZappoMan
7a828794be
more work with particles added javascript support to particle update
2013-12-10 11:27:18 -08:00
ZappoMan
2ca628fdf1
first cut at particle renderer cleanup particle jurisdiction listener fix storage of particles
2013-12-09 11:45:32 -08:00
ZappoMan
3d2a00b732
Merge branch 'master' of https://github.com/worklist/hifi into particle_details
...
Conflicts:
animation-server/src/main.cpp
2013-12-06 16:03:02 -08:00
ZappoMan
ba83fa462d
Merge pull request #1336 from birarda/master
...
some NodeList cleanup
2013-12-06 15:59:33 -08:00
ZappoMan
91ffb5b167
added node type to jurisdiction messages and more work on particle editing
2013-12-06 15:56:51 -08:00
Stephen Birarda
04b13149b5
remove unneeded include in NodeList
2013-12-05 17:39:37 -08:00
Stephen Birarda
c2e11e8d8c
more NodeList cleanup
2013-12-05 17:39:02 -08:00
Stephen Birarda
8f4e641ade
remove NodeList threads that are deprecated
2013-12-05 17:11:58 -08:00
Andrzej Kapolka
d374716c7d
Merge branch 'master' of https://github.com/worklist/hifi
2013-12-05 17:09:19 -08:00
Philip Rosedale
3f957bbf5d
Rave out!
2013-12-05 16:46:11 -08:00
Andrzej Kapolka
9ecef89c6c
Merge branch 'master' of https://github.com/worklist/hifi
2013-12-05 15:36:56 -08:00
Andrzej Kapolka
ecff3a0542
Basic sphere/capsule-cone penetration test.
2013-12-05 15:36:34 -08:00
Stephen Birarda
3f9e00d977
fix a boneheaded mistake in AvatarMixer broadcastAvatarData
2013-12-05 15:10:01 -08:00
ZappoMan
aec0e9f4aa
added basic particle server renamed voxel packet names to fit standard
2013-12-04 21:00:00 -08:00
ZappoMan
2b27c91550
Merge branch 'master' of https://github.com/worklist/hifi into particle_server
...
Conflicts:
interface/src/VoxelSystem.cpp
interface/src/VoxelSystem.h
2013-12-04 11:40:54 -08:00
Stephen Birarda
eb316a450a
Merge pull request #1298 from ZappoMan/move_hideshow_to_thread
...
Move Hide/Show local voxels to a dedicated thread
2013-12-04 11:27:14 -08:00
ZappoMan
2cb46c3447
added DEADBEEF support to debug class
2013-12-04 10:37:10 -08:00
ZappoMan
d7ae023492
make addChildAtIndex() use createNewElement() so we get our correct classes
2013-12-03 20:40:40 -08:00
ZappoMan
9faef65ccc
first cut at splitting out octree base classes
2013-12-03 17:32:02 -08:00
Stephen Birarda
da580ecbaf
fix inclusion of QThread in Assignment
2013-12-03 12:31:39 -08:00
Stephen Birarda
3277cb49a6
Merge remote-tracking branch 'upstream/master' into cleanup
2013-12-03 12:21:03 -08:00
Stephen Birarda
6f7e16dc22
hook VS to new QCA infrastructure
2013-12-03 11:11:08 -08:00
Stephen Birarda
606eaa579a
switch node pinging to QTimer in QCoreApplication instance
2013-12-03 10:57:31 -08:00
Stephen Birarda
c3b6a7b24c
setup subclass for threaded assignments
2013-12-03 10:22:13 -08:00
Stephen Birarda
330eff72ce
repair usage of DS as STUN server
2013-12-02 17:18:07 -08:00
Stephen Birarda
1e279cf99c
hook AudioMixer to new event-driven assignment setup
2013-12-02 16:34:38 -08:00
Stephen Birarda
49191826af
add check for pending datagrams before read
2013-12-02 14:08:49 -08:00
Stephen Birarda
141394a664
replace UDPSocket with QUDPSocket
2013-12-02 13:34:29 -08:00
ZappoMan
76b3bd4e6e
Move Hide/Show local voxels to a dedicated thread so that it doesn't slow performance of voxel packet processing
2013-12-02 12:08:45 -08:00
ZappoMan
a3b69c1e75
bumb version number of PACKET_TYPE_VOXEL_QUERY
2013-11-27 15:55:49 -08:00
ZappoMan
0e501f4439
Merge branch 'master' of https://github.com/worklist/hifi into compressed_packets
...
Conflicts:
interface/src/Menu.cpp
interface/src/Menu.h
2013-11-27 15:44:51 -08:00
ZappoMan
491512fbce
major pass on cleaning up voxel packets to have flags, sequence numbers, and flight time, add compression menu item
2013-11-26 17:26:54 -08:00
ZappoMan
70213630e1
Merge branch 'master' of https://github.com/worklist/hifi into compressed_packets
2013-11-25 13:38:22 -08:00
Philip Rosedale
d7b1eae446
Merge branch 'master' of https://github.com/worklist/hifi
2013-11-25 09:45:27 -08:00
Philip Rosedale
62c882b788
Rounding numbers
2013-11-25 09:44:40 -08:00
ZappoMan
17f5530893
fixed wasted bitmasks bug where we would include colors and extra layers
2013-11-25 01:42:19 -08:00
ZappoMan
25511f99ec
cleanup for coding standard
2013-11-24 15:22:44 -08:00
ZappoMan
e65f74e06b
moved compression into VoxelPacket class. works, but too slow for larger sizes
2013-11-23 21:40:50 -08:00
ZappoMan
cd1d3765a9
cleaned up const semantics and DRYed up appendBitMask
2013-11-23 16:28:21 -08:00
ZappoMan
0f66f4c1bd
Revert "cleaned up some comments and code"
...
This reverts commit 99c427c97d
.
2013-11-23 16:19:57 -08:00
ZappoMan
99c427c97d
cleaned up some comments and code
2013-11-23 16:18:18 -08:00
ZappoMan
11d7cb64c2
switch back to qDebug
2013-11-23 13:42:11 -08:00
Andrzej Kapolka
092515e199
Send an explicit kill request to the avatar mixer (which will pass it along to
...
the other clients) when we exit.
2013-11-22 15:19:59 -08:00
ZappoMan
e0c55be4e2
more debug
2013-11-21 15:21:29 -08:00
ZappoMan
3d20152c36
use node->trylock() in VoxelSendThread() to handle shutdown race condition
2013-11-13 15:11:43 -08:00
ZappoMan
d9ed6443db
style cleanup, correct some comments
2013-11-10 14:06:44 -08:00
ZappoMan
eb73de6b67
added a couple more JS APIs and removed some debug code
2013-11-10 12:33:54 -08:00
ZappoMan
1a6efea5c0
improvements to PPS behavior of PacketSender
2013-11-10 10:39:56 -08:00
ZappoMan
a9c5c0707f
added sentAt timestamps to voxel edit packets so we can measure transit time
2013-11-08 10:32:46 -08:00
ZappoMan
b0a4ffb11c
fix comments line breaks
2013-11-08 02:27:34 -08:00
ZappoMan
3da6062639
fix comment
2013-11-08 02:26:23 -08:00
ZappoMan
a708486834
fix comment
2013-11-08 02:25:51 -08:00
ZappoMan
8043970df7
bug fixes to JurisdictionListener, PacketSender, addition of packetsToSendCount() to Voxels JS
2013-11-08 02:22:10 -08:00
ZappoMan
19515c80fd
Merge branch 'master' of https://github.com/worklist/hifi into new_voxel_scene_stats
...
Conflicts:
interface/src/Application.cpp
2013-11-07 16:44:34 -08:00
Stephen Birarda
5889d4122f
use virtual deleteOrDeleteLater in NodeData to handle AvatarVoxelSystem
2013-11-07 15:41:10 -08:00
Stephen Birarda
9aacda7d56
fix for AC lack of QCoreApplication
2013-11-07 14:34:01 -08:00
Stephen Birarda
72b2309dc0
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-11-07 12:43:58 -08:00
Stephen Birarda
24c88512e2
only attempt to deleteLater on linkedData if it exists
2013-11-07 12:41:29 -08:00
Stephen Birarda
fe962e6be1
only call deleteLater for linkedData if we have a QCoreApplication instance
2013-11-07 12:38:28 -08:00
ZappoMan
93ad1c3f99
make temp copy of NetworkPacket to protect against vector resizing
2013-11-05 15:11:31 -08:00
ZappoMan
318b9b1671
make temp copy of NetworkPacket to protect against vector resizing
2013-11-05 14:50:49 -08:00
ZappoMan
406d42fe87
added more debugging
2013-11-05 14:27:20 -08:00
ZappoMan
1c580551bb
added more debugging
2013-11-05 13:47:58 -08:00
ZappoMan
6dc7f68f0e
Merge pull request #1185 from birarda/assignment
...
add helper to ping if no active socket
2013-11-05 12:55:06 -08:00
Stephen Birarda
771021995b
add helper to ping with inactive socket
2013-11-05 12:34:56 -08:00
ZappoMan
e296be8c7a
make numberOfThreeBitSectionsInCode() robust against overflowing buffers if length is known
2013-11-05 12:31:20 -08:00
ZappoMan
581e0adecf
Merge branch 'master' of https://github.com/worklist/hifi into new_voxel_scene_stats
...
Conflicts:
interface/src/Application.cpp
2013-11-05 10:45:30 -08:00
ZappoMan
09dab892d3
first cut at new voxel scene stats
2013-11-05 10:29:56 -08:00
ZappoMan
c18de72dd4
work on debugging stutter behavior, mostly debugging and cleanup
2013-11-03 19:06:06 -08:00
Stephen Birarda
5b505bcc95
just use default to catch unknown Qt message types
2013-10-31 14:16:30 -07:00
Stephen Birarda
bfe7c82232
add default and QtTraceMsg to switch to avoid warnings
2013-10-31 14:10:08 -07:00
ZappoMan
3a6f8ea66b
Merge branch 'master' of https://github.com/worklist/hifi into lod_slider
2013-10-30 12:04:52 -07:00
ZappoMan
fbc3a4d2c1
first cut at user adjustable LOD
2013-10-29 16:16:58 -07:00
Stephen Birarda
03b23b504f
reference global with colon
2013-10-29 16:05:23 -07:00
Stephen Birarda
66b27fa607
have silent node removal flag reset on join
2013-10-29 15:59:09 -07:00
Stephen Birarda
6e9ee93ed6
add debug for sleep amount to AvatarMixer
2013-10-29 15:28:10 -07:00
Stephen Birarda
08a368a9fd
add debug to catch AvatarMixer ghosting
2013-10-29 15:21:55 -07:00
Stephen Birarda
3df07d344f
have assignment client pay attention to jurisdictions
2013-10-25 11:39:21 -07:00
Stephen Birarda
8aad3e146f
avoid a divide by zero in PacketSender
2013-10-25 10:49:35 -07:00
Stephen Birarda
67050f5cd2
fix Assignment ctor from data to properly parse payload
2013-10-25 10:34:58 -07:00
Stephen Birarda
9dbbf8c65c
don't alloc memory for checkInPacket, make it stack to function
2013-10-25 09:22:23 -07:00
ZappoMan
9492c3de18
various memory leaks and compiler warning fixes
2013-10-25 00:05:52 -07:00
ZappoMan
015adeedcb
first cut at splitting out PACKET_TYPE_VOXEL_QUERY from PACKET_TYPE_HEAD_DATA
2013-10-24 13:22:31 -07:00
Stephen Birarda
d85ed014ba
switch to bootstrap 3, complete initial index page
2013-10-23 14:43:59 -07:00
Stephen Birarda
1eba133a6d
use char array of static length for pool
2013-10-22 13:35:26 -07:00
Stephen Birarda
b4a2214d26
add notion of pool back to assignment
2013-10-22 11:43:06 -07:00
Philip Rosedale
cab9e7f658
Merge pull request #1094 from birarda/assignment
...
allow multiple buffers to be hooked to an individual node
2013-10-21 20:29:10 -07:00
ZappoMan
1b302f60f8
Merge branch 'master' of https://github.com/worklist/hifi into keep_local_voxels
2013-10-21 16:03:53 -07:00
ZappoMan
2f423e66eb
fixed long line
2013-10-21 14:43:55 -07:00
Stephen Birarda
1b129a43b5
initial changes to allow for multiple buffers per client
2013-10-21 14:27:55 -07:00
Stephen Birarda
0dd16cfc1e
debug a STUN reponse that only changes port
2013-10-18 15:27:35 -07:00
Stephen Birarda
32680bbaad
continued STUN requests for keepalive, propagate socket changes
2013-10-18 15:05:16 -07:00
Stephen Birarda
d85c0bb88a
add a DELETE method to civetweb to delete assignment by UUID
2013-10-18 10:25:35 -07:00
Stephen Birarda
11a05481e1
remove an infamous birarda extra g
2013-10-17 17:54:52 -07:00
Stephen Birarda
ded7735572
remove crazy debug from testing
2013-10-17 17:54:25 -07:00
Stephen Birarda
a4798acb22
bring ping interval back to 1 second
2013-10-17 17:35:24 -07:00
Stephen Birarda
b25487cda3
increase the ping interval
2013-10-17 17:33:34 -07:00
Stephen Birarda
65e0670eba
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-10-17 17:25:21 -07:00
Stephen Birarda
19e6f668d2
add debug to test hole punching
2013-10-17 17:25:14 -07:00
Stephen Birarda
bd806241fd
don't attempt to send in UDPSocket with NULL destAddress
2013-10-17 17:01:15 -07:00
Stephen Birarda
b4ef3dbd8a
add ping/reply to assignment-client servers
2013-10-17 16:56:52 -07:00
Stephen Birarda
75d8934961
fix pinging of agents in broadcast to nodes
2013-10-17 16:46:49 -07:00
Stephen Birarda
87d6c0085f
add a fallback if STUN to outside server isn't possible
2013-10-17 15:11:02 -07:00
Stephen Birarda
4bbb59be72
fix use of htonl in constant outside function
2013-10-17 14:45:38 -07:00
Stephen Birarda
73d3ecccf3
resolve conflicts on merge with upstream master
2013-10-17 14:37:58 -07:00
Stephen Birarda
8f1135feb7
more repairs to Agent and AvatarData for UUID transition
2013-10-17 14:35:42 -07:00
Stephen Birarda
74e66dfd35
push various PACKET_TYPES, repairs to Agent for UUID setup
2013-10-17 13:35:53 -07:00
ZappoMan
d566026026
Merge branch 'master' of https://github.com/worklist/hifi into voxelnode_memory_savings
2013-10-17 12:31:31 -07:00
ZappoMan
fbf1a75d07
cleanup dead code
2013-10-17 12:24:53 -07:00
Stephen Birarda
fa146e302d
remove 16-bit node IDs and replace with UUIDs
2013-10-17 11:49:41 -07:00
Stephen Birarda
012fccc72e
send ping to AvM and VS for socket activation
2013-10-16 18:01:15 -07:00
Stephen Birarda
7de88898e1
activate appropriate socket after receiving ping reply
2013-10-16 17:51:32 -07:00
Stephen Birarda
849e5817ec
remove a couple of spaces
2013-10-16 17:27:16 -07:00
Stephen Birarda
330e78920a
use Qt to query interfaces for correct local address
2013-10-16 17:06:39 -07:00
Stephen Birarda
e40ab5d13f
add debug of Node's local address
2013-10-16 16:52:05 -07:00
Stephen Birarda
224b0d9671
domain server accepts custom public address from node
2013-10-16 16:27:13 -07:00
Stephen Birarda
f581d4d976
handle STUN request and response in NodeList
2013-10-16 16:01:23 -07:00
ZappoMan
1e5ce8a7e5
first cut at really getting _children UNION to work
2013-10-16 12:54:37 -07:00
ZappoMan
afcf6dd3e0
type squish
2013-10-15 18:28:56 -07:00
Stephen Birarda
1ed2b3d8fe
add both fulfilled and queued assignments to DS json
2013-10-15 15:38:43 -07:00
ZappoMan
6fff53a2dc
next round of voxelnode size improvements
2013-10-15 14:43:51 -07:00
ZappoMan
c9b0edf345
first cut at reducing memory footprint of AABox
2013-10-15 11:29:04 -07:00
Stephen Birarda
5ca805693c
reset nodeTypesOfInterest on NodeList reset
2013-10-11 17:48:54 -07:00
Stephen Birarda
0eae0f129c
allow audio injection from javascript
2013-10-11 17:37:48 -07:00
Stephen Birarda
515e2d5a23
handle conflicts on merge with upstream master
2013-10-11 14:24:05 -07:00
Stephen Birarda
8be527f85d
remove sleep time debug
2013-10-11 11:15:10 -07:00
Stephen Birarda
13ac5472ea
fix an idiotic bug with silent node kill thread
2013-10-11 10:23:59 -07:00
Stephen Birarda
60095bcbca
add debug on NodeList clear
2013-10-11 10:08:28 -07:00
Philip Rosedale
53e2486d4d
Merge pull request #1045 from birarda/data-server
...
fix bug with constant avatar kill/adds
2013-10-10 18:05:23 -07:00
Stephen Birarda
7d68c79fd8
fix bug with constant avatar kill adds
2013-10-10 17:40:01 -07:00
Stephen Birarda
aa0a97b959
use deleteLater to ensure that AvatarVoxelSystem delete is on correct thread
2013-10-10 16:23:22 -07:00
Philip Rosedale
3a92856386
Merge pull request #1029 from birarda/nameserver
...
initial revision of storing user data in data-server
2013-10-09 11:36:36 -07:00
Stephen Birarda
36a57e2a98
remove more debugging in NodeList
2013-10-09 10:42:33 -07:00
Stephen Birarda
7d69c6f211
remove extraneous debugging in NodeList
2013-10-09 10:41:33 -07:00
Stephen Birarda
6fe0b0b124
don’t have AvatarMixer ask DS for agents
2013-10-09 10:40:19 -07:00
Stephen Birarda
6bd71da84e
pack the UUID with the avatar data
2013-10-08 13:31:39 -07:00
Stephen Birarda
892614470e
Merge branch 'master' of github.com:worklist/hifi into nameserver
2013-10-08 11:19:32 -07:00
Stephen Birarda
40dd698293
don’t have AvatarMixer ask DS for agents
2013-10-08 11:07:46 -07:00
Stephen Birarda
76cecb43cf
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-10-08 09:59:52 -07:00
ZappoMan
8baa863242
fixed PPS bugs in threaded version of PacketSender class
2013-10-07 17:34:41 -07:00
Stephen Birarda
5a7d21f529
add UUID helper class to get UUID string without braces
2013-10-07 10:56:23 -07:00
Stephen Birarda
13232a4c0b
stubbing of mechanism to confirm packets sent to data server
2013-10-07 10:45:54 -07:00
Stephen Birarda
4cc9f29c83
initial stub of data server client code in Interface
2013-10-07 09:55:08 -07:00
ZappoMan
5f6fb3a3ae
added some timing debugging
2013-10-05 00:55:34 -07:00
Stephen Birarda
f8bb2661c8
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-10-04 13:30:27 -07:00
Stephen Birarda
e977d28fe3
replace QVariantMap glm::vec3 setters with conversions for QScriptValue
2013-10-03 11:55:30 -07:00
ZappoMan
84862310d1
fix sendVoxelEditMessage() to honor jurisdictions, cleanup some threading/nonthreading behavior in PacketSender
2013-10-03 10:25:00 -07:00
ZappoMan
9d231a50b6
implement support for process interval hints and handling sending only some packets per call to process in non-threaded mode
2013-10-02 20:39:58 -07:00
ZappoMan
f94f535254
make sure sleep is never too long
2013-10-02 17:00:46 -07:00
ZappoMan
90c64ab25c
more work on handleing pending packets in VoxelEditPacketSender
2013-10-02 16:33:06 -07:00
ZappoMan
cc0009976b
first cut and handling buffering of edit packets when voxel servers are unknown
2013-10-02 15:02:23 -07:00
Stephen Birarda
fb27e37607
have AC making create request use its own UUID
2013-09-30 14:09:46 -07:00
Stephen Birarda
32314ad540
have VS send UUID with check in for static assignment behavior
2013-09-30 13:34:22 -07:00
Stephen Birarda
38873c0693
some assignment debug cleanup
2013-09-30 13:26:31 -07:00
Stephen Birarda
0e5c5886b6
touchups to DS with static assignment file
2013-09-30 13:11:46 -07:00
Stephen Birarda
a8d55644e9
Assignment as LinkedData, add back to queue on node death
2013-09-30 11:04:42 -07:00
Stephen Birarda
ef1ff01188
resolve conflicts on merge with upstream/master
2013-09-30 10:12:54 -07:00
stojce
a0f23d409e
Merging changes
2013-09-28 13:16:50 +02:00
stojce
bac228bdb8
Merge branch 'master' of https://github.com/worklist/hifi
2013-09-28 12:47:47 +02:00
Stephen Birarda
db1dacbbf4
some refactoring for DS, add create assignments to file
2013-09-26 15:56:41 -07:00
Andrzej Kapolka
91999dfe1f
Pupil dilation.
2013-09-26 15:48:11 -07:00
Stephen Birarda
70c5d3e349
decouple DS from main, move to C++11
2013-09-26 15:03:43 -07:00
Stephen Birarda
bed4819313
inital setup for static assignment mapped file
2013-09-24 14:41:26 -07:00
Stephen Birarda
e774419f8d
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-09-20 17:39:03 -07:00
Stephen Birarda
6533d7fcde
add method to packet sender to flush queue without sleep
2013-09-20 14:40:09 -07:00
Andrzej Kapolka
5c841616dc
Merge branch 'master' of https://github.com/worklist/hifi into blendface
2013-09-19 16:37:26 -07:00
Andrzej Kapolka
a04ced633e
Include the face model URL in the same packet as the avatar voxel URL.
2013-09-19 16:35:25 -07:00
Andrzej Kapolka
09fa782c61
More work on FBX reading.
2013-09-19 15:05:17 -07:00
Stephen Birarda
23e7278be5
re-use the check in packet sent to the domain-server, allow reset
2013-09-19 12:58:48 -07:00
Stephen Birarda
92c106a6bb
refresh the UUID when sending out new AM assignments
2013-09-19 12:30:40 -07:00
Stephen Birarda
de276eff00
temporary removal of DS packet optimization for NodeList dynamism
2013-09-18 17:56:45 -07:00
Stephen Birarda
3b976500ce
stylistic and memory management fixes
2013-09-18 17:55:13 -07:00
Stephen Birarda
7b498edcbc
remove attached public and local sockets, fully allow custom port
2013-09-18 17:03:14 -07:00
Stephen Birarda
b4f9e393a4
prefer IPv4 address when looking up for domain IP
2013-09-18 15:05:23 -07:00
Stephen Birarda
a9efa169be
fix ordering of QHostAdress to s_addr
2013-09-18 14:58:44 -07:00
Stephen Birarda
b0421cb9d3
Merge pull request #953 from ZappoMan/multi_VS_assigments
...
Handle --voxelServerConfig properly
2013-09-18 14:20:12 -07:00
ZappoMan
a81d5cd9a7
Merge pull request #954 from birarda/ds-port
...
allow setting of custom DS port from DS and clients
2013-09-18 14:07:11 -07:00
Stephen Birarda
9fa695b71c
allow setting of custom port via domainHostname setting
2013-09-18 13:50:14 -07:00
Stephen Birarda
ab85c4109d
use QHostInfo and QHostAddress for DS changes in NodeList
2013-09-18 13:29:53 -07:00
ZappoMan
b3bcda2227
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-18 13:20:17 -07:00
Stephen Birarda
8c9a14cdbe
CR fix to change back to setPayload with const param
2013-09-18 13:09:07 -07:00
Stephen Birarda
7220643fe9
default AC to point to DS on localhost and default port
2013-09-18 12:04:09 -07:00
Stephen Birarda
3fde2887a3
fixes to payload in Assignment
2013-09-18 10:19:45 -07:00
ZappoMan
06f739a623
pass voxelServerConfig from domain-server through Assignment _payload to VoxelServer
2013-09-18 07:23:37 -07:00
ZappoMan
4a821d0874
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 17:35:13 -07:00
Stephen Birarda
001432ec55
have domain-server reject audio and avatar mixers with bad UUID
2013-09-17 16:40:30 -07:00
ZappoMan
49c4075277
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 16:00:32 -07:00
Stephen Birarda
17a210813b
repairs to subclasses of assignment
2013-09-17 15:20:34 -07:00
Stephen Birarda
d830351ed6
make the assignment targets subclasses of Assignment for access to UUID
2013-09-17 14:54:58 -07:00
ZappoMan
25d9281496
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 13:41:44 -07:00
ZappoMan
386250cff8
remove hacked payloads
2013-09-17 13:41:04 -07:00
Stephen Birarda
fb7927d326
cleanup check for attached socket
2013-09-17 13:28:19 -07:00
Stephen Birarda
3f2dc7a28d
add a getter for the number of bytes in the payload
2013-09-17 13:27:17 -07:00
Stephen Birarda
94f04a9806
add API to attach payloads to assignments
2013-09-17 13:24:25 -07:00
ZappoMan
4932c3266f
moving to Assignment payload style implementation
2013-09-17 13:22:09 -07:00
Stephen Birarda
74a0b8a7b5
resolve conflicts on merge with upstream master
2013-09-17 11:50:30 -07:00
Stephen Birarda
76df707e31
add the ability to ask for multiple instances from JS page
2013-09-17 11:48:08 -07:00
Stephen Birarda
0e19d9a53a
add handling for number of instances to domain-server
2013-09-17 11:19:13 -07:00
ZappoMan
92fb393e14
allow standalone voxel-server to specify port and domain, add VoxelServerType to assignment-client
2013-09-16 19:34:07 -07:00
atlante45
c2502d03db
Merge branch 'master' of https://github.com/worklist/hifi into add_fs_data_in_head_data
2013-09-13 13:25:41 -07:00
atlante45
7ae1f649c9
changed packet format
2013-09-13 11:17:55 -07:00
Stephen Birarda
d089991237
add handling of Agent assignments to Assignment, DS, AC
2013-09-13 11:14:00 -07:00
Stephen Birarda
8d7b4ab321
add debugging for assignment send and remove a useless cast
2013-09-12 17:37:37 -07:00
Stephen Birarda
49b72370be
fix UUID getter to match the private variable
2013-09-12 17:08:06 -07:00
Stephen Birarda
f878b17798
fix DS reply to node on same box to remove check in AC
2013-09-12 17:03:05 -07:00
Stephen Birarda
2578516940
talk to AC on loopback when on same node
2013-09-12 16:47:06 -07:00
Stephen Birarda
25cd800ab4
create a UUID with assignments, store JS for script
2013-09-12 16:18:53 -07:00
Stephen Birarda
dfede2b947
rename direction to command for assignment
2013-09-11 14:43:37 -07:00
Stephen Birarda
b7aa49cf97
have DS act as AS and hand assignments directly
2013-09-11 12:16:47 -07:00
stojce
a362fdc2ed
name the current domain server
2013-09-10 21:51:50 +02:00
Stephen Birarda
fb8c9dbfea
fix spacing in Assignment
2013-09-10 09:58:42 -07:00
Stephen Birarda
fa521a5dc9
handle case where AC is on same network as DS but not AS
2013-09-09 18:15:33 -07:00
Stephen Birarda
e53807ca82
store an attached local and public socket with assignment
2013-09-09 17:29:33 -07:00
Stephen Birarda
97803b827e
pack destination socket for assignment as tightly as possible
2013-09-09 16:45:44 -07:00
Stephen Birarda
1c792cf46a
some newline additions for logging in NodeList
2013-09-09 15:35:28 -07:00
Stephen Birarda
bbc051a764
add doxygen comments to refactored Logging class
2013-09-09 15:27:27 -07:00
Stephen Birarda
613334074f
leverage qDebug and custom message handler for verbose logging
2013-09-09 15:11:11 -07:00
Stephen Birarda
b0c9dfeddc
more leveraging of standardized logging
2013-09-09 14:47:15 -07:00
Stephen Birarda
fe8fabee38
add a static method to the Logging class to change target name
2013-09-09 14:31:27 -07:00
Stephen Birarda
8077963bb1
add standardized logging and leverage forked assignment clients
2013-09-09 14:21:33 -07:00
Stephen Birarda
4905032090
allow forking of multiple assignment-clients from the main target
2013-09-09 09:44:43 -07:00
Stephen Birarda
cbf8a2c202
use create time already being stored with assignment to decide on re-send
2013-09-06 16:03:54 -07:00
Stephen Birarda
65ef778efd
allow passing of custom assignment-server to DS and AC
2013-09-06 15:31:21 -07:00
Stephen Birarda
3b78678a76
cleanup pool grabbing for DS and AC
2013-09-06 15:21:55 -07:00
Stephen Birarda
f18a40dc89
correct timing for assignment-client check in
2013-09-06 15:12:53 -07:00
Stephen Birarda
9eef894e24
add doxygen documentation for Assignment classes
2013-09-06 14:35:59 -07:00
Stephen Birarda
0262184c12
put back DS port numbers, remove magic IPv numbers
2013-09-06 11:29:04 -07:00
Stephen Birarda
d412e0611d
Merge branch 'master' of github.com:worklist/hifi into assignment
2013-09-06 11:04:18 -07:00
Stephen Birarda
eb84bdbeed
switch back to the proper assignment server
2013-09-06 11:02:36 -07:00
Stephen Birarda
d8611e408e
clear stale assignments from queue, fix CPU usage in client
2013-09-06 10:59:20 -07:00
Stephen Birarda
f7b0158cfe
use deque of pointers, make sure DS silent count is refreshed
2013-09-06 10:26:29 -07:00
Stephen Birarda
9244ec1c25
have client keep track of number of silent DS checkins
2013-09-06 09:41:27 -07:00
Stephen Birarda
67299b0eea
fix some memory management stupidity for Assignments
2013-09-05 17:54:37 -07:00
Stephen Birarda
54b50e0e76
add a destructor for Assignment
2013-09-05 17:42:57 -07:00
Stephen Birarda
21562abfb1
don't add a second instance of a solo node
2013-09-05 17:29:14 -07:00
Stephen Birarda
8b601cac0a
moved the AvatarMixer to a class the assignment-client can handle
2013-09-05 14:01:05 -07:00
Stephen Birarda
9dc3ddc84a
a temporary hack to make sure the domain-server address is IPv4
2013-09-05 13:46:57 -07:00
Andrzej Kapolka
4961913fc4
Transmit the eye offset position along with the rest of the frustum
...
parameters.
2013-09-05 12:20:15 -07:00
Stephen Birarda
d5e807ca8e
change the default domain server port for ec2 assignment client
2013-09-05 12:13:15 -07:00
Stephen Birarda
bd409abd1f
switch assignment server back to ec2
2013-09-05 10:46:20 -07:00
Stephen Birarda
2846d170f7
change default NodeList port to 0 for ephemeral
2013-09-04 16:16:03 -07:00
Stephen Birarda
2c32a1a048
correct handling of IPv6, fix offsets for packet reading
2013-09-04 15:21:20 -07:00
atlante45
5da525fc3e
memory wastes and code cleaning PR comments
2013-09-04 15:12:24 -07:00
Stephen Birarda
6e736ff9ed
correct assignment packing when there is no pool
2013-09-04 13:14:41 -07:00
Stephen Birarda
fa7f183930
add a domain socket to assignments
2013-09-04 13:00:23 -07:00
Stephen Birarda
36c2f42b5c
correct copying of assignment pool across targets
2013-09-04 11:50:39 -07:00
Stephen Birarda
ebc7de3a90
add methods for packing and unpacking of Assignments
2013-09-04 11:37:11 -07:00
Stephen Birarda
29e5eda358
add notion of pool and direction to Assignment class
2013-09-04 10:43:16 -07:00
atlante45
b03482ead5
Some more memory leaks and codes formatting
2013-09-03 17:16:06 -07:00
atlante45
688bc17954
Fixed avatar related files memory wastes
2013-09-03 13:37:25 -07:00
Stephen Birarda
232f79489d
decouple AM logic from main.cpp to be assignable
2013-08-22 13:12:53 -07:00
Stephen Birarda
97bee1eb82
add a stubbed assignment client to request assignments
2013-08-22 12:30:11 -07:00
Stephen Birarda
ef7e7ae4c5
store senderSocket with assignment to be passed to requestor
2013-08-22 12:08:49 -07:00
Stephen Birarda
2804d286d5
send correctly sized packet for assignment
2013-08-22 11:52:59 -07:00
Stephen Birarda
f52c1c909b
send assignment from domain server for audio mixer if it isn't present
2013-08-22 11:38:57 -07:00
Stephen Birarda
f3e4196a81
add an assignment class and begin to hookup AS
2013-08-22 11:21:55 -07:00
ZappoMan
da6bd2e3b0
cleanup, handle no JurisdictionMap case in JurisidictionSender
2013-08-20 11:22:51 -07:00
ZappoMan
436f70ab5d
removed dead code
2013-08-20 11:12:22 -07:00
ZappoMan
0f7ea55e82
make animation-server work with jurisdictions
2013-08-20 11:08:20 -07:00
ZappoMan
5e7e6fc9d7
First cut at JurisdictionListener and PACKET_TYPE_VOXEL_JURISDICTION_REQUEST
2013-08-19 20:15:46 -07:00
ZappoMan
2be85d439b
Merge branch 'master' of https://github.com/worklist/hifi into animation_server_jurisdictions
...
Conflicts:
interface/src/Application.cpp
interface/src/VoxelPacketProcessor.cpp
libraries/voxels/src/VoxelEditPacketSender.cpp
2013-08-19 11:13:38 -07:00
ZappoMan
e64664c0d1
first cut at JurisdictionSender and related changes
2013-08-19 11:05:29 -07:00
ZappoMan
209c9f93ed
remove Application dependency from VoxelEditPacketSender class
2013-08-15 14:21:21 -07:00
ZappoMan
04440d30d8
Merge branch 'master' of https://github.com/worklist/hifi into animation_server_jurisdictions
...
Conflicts:
libraries/voxels/src/JurisdictionMap.h
2013-08-15 12:27:00 -07:00
Stephen Birarda
443203201e
Merge remote-tracking branch 'upstream/master' into menu
2013-08-15 12:22:37 -07:00
ZappoMan
74100ad043
make threads sleep
2013-08-15 12:01:50 -07:00
ZappoMan
8b867df762
style fix
2013-08-15 10:47:59 -07:00
ZappoMan
c157aad775
starting to add PACKET_TYPE_VOXEL_JURISDICTION
2013-08-15 10:44:43 -07:00
ZappoMan
ced61e94d8
added more doxygen comments
2013-08-15 08:48:21 -07:00
ZappoMan
beec5f60d8
renamed class to be more appropriate, added doxygen comments
2013-08-15 08:36:06 -07:00
Stephen Birarda
c7b784aa1f
signed UNKNOWN_NODE_ID should be 0
2013-08-14 15:31:23 -07:00
ZappoMan
266d57264b
fix build buster
2013-08-14 14:57:23 -07:00
ZappoMan
1730f7f2f6
fix build buster
2013-08-14 14:48:16 -07:00
ZappoMan
18e5d49d75
move move constructors and assignments into IFDEFS for now to fix build buster
2013-08-14 14:46:40 -07:00
ZappoMan
21f521f3a5
fix build buster
2013-08-14 14:33:47 -07:00
ZappoMan
02f2de6101
properly send full jurisdiction details in scene stats
2013-08-13 13:43:46 -07:00
ZappoMan
d3ce3e4e60
some cleanup and fixing of memory issue
2013-08-13 11:37:57 -07:00
ZappoMan
60dedee739
make JurisdictionMap handle copy/move/assigment so that it will work in std::vector<> and std::map<>, switch application to have map of JurisdictionMap objects instead of just root codes
2013-08-13 11:08:43 -07:00
ZappoMan
7d2c69f530
latest work on threaded sending
2013-08-12 16:55:58 -07:00
ZappoMan
ce0c868c89
cleanup naming
2013-08-12 13:40:21 -07:00
ZappoMan
e7b3d41c33
make PacketReceiver derive from GenericThread
2013-08-12 12:04:05 -07:00
ZappoMan
70344cdaf2
move voxel receiving into class
2013-08-12 11:46:57 -07:00
ZappoMan
b5e2bc2093
implement threaded voxel processing
2013-08-10 11:35:59 -07:00
ZappoMan
7e5f03a36f
Merge pull request #832 from birarda/assignee
...
tweaks to assignment server and AvatarData for assignment to iOS
2013-08-08 12:13:07 -07:00
Stephen Birarda
2a21ce7945
socket changes to send correct port to pairing server
2013-08-07 16:40:28 -07:00
ZappoMan
9e182bbdc2
removed debug
2013-08-07 11:59:48 -07:00
Stephen Birarda
955b7f0d24
Merge branch 'master' of github.com:worklist/hifi into assignee
2013-08-07 10:26:26 -07:00
ZappoMan
24ec0b0ddc
fixed packet header bug in createVoxelEditMessage()
2013-08-06 19:15:05 -07:00
ZappoMan
23461c2e95
fixed crash
2013-08-06 16:26:48 -07:00
ZappoMan
6cf87fc120
Merge branch 'master' of https://github.com/worklist/hifi into multiple_voxel_servers
...
Conflicts:
interface/src/Application.cpp
2013-08-06 13:49:42 -07:00
ZappoMan
88e2e3dd3f
added visulization for voxel add/kill
2013-08-06 12:05:43 -07:00
atlante45
32c155ef71
Render a string to show who is following who
2013-08-06 10:53:10 -07:00
ZappoMan
73510ec975
added notifications with jurisdiction details for when voxel servers come and go
2013-08-06 10:33:09 -07:00
Stephen Birarda
51f978196b
add back node type unassigned, fix sending of script URL
2013-08-05 17:21:06 -07:00
ZappoMan
01ba5ee81a
adding jurisdiction to scene stats to implement add/drop effect, added command line to voxel server to not send environments
2013-08-05 16:30:08 -07:00
ZappoMan
f1a0edb471
Merge branch 'master' of https://github.com/worklist/hifi into multiple_voxel_servers
2013-08-05 14:57:10 -07:00
Jeffrey Ventrella
96b443ec5d
Merge pull request #781 from machinelevel/dev4
...
Rave glove demo: Network rave data
2013-08-05 14:07:57 -07:00
ZappoMan
14b7f58fef
Kills local voxels if voxel server is removed from NodeList
...
- added notification hooks to NodeList
- implemented hooks in VoxelSystem to kill local voxels when
voxel server is killed
2013-08-05 13:47:18 -07:00
Eric Johnston
a3a5c3d6d4
Rave glove demo: Network rave data
...
Sending glove modes over the network, and fixed ghost-fingers-left-behind issue.
Issues addressed:
https://basecamp.com/2151194/projects/2058851-avatar/todos/54607028-bug-phantom-leap
https://basecamp.com/2151194/projects/2058851-avatar/todos/54633674-demo-make
2013-08-05 13:25:05 -07:00
Stephen Birarda
45d84add05
cleanup from code review comments
2013-08-05 10:37:23 -07:00
Stephen Birarda
8f876b91ae
changes for stub pull request of assignee work
2013-08-05 10:06:50 -07:00
Stephen Birarda
a4ea0f035a
resolve conflicts on merge with upstream master
2013-08-05 09:56:07 -07:00
ZappoMan
558fca7936
latest jurisdiction work
2013-08-02 11:12:33 -07:00
ZappoMan
983db5f70d
Merge branch 'master' of https://github.com/worklist/hifi into multiple_voxel_servers
2013-08-01 20:50:24 -07:00
Stephen Birarda
2b0cfe3c67
resolve conflicts on merge with upstream master
2013-08-01 14:33:23 -07:00
Stephen Birarda
2fde29e04a
use a 0 public address to designate server local to DS
2013-08-01 11:53:18 -07:00
Stephen Birarda
9e63b78a69
Merge branch 'master' of github.com:worklist/hifi into qt5
2013-07-31 11:35:24 -07:00
Andrzej Kapolka
c787781efb
Send color and depth as separate streams (rather than one on top of the other)
...
so that we can control their bitrates separately.
2013-07-30 15:11:32 -07:00
ZappoMan
95e6fb16d0
cleanup
2013-07-29 16:17:57 -07:00
ZappoMan
69bae24d82
Merge branch 'master' of https://github.com/worklist/hifi into multiple_voxel_servers
2013-07-29 16:16:04 -07:00
Andrzej Kapolka
4ae4623315
These casts should fix the warnings on OS X.
2013-07-29 16:12:11 -07:00
ZappoMan
c5ab321bd9
Merge branch 'master' of https://github.com/worklist/hifi into multiple_voxel_servers
2013-07-29 15:54:52 -07:00
ZappoMan
86bf268eef
first cut at multiple voxel servers
2013-07-29 14:56:33 -07:00
Andrzej Kapolka
20360ad3e9
Make particle system update/render toggleable, fix GCC compile warnings.
2013-07-29 10:41:45 -07:00
Stephen Birarda
08b94d731f
merge branch qt5 with upstream/master
2013-07-25 10:23:22 -07:00
Stephen Birarda
890d2e40ec
more fleshing out of Agent class to interpret javascript
2013-07-24 16:58:44 -07:00
Stephen Birarda
f8e7e1de66
modifications to hook shared classes to iOS
2013-07-24 13:05:02 -07:00
Stephen Birarda
7134d13001
tweaks for iOS compatibility
2013-07-24 12:34:32 -07:00
Stephen Birarda
055c644736
Merge branch 'qt5' into assignee
2013-07-24 12:23:08 -07:00
Stephen Birarda
5708188180
fixes for new message handler for qt5
2013-07-24 12:22:02 -07:00
Stephen Birarda
67912cc325
merge with birarda/qt5 and resolve conflicts
2013-07-24 12:14:31 -07:00
Stephen Birarda
9f2b2d09a9
changes to CMakeLists for Qt5
2013-07-24 11:29:12 -07:00
Stephen Birarda
da0049933b
rename Operative to Agent
2013-07-23 20:25:21 -07:00
ZappoMan
e7fb392f38
Merge branch 'master' of https://github.com/worklist/hifi into audio_select
2013-07-23 20:20:49 -07:00
Stephen Birarda
8d34c707a1
Merge branch 'master' of github.com:worklist/hifi into assignee
2013-07-22 14:04:09 -07:00
ZappoMan
c301b799c5
first cut at selecting audio sources
2013-07-22 13:54:47 -07:00
ZappoMan
dc19a1c5cf
Merge branch 'master' of mini:hifi
2013-07-21 16:25:14 -07:00
ZappoMan
76952a9d13
testing
2013-07-21 16:24:23 -07:00
ZappoMan
86ad0da09f
Merge branch 'master' of https://github.com/worklist/hifi into voxel_stats
2013-07-20 11:35:10 -07:00
Andrzej Kapolka
f70b4dcab2
Merge branch 'master' of https://github.com/worklist/hifi into pointy
2013-07-19 15:49:07 -07:00
ZappoMan
d9c8a59929
send voxel scene stats from server to client
2013-07-19 15:09:38 -07:00
Andrzej Kapolka
b5a8c2710c
Merge branch 'master' of https://github.com/worklist/hifi into pointy
...
Conflicts:
interface/src/Application.h
interface/src/Audio.h
interface/src/Webcam.cpp
2013-07-18 18:09:57 -07:00
Stephen Birarda
ef7dc4a39a
if the hostname field is left blank reset to DEFAULT_DOMAIN_HOSTNAME
2013-07-18 17:42:25 -07:00
Stephen Birarda
01e6891fd3
save custom domain server hostname to QSettings
2013-07-18 17:23:52 -07:00
Stephen Birarda
45d82dc97c
correct reference to new hostname for Qt temp variable changes
2013-07-18 15:20:05 -07:00
Stephen Birarda
67e5a6409e
don't not kill NODE_TYPE_VOXEL_SERVER in removeSilentNodes
2013-07-18 14:07:08 -07:00
Andrzej Kapolka
8863645dc9
Working on transmitting and receiving the face video.
2013-07-17 18:02:27 -07:00
Eric Johnston
8ebf5fbd6b
Rave & Leap: cleanup and move over to new hand/finger structures
2013-07-17 14:54:18 -07:00
Stephen Birarda
5c279777b6
Merge pull request #694 from ZappoMan/voxel_animation
...
Fixed issue of "delta sending" not sending changed/animated voxels
2013-07-16 17:31:16 -07:00
Stephen Birarda
fa155adc8c
register the shared message handler to fix voxel-server output
2013-07-16 15:50:37 -07:00
ZappoMan
fbc59de081
latest cut at dirty bit sending
2013-07-16 15:08:09 -07:00
Stephen Birarda
be32ffff77
merge branch assignee with upstream/master
2013-07-16 14:41:08 -07:00
Stephen Birarda
16d603e203
clean up extra new lines and LogDisplay line break
2013-07-16 12:53:43 -07:00
Stephen Birarda
1b48d4f0fc
revert removal of extraneous newlines
2013-07-16 12:46:32 -07:00
Stephen Birarda
51d1e6ae80
add a message handler to send messages over to LogDisplay
2013-07-16 11:50:40 -07:00
Stephen Birarda
89d3cfdb6f
remove now extraneous newlines after switch to QDebug
2013-07-16 11:16:51 -07:00
Stephen Birarda
afe49bc756
switch calls to printLog to QDebug
2013-07-16 11:07:22 -07:00
Stephen Birarda
6844490dbe
merge branch assignee with upstream/master
2013-07-16 09:17:39 -07:00
ZappoMan
01b7f3868b
Merge pull request #672 from birarda/domain-switch
...
add an option in preferences to dynamically switch domain servers
2013-07-15 17:10:18 -07:00
Stephen Birarda
c27cd7ae42
couple of type squishes in NodeList
2013-07-15 16:49:36 -07:00
Stephen Birarda
7f6009bb4a
make randIntInRange inclusive on the max side
2013-07-15 16:25:09 -07:00
Stephen Birarda
081a44dbff
only process new domain list if it comes from current DS
2013-07-15 16:05:23 -07:00
Stephen Birarda
6b83f95f9e
conditionally set a new hostname on preferences save
2013-07-15 15:46:04 -07:00
Stephen Birarda
e3d1e5db5d
correct reference to mutex to lock in Node
2013-07-15 15:45:27 -07:00
Stephen Birarda
94b6bfccf6
update the private mutex node variable to standard
2013-07-15 15:17:53 -07:00
Stephen Birarda
d389dc6e3a
add method to NodeList to set domain IP to local, move mutex lock to node
2013-07-15 15:17:10 -07:00
Stephen Birarda
12697c6b14
add method to clear the NodeList
2013-07-15 14:30:13 -07:00
Stephen Birarda
3fdbf41011
use limits instead of INT16_MAX for unix
2013-07-15 11:50:52 -07:00
Stephen Birarda
a851f32d3e
Merge branch 'master' of github.com:worklist/hifi into assignee
2013-07-15 09:39:22 -07:00
Stephen Birarda
28ce4f55c1
have the audio injector return intensity of last frame
2013-07-15 08:56:20 -07:00
atlante45
34cbe317fa
Merge branch 'master' of https://github.com/worklist/hifi into the_midget_are_coming
...
Conflicts:
interface/src/Avatar.cpp
interface/src/Webcam.cpp
2013-07-12 17:57:20 -07:00
atlante45
280afed7f0
added scale in avatar packets eand slots to change it from the menu
2013-07-12 17:51:47 -07:00
Stephen Birarda
0235993366
reset default packet version to 0
2013-07-12 16:00:44 -07:00
Stephen Birarda
3147ac3ac4
print packet version mismatch to Log
2013-07-12 15:54:12 -07:00
Stephen Birarda
33b6ca31b0
sent correct position for injected audio, first bird index is 1
2013-07-12 15:10:22 -07:00
Stephen Birarda
8f7379839d
set the position of the audio injector to match the current position of the bird
2013-07-12 14:52:16 -07:00
Stephen Birarda
2821112485
randomize bird noise injection
2013-07-12 14:47:47 -07:00
Stephen Birarda
9834c10610
movement to use AudioInjector classes in Operative code
2013-07-11 17:47:35 -07:00
Stephen Birarda
4ebc381e40
update dummy operative code for change to packet type
2013-07-11 14:43:41 -07:00
Stephen Birarda
d6601ad333
resolve conflicts on merge with upstream master
2013-07-11 14:33:50 -07:00
Stephen Birarda
4cf0b7ea66
switch back to statics for domain server check in, fix environment packets
2013-07-11 13:40:29 -07:00
Stephen Birarda
66a998e752
correct use of member variables for DS check in
2013-07-11 13:05:15 -07:00
Stephen Birarda
a0226b2548
avoid static variable thread issue by switching to member variables
2013-07-11 13:02:25 -07:00
Stephen Birarda
a1747725d3
sensible default for checkInPacketSize
2013-07-11 12:28:29 -07:00
Stephen Birarda
544f9c2e7a
type squish and magic number removal
2013-07-11 11:15:02 -07:00
Stephen Birarda
6804ab8a33
type squish in NodeList
2013-07-11 11:12:14 -07:00
Stephen Birarda
fcb8865d2e
resolve conflicts on merge with upstream master
2013-07-11 10:58:45 -07:00
Stephen Birarda
211204e878
Merge remote-tracking branch 'upstream/master' into timestamps
2013-07-11 09:23:16 -07:00
Stephen Birarda
cbf18160cb
include stdint for uint64_t in SimpleMovingAverage
2013-07-11 09:22:08 -07:00
ZappoMan
3d3eca9afa
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-10 17:45:04 -07:00
ZappoMan
4afda27ee0
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-10 16:28:51 -07:00
Philip Rosedale
dae79d8a55
Merge branch 'master' of https://github.com/worklist/hifi
2013-07-10 12:20:45 -07:00
Philip Rosedale
2e854b5ed7
Tune and smooth 'Touch Look' and always turned on, old mouseLook code removed. Add vec3 speed test. Smooth simulation by passing exact deltaTime to update()
2013-07-10 12:20:26 -07:00
Stephen Birarda
ca8f25955a
switch usec timestamps to uint64_t
2013-07-10 11:46:48 -07:00
Stephen Birarda
c5df53ed52
fix cast to 0 for long long in SimpleMovingAverage
2013-07-10 11:26:39 -07:00
Stephen Birarda
0d5fc6a2a4
make operative variables non-globals for start/stop of assignment
2013-07-10 11:24:05 -07:00
Stephen Birarda
8ed518c4a2
add a clear method to the NodeList to delete all nodes
2013-07-10 10:51:21 -07:00
Stephen Birarda
4773e70c15
rewrite Operative stubbed code to be able to be killed
2013-07-09 17:13:21 -07:00
Stephen Birarda
4e9bac4617
change usec timestamp returns to unsigned long long for 32 bit
2013-07-09 16:55:58 -07:00
Stephen Birarda
68357ab6f7
include correct quaternion header for AudioInjector and Operative
2013-07-09 11:57:54 -07:00
Stephen Birarda
7fa3052308
remove double glm includes
2013-07-08 17:48:46 -07:00
Stephen Birarda
26a2b4672b
change NODE_TYPE_ASSIGNEE to NODE_TYPE_UNASSIGNED
2013-07-08 17:21:39 -07:00
Stephen Birarda
ddc684be49
put back sendAssignmentRequest method removed in merge
2013-07-08 17:14:39 -07:00
Stephen Birarda
32b2c231e5
add a node type for assignees
2013-07-08 17:05:32 -07:00
Stephen Birarda
b5a47cddc0
have stubbed Operative check in with DS
2013-07-08 16:48:53 -07:00
Stephen Birarda
6a253f78d1
basic version of operative run to loop and fly the bird
2013-07-08 16:39:48 -07:00
Stephen Birarda
a6894db83a
resolve conflicts on merge with upstream/master
2013-07-08 16:22:27 -07:00
Stephen Birarda
aaaba9c42e
more packet version refactoring
2013-07-08 15:14:18 -07:00
Stephen Birarda
374fffb151
use packet version helpers for PACKET_TYPE_SET_VOXEL commands
2013-07-08 14:40:15 -07:00
Stephen Birarda
729074b502
use packet header byte methods in NodeList bulk processing
2013-07-08 13:58:20 -07:00
Stephen Birarda
6deaa5fd51
apply refactoring changes to PACKET_TYPE_PING
2013-07-08 13:55:35 -07:00
Stephen Birarda
e3d9289f1f
refactor packet version handling and apply to DS
2013-07-08 13:44:01 -07:00
Stephen Birarda
8a684244cc
packet versioning for HEAD_DATA packets
2013-07-08 12:53:07 -07:00
Stephen Birarda
5faad80e12
remove ping unknown thread, version for ping reply
2013-07-08 11:58:19 -07:00
Stephen Birarda
693463ae5b
voxel-server packet version handling
2013-07-08 11:54:00 -07:00
Stephen Birarda
5062ae8965
rename PACKET_HEADER to PACKET_TYPE, fix DS packet versioning
2013-07-08 11:37:39 -07:00
Stephen Birarda
047d5b5cab
add packet version handling for DS packets
2013-07-08 11:17:29 -07:00
Stephen Birarda
d112edab64
resolve conflicts on merge with upstream master
2013-07-08 11:07:42 -07:00
ZappoMan
c0d14d2bd4
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-03 15:36:41 -07:00
ZappoMan
c795a37be2
tweak perfstats to not display WARNING! when caller asked it to always print (non-warning case)
2013-07-03 10:55:33 -07:00
Stephen Birarda
36c6912de8
your agents are now nodes
2013-07-03 10:35:09 -07:00
ZappoMan
1e19748a1a
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-02 15:52:49 -07:00
Stephen Birarda
11e06dbed2
rename the stat type argument in Logstash
2013-07-02 15:04:22 -07:00
Stephen Birarda
f7f321663a
DRY up multiple stat type sending
2013-07-02 14:42:31 -07:00
Stephen Birarda
08c1d54cf3
send count of alive nodes to logstash from DS
2013-07-02 12:18:16 -07:00
Stephen Birarda
64f3b55aaa
split logstash stash methods to stat types
2013-07-02 12:10:46 -07:00
Stephen Birarda
2a4d9c98ee
add return of number of alive agents from AgentList
2013-07-02 10:34:57 -07:00
ZappoMan
015ff85cea
good progress on merging polygons
2013-07-01 21:39:56 -07:00
Stephen Birarda
1c142ecc30
add a stubbed Operative class
2013-07-01 15:57:35 -07:00
Stephen Birarda
eb8faa3667
add sendAssignmentRequest method to AgentList
2013-07-01 15:48:52 -07:00
tosh
f49e63f842
Merge branch 'master' of git://github.com/worklist/hifi into 19377
2013-07-02 00:06:10 +02:00
Stephen Birarda
b9c1525321
add the base of the assignment-server
2013-07-01 14:05:14 -07:00
Stephen Birarda
e59dbfd99b
add a setter to change AgentList owner type
2013-07-01 13:35:58 -07:00
Stephen Birarda
23b65a16dd
add the assignee agent type
2013-07-01 11:39:45 -07:00
Stephen Birarda
3c51f9cac7
type squishes in Agent socket match
2013-07-01 09:38:39 -07:00
tosh
c18400f8b7
Merge branch 'master' of git://github.com/worklist/hifi into 19377
2013-06-29 15:41:56 +02:00
Stephen Birarda
3349419c68
inital changes to add a version byte to packets
2013-06-28 16:23:35 -07:00
Mark Peng
a5c6cee433
Renamed getPingTime() to getPingMs() in Agent.h, etc.
2013-06-28 15:33:08 -07:00
Mark Peng
0aa3227228
Merge remote-tracking branch 'upstream/master'
2013-06-28 15:26:34 -07:00
Mark Peng
9313dbff52
ping reporter added to interface take 5
2013-06-28 15:17:21 -07:00
Mark Peng
a5dc47eaab
ping reporter added to interface take 4
2013-06-28 15:10:45 -07:00
Mark Peng
ee005f19d9
ping reporter added to interface take 2
2013-06-28 11:17:52 -07:00
Mark Peng
c5fe8b078e
ping reporter added to interface
2013-06-28 11:07:01 -07:00
tosh
7690ace2c3
Merge branch 'master' of git://github.com/worklist/hifi into 19377
...
Conflicts:
interface/src/Audio.cpp
2013-06-22 05:35:31 +02:00
tosh
290c20bfc7
introduces bandwidth meter / dialog
2013-06-22 04:22:10 +02:00
Stephen Birarda
a9f7d037d1
add a helper to the logstash class to stash a value
2013-06-20 15:33:54 -07:00
Stephen Birarda
4d330a33e6
add copyright to OctalCode header
2013-06-19 14:59:21 -07:00
Stephen Birarda
d9da29efad
add copyright to OctalCode implementation
2013-06-19 14:47:45 -07:00
Stephen Birarda
7be50ae712
add copyright to SimpleMovingAverage implementation
2013-06-19 11:40:22 -07:00
Stephen Birarda
0aa4e000fc
add copyright to SimpleMovingAverage header
2013-06-19 11:37:28 -07:00
Stephen Birarda
8fd6bc41aa
add copyright to PerfStat implementation file
2013-06-18 18:09:03 -07:00
Stephen Birarda
f0330e9f48
add copyright to stat header
2013-06-18 18:04:38 -07:00
Stephen Birarda
2344a8c18d
add copyright to SharedUtil.cpp
2013-06-18 17:56:43 -07:00