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
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
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
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
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
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
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
Stephen Birarda
6712d23cd1
push and pop the matrix for voxel system draw
2013-03-21 17:12:50 -07:00
Stephen Birarda
5f052d7c9e
scale back heads after voxel system draw
2013-03-21 17:03:52 -07:00
Stephen Birarda
95926cb7fc
conditional chdir for OS X resources, revert windows Head changes
2013-03-21 17:02:41 -07:00
Stephen Birarda
e2a28b48db
revert Head.cpp to earlier commit to confirm source of direction changes
2013-03-21 16:51:45 -07:00
Stephen Birarda
d61ae179ae
hide the cloud again
2013-03-21 16:16:25 -07:00
Stephen Birarda
9c73bf286e
remove cast to int * in socket recvfrom
2013-03-21 16:13:52 -07:00
Stephen Birarda
0b48eab1fb
Merge branch 'master' of github.com:worklist/hifi
2013-03-21 16:12:09 -07:00
Stephen Birarda
4552140f61
add a sound when moving so we aren't ninjas
2013-03-21 16:11:17 -07:00
Kees van Prooijen
f308d8e004
merge with upstream master
2013-03-21 10:10:33 -07:00
Stephen Birarda
f97932353b
fix conditional inclusion of voxel in vertices and color arrays
2013-03-20 16:28:28 -07:00
Stephen Birarda
f8485ab5da
output total number of packets and bytes sent to agent from VS
2013-03-20 16:23:10 -07:00
Stephen Birarda
f4e9594f72
dumb way to keep voxel server alive for testing
2013-03-20 16:22:38 -07:00
Stephen Birarda
abc0deaa78
increase the far clip
2013-03-20 16:22:24 -07:00
Stephen Birarda
e7254ff216
fix shift in return of octal code section value
2013-03-20 16:22:01 -07:00
Stephen Birarda
1efbaef44b
only add voxel to be drawn if not transparent
2013-03-20 16:21:45 -07:00
Stephen Birarda
d2da9000f4
return correct nodeForOctalCode
2013-03-20 16:21:22 -07:00
Stephen Birarda
e8f84aee78
fix rendering bugs
2013-03-20 15:32:12 -07:00
Stephen Birarda
fc3a499cb3
include cstring for use of memset
2013-03-20 13:48:59 -07:00
Stephen Birarda
c28a3e1bd4
add cstring for use of memcpy
2013-03-20 13:47:13 -07:00
Stephen Birarda
6ce4ed2d40
add cstring for use of memcpy
2013-03-20 13:45:48 -07:00
Stephen Birarda
1abce28310
use int instead of forced 8-bit types where appropriate
2013-03-20 13:44:09 -07:00
Stephen Birarda
9ac664dbab
include cstdio for uint8_t
2013-03-20 13:34:53 -07:00
Stephen Birarda
b24353957c
include cstdio for printf in SharedUtil
2013-03-20 13:29:10 -07:00
Stephen Birarda
68765c5a2c
mixer and voxel server must report EC2 address
2013-03-20 13:27:27 -07:00
Stephen Birarda
634e9c4bf7
parse the bitstream tree and create an in memory representation to render
2013-03-20 13:25:11 -07:00