Stephen Birarda
a2b05d5f14
include stdlib for use of atoi
2013-03-25 16:43:31 -07:00
Stephen Birarda
3df93804d1
include cstring for memcpy in AgentList
2013-03-25 16:41:42 -07:00
Stephen Birarda
1e2876ce75
include stdint for use of uint16_t
2013-03-25 16:40:19 -07:00
Stephen Birarda
eb185f2ce8
remove command options methods from SharedUtil that crash Jenkins
2013-03-25 16:37:24 -07:00
Stephen Birarda
9eac649268
merge Leo's ID additions to DS
2013-03-25 16:27:25 -07:00
Stephen Birarda
507b6e0064
use abstracted DS check in method from AgentList
2013-03-25 16:24:14 -07:00
Stephen Birarda
c8190b95aa
remove un-needed AgentList include from VoxelSystem
2013-03-25 16:23:42 -07:00
Stephen Birarda
3ca5263582
abstract check in with DS to AgentList
2013-03-25 16:23:13 -07:00
Leonardo Murillo
61e41f1603
Merge pull request #15 from murillodigital/injector
...
Stream injector - including attenuation modifier byte in header
2013-03-25 16:01:55 -07:00
Leonardo Murillo
0917cafd4e
Using shared utils and changing modifier data type
2013-03-25 16:25:25 -06:00
Leonardo Murillo
957dde317f
Merge branch 'master' of github.com:/worklist/hifi into injector
2013-03-25 16:24:25 -06:00
Leonardo Murillo
88b899efb7
Merge pull request #14 from murillodigital/19179
...
Add unique id to agents and broadcast back
2013-03-25 15:19:37 -07:00
Leonardo Murillo
63589985f4
Removing unneeded memcpy
2013-03-25 16:12:51 -06:00
Leonardo Murillo
cb84b7573b
Getting rid of unused declaration
2013-03-25 15:56:22 -06:00
Leonardo Murillo
54a946ee80
Splitting line, adding agentId to copy constructor and swap
2013-03-25 15:54:08 -06:00
Leonardo Murillo
fc382997bd
Merge branch 'master' of github.com:/worklist/hifi into 19179
2013-03-25 15:13:39 -06:00
Stephen Birarda
896047d2aa
have the mixer additionally attenuate sources based on extra byte
2013-03-25 12:05:32 -07:00
ZappoMan
0711539fc6
Changed colors of spheres to be a gradient along phi between to random colors
...
this gives the spheres a little bit more natural look.
Also increased the level of detail (smaller voxels)
2013-03-24 13:00:23 -07:00
ZappoMan
ef8694dd60
1) Added createSphere() to VoxelSystem to create a sphere
...
2) Added pointToVoxel() to SharedUtils, this will give you a voxel code
given x,y,z,s,r,g,b
3) Added '.' keyboard interface to create a random sphere in the local
voxel system
2013-03-24 10:06:43 -07:00
ZappoMan
8ecc0d53ad
Added a utility to VoxelSystem for loading voxels from a local file
...
Also added a couple shared utility functions for reading command
line options (since that's how you can load a local file at this
point).
2013-03-23 21:59:27 -07:00
Leonardo Murillo
0ab62b7493
Stream injector
2013-03-22 20:42:56 -06:00
Stephen Birarda
c9e16994f4
fix printTreeForDebugging instead of addition of repairChildMasks
2013-03-22 18:26:05 -07:00
Stephen Birarda
f435a09673
add method to repair child masks after adding randomly placed voxels
2013-03-22 18:19:37 -07:00
Stephen Birarda
c641f12693
some refactoring in for readCodeColorBufferToTree
2013-03-22 17:59:54 -07:00
Leonardo Murillo
bd18aeefe4
Couple of quick changes
2013-03-22 17:39:07 -06:00
Stephen Birarda
c51b4e3311
add leavesWrittenToBitstream member variable to VoxelTree for debug
2013-03-22 16:21:45 -07:00
Stephen Birarda
c08b7acac5
print some metrics after voxel send to client
2013-03-22 16:20:27 -07:00
Leonardo Murillo
be96f1cdd0
No longer need exists
2013-03-22 16:58:52 -06:00
Leonardo Murillo
61c866a34c
Handling increase of id smarter
2013-03-22 16:57:30 -06:00
Stephen Birarda
c40800db8b
send back a 10 level voxel tree from server
2013-03-22 15:32:36 -07:00
Stephen Birarda
61f23a2d0f
add a new walk sound
2013-03-22 14:06:20 -07:00
Leonardo Murillo
ed7234d56a
Fixing index
2013-03-22 13:50:32 -06:00
Leonardo Murillo
e5b0843212
Resolving conflicts
2013-03-22 13:40:16 -06:00
Leonardo Murillo
dc92f0be42
More agent IDing around the code
2013-03-22 13:34:35 -06:00
Stephen Birarda
3518ee15a8
add readCodeColorBufferToTree method to VoxelTree for point cloud render
2013-03-22 12:32:57 -07:00
Stephen Birarda
6a39934cb1
capitals are important
2013-03-22 12:11:48 -07:00
Stephen Birarda
24d26a3a01
check for dead agents in VS so we can re-request from interface
2013-03-22 12:10:04 -07:00
Stephen Birarda
4474e5dfa8
include cstdio for sscanf
2013-03-22 12:06:47 -07:00
Stephen Birarda
1161cd6a5a
include cstring for memcpy in VoxelAgentData
2013-03-22 12:04:28 -07:00
Stephen Birarda
0dc06fef1f
pump up the mixer jitter buffer for smoother demo
2013-03-22 12:01:48 -07:00
Stephen Birarda
8ec5298c4a
add groundwork for LOD specific transmissions from VS
2013-03-22 12:01:30 -07:00
Stephen Birarda
6346a14cb5
remove voxelServerAddCallback
2013-03-22 10:48:41 -07:00
Stephen Birarda
dd37d60b65
remove extra _WIN32 declaration
2013-03-22 10:47:15 -07:00
Stephen Birarda
bb47967126
send head data to VS for level differentiation, remove the VS add callback
2013-03-22 10:46:37 -07:00
Leonardo Murillo
f604b574c5
Merge branch 'master' of github.com:/worklist/hifi into 19179
2013-03-22 11:46:36 -06:00
Leonardo Murillo
a4f6d85676
Fixing definitions
2013-03-22 11:45:19 -06:00
Leonardo Murillo
e3d842dff7
Packing agent ID on domain broadcast packet
2013-03-22 11:43:16 -06:00
Stephen Birarda
2c701c8e69
add VoxelAgentData class for VS to hold position and level data for clients
2013-03-22 10:36:19 -07:00
Stephen Birarda
3fa0439f29
add method to SharedUtil to chdir to OS X bundle resources
2013-03-22 10:35:55 -07:00
Leonardo Murillo
a1691f54a1
Starting agent count at 1 to allow for 0 to be non-id specifier and packing the id into boadcast packet
2013-03-22 11:30:17 -06:00