Roxanne Skelly
a991b6d619
BUGZ-1046 - send entity packets reliably for initial query
2019-07-31 16:59:21 -07:00
Andrew Meadows
b94655260d
don't traverse for fullUpdate on changed view
2019-02-14 14:54:10 -08:00
Simon Walton
0cec9a72d6
Implement client-side enable physics once indicated EntityData has arrived
...
Also now use Entity Server Protocol sequence numbers.
2018-07-26 18:10:38 -07:00
Simon Walton
2c06487df0
Move sending of completion packet up to EntityTreeSendThread
...
I hadn't appreciated the continuous nature of the scene
traversal. Looks good now. Also changed some identifier names.
2018-07-25 17:05:05 -07:00
Simon Walton
47e99cdeac
Initial code for AC side of Enabling Physics plan
...
When interface sets query flag send only entities
close to main frustrum origin, until no more available,
then send unreliabe sequence # reliably.
2018-07-24 16:50:37 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Clement
27c471ee97
Move all wire frustums to conical frustums
2018-05-03 18:19:29 -07:00
Clement
49fad3d868
EntityServer traversal aware of all ViewFrustums
2018-05-01 18:02:29 -07:00
Clement
a8d6a4e0b6
CR
2018-04-18 15:05:49 -07:00
Clement
2e8a6e1961
Remove more dead octree code
2018-04-17 18:21:51 -07:00
Atlante45
895023ca4b
Fix unprotected tree traversals
2018-04-04 14:54:21 -07:00
Atlante45
28f164d7e5
Remove legacy jurisdiction code
2017-12-29 12:46:52 -08:00
Stephen Birarda
557ee458ec
wait for node active socket before constructing packets
2017-11-14 17:08:01 -08:00
Stephen Birarda
05a38a78c5
don't send octree data without first query
2017-11-14 14:08:27 -08:00
Andrew Meadows
a56c076149
fix bad resolution during rebase
2017-09-29 11:34:35 -07:00
Andrew Meadows
624d0c12a2
minor cleanup
2017-09-29 11:34:35 -07:00
SamGondelman
cbd20f89dd
separate elementBag logic from EntityTreeSendThread
2017-09-29 11:34:35 -07:00
SamGondelman
7938e301e7
full scene traversal and json filters
2017-09-29 11:34:34 -07:00
Andrew Meadows
1562fb153e
cherrypick traverseTreeAndBuildNextPacketPayload()
2017-09-29 11:34:34 -07:00
Andrew Meadows
45f194f6bc
use SKIP_TIME again instead of 0.0
2017-08-23 14:05:05 -07:00
Andrew Meadows
8ad41227ce
use more correct method name
2017-08-18 13:35:13 -07:00
Andrew Meadows
65cf7b4f61
add OctreeSendThread::traverseAndBuildPacket()
...
cleanup and split data packing from bandwidth management
2017-08-18 11:32:05 -07:00
Andrew Meadows
1fe7718b9f
restore wasted byte count when unable to fit stats
2017-07-11 15:02:45 -07:00
Andrew Meadows
badbe98097
minor cleanup and constency for packet stats
2017-07-11 14:21:49 -07:00
Andrew Meadows
3226d33830
use cached OctreeSendThread::_nodeUuid
2017-07-11 14:02:16 -07:00
Andrew Meadows
15879b2832
+ OctreeSendThread::traverseTreeAndSendContents()
...
this abstracts a portion of OctreeSendThread::packetDistributor()
which will make it easier to split apart the tree traversal
from the sending of packets
also cleaned up some of the packet stats tracking
2017-07-11 13:53:08 -07:00
Andrew Meadows
9d111d1f92
remove unused OctreeSendThread::_nodeMissingCount
2017-07-11 13:42:35 -07:00
Andrew Meadows
a5cd11cea7
remove more crufty comments
2017-07-11 10:11:24 -07:00
Andrew Meadows
ca3f0ceecb
remove crufty comments
2017-07-11 10:02:18 -07:00
Andrew Meadows
076ae28bed
one less strand of spaghetti when counting packets
2017-07-11 09:52:39 -07:00
Andrew Meadows
b74aad32ed
minor cleanup in OctreeSendThread::packetDistributor()
2017-07-10 18:27:40 -07:00
Stephen Birarda
53e6a77fcc
cleanup EncodeBitstreamParams to use nodeData when possible
2017-03-24 13:41:36 -07:00
Stephen Birarda
9d336a84ab
force a full scene send for new ancestors/descendants
2017-02-16 16:46:09 -08:00
Stephen Birarda
a3883a746c
add the basic structure for inclusion of ancestors/descendants in ESS queries
2017-02-16 16:46:09 -08:00
Stephen Birarda
33378ede5c
force full scene send if json parameters changed
2017-01-24 16:34:57 -08:00
Stephen Birarda
a40c25ddbf
fix repeated send of matching entities
2017-01-19 16:42:14 -08:00
Stephen Birarda
746327dc11
whitespace cleanup in OST
2017-01-19 10:43:36 -08:00
Stephen Birarda
a86be14b8c
remove debug in OctreeSendThread
2017-01-18 17:49:54 -08:00
Stephen Birarda
5fbdc94c66
pass usesFrustum down to EntityTreeElement
2017-01-18 17:49:54 -08:00
Stephen Birarda
ed41412d95
fix for unpack of OctreeQuery
2017-01-18 17:49:54 -08:00
Stephen Birarda
112b119f17
send entities that just stopped matching filter
2017-01-18 14:58:36 -08:00
Stephen Birarda
3556379034
leverage JSON filter changes to OctreeQuery in EntityServer
2017-01-18 14:58:36 -08:00
Brad Hefta-Gaub
d7eee98acc
Merge pull request #7827 from AndrewMeadows/threadsafe-viewfrustum
...
resurrection of threadsafe ViewFrustum
2016-05-10 09:06:38 -07:00
Brad Hefta-Gaub
99d35c37db
switch OctreeSendThread to use std::this_thread::sleep_for() instead of usleep()
2016-05-06 10:42:07 -07:00
Andrew Meadows
71b2d647e8
add locks and explicitly copy ViewFrustums
2016-05-05 18:28:27 -07:00
Andrew Meadows
bcf2cc8074
use references not pointers for ViewFrustums
...
also unravelling some spaghetti:
(1) split Octree stuff out of ViewFrustum
(2) moved ViewFrustum from octree to shared lib
(3) removed some cruft
2016-05-05 18:28:27 -07:00
Brad Hefta-Gaub
8d4ef28411
CR feedback
2016-03-08 15:29:04 -08:00
Brad Hefta-Gaub
6d211dd4e5
first cut at fixing the scene not stable bug
2016-03-08 14:52:21 -08:00
Atlante45
51ec7ae2ed
Keep UUID of node in send thread
2015-12-16 14:27:26 -08:00
Atlante45
3cd1eea1dc
Use weak pointer to the Node instead of strong ownership
2015-12-16 14:27:26 -08:00