Stephen Birarda
96d3f5a27d
move voxel to voxel-server, use setup project macro
2013-04-12 13:25:59 -07:00
Stephen Birarda
a1d209dd70
manage one AgentList per process via singleton
2013-04-11 15:45:04 -07:00
Stephen Birarda
3823809497
repairs in voxel server
2013-04-10 15:37:27 -07:00
Stephen Birarda
d56952cdc7
don't copy agent delete mutex
2013-04-10 13:39:31 -07:00
Stephen Birarda
9f10be749e
Merge remote-tracking branch 'upstream/master' into 19170B
2013-04-09 17:04:20 -07:00
Stephen Birarda
ae7f3e71d8
broadcast to VS and avatar mixer on position change
2013-04-09 16:56:19 -07:00
ZappoMan
f5634a66aa
Got rid of AGENT_TYPE_HEAD and fixed voxel server to use AGENT_TYPE_INTERFACE
2013-04-09 13:27:15 -07:00
ZappoMan
2ec3f6b210
Adding new AgentTypes.h and moving over to new constants
2013-04-09 10:37:07 -07:00
ZappoMan
7480283dd4
cleanup of packet header constants
2013-04-08 19:54:14 -07:00
ZappoMan
5415543dcd
adding Z command to voxel server and interface, Z command allows sending "erase all" and "add scene" commands
2013-04-06 12:03:46 -07:00
ZappoMan
12e06135bb
fixed reaverageVoxelColors() behavior. seems to work better now
2013-04-05 13:18:06 -07:00
ZappoMan
16ad4fc220
hack to always send voxels to client (even if already visited), added paint mode features to client
2013-04-05 10:54:39 -07:00
ZappoMan
57829785eb
fix to LOD bug caused by flip-flopped X and Z, add color randomization to inserted voxels on server, added head position display to display_stats()
2013-04-04 20:50:51 -07:00
ZappoMan
9220ba3ee5
Added agentTypes to AgentList::broadcastToAgents()
...
Make voxel server rebroadcast "remove voxel" messages to all it's connected heads
Cleaned up processing of Remove voxel messages to live in VoxelTree
2013-04-03 12:42:24 -07:00
ZappoMan
804943e2fb
Added deleteVoxelCodeFromTree() and 'R' command to voxel server
...
Also added extra optional parameter to nodeForOctalCode() to return the parent node on node lookup
2013-04-02 14:26:54 -07:00
ZappoMan
9851a9b0f5
added new spheres to the voxel server scene
2013-04-01 22:50:28 -07:00
ZappoMan
91cac33cec
fixed typo (I think)
2013-03-29 19:50:19 -07:00
Stephen Birarda
4589ceefaf
reduce frequency of packets from VS for easier processing
2013-03-29 16:19:43 -07:00
ZappoMan
fa60bdeb48
tweaks to default voxel server model for demo
2013-03-29 11:21:03 -07:00
ZappoMan
e920a6e873
tweak
2013-03-29 08:53:28 -07:00
ZappoMan
e580369a93
tweak to shpere
2013-03-29 08:24:08 -07:00
ZappoMan
c6a667af61
added Scene mode to voxel server
2013-03-29 07:27:46 -07:00
ZappoMan
00787a31d6
Added VoxelNode::collapseIdenticalLeaves()
...
Fixed small bug in setColorFromAverageOfChildren()
Changed sphere color randomization to be more dramatic
2013-03-28 23:38:34 -07:00
ZappoMan
270f77799d
added random color options, cleaned up compiler warnings, add reAverageParentColors when modifying voxel tree
2013-03-28 17:21:47 -07:00
Stephen Birarda
f109916125
move the voxel tree back to origin
2013-03-28 15:30:14 -07:00
Stephen Birarda
3ead1a5827
merge with brad's sphere/load file changes
2013-03-28 14:46:44 -07:00
Stephen Birarda
1b3c15a701
Merge remote-tracking branch 'origin/master'
2013-03-28 14:39:59 -07:00
Stephen Birarda
6d8ff8cc05
use a thread to distribute voxels to clients on a clock
2013-03-28 14:36:21 -07:00
ZappoMan
055c46c60f
add spheres from command line
2013-03-28 14:32:53 -07:00
ZappoMan
fe8b6f7d63
* Moved load file and create sphere from VoxelSystem to VoxelTree
...
* Added --local command line support to domain and voxel servers so that
you can run them locally without recompiling.
* made command line option parsing more cross platform
* added --NoColorRandomizer to interface when loading local models
* added -i file load support to voxel server to load in a preexisting model at launch
* added --NoRandomVoxelSheet to voxel server to NOT create the built in voxel sheet
* added first cut at 'I' command from clients to voxel server to insert voxels into voxel tree
* changed ambient light settings in interface to not be so aggressive
* added randInIntRange() helper to SharedUtils
* tweat to pruneTree() to also repair child mask
* some coding standard refactoring
2013-03-28 13:54:28 -07:00
Stephen Birarda
846ba80c10
get VS back to a point where it talks to client
2013-03-28 11:28:17 -07:00
Stephen Birarda
5bd398931f
remove voxel sending from voxel main loop
2013-03-26 12:47:21 -07:00
Stephen Birarda
9dbb64aaec
have mixer and voxel server also maintain agent IDs
2013-03-25 16:54:36 -07:00
Stephen Birarda
507b6e0064
use abstracted DS check in method from AgentList
2013-03-25 16:24:14 -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
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
8ec5298c4a
add groundwork for LOD specific transmissions from VS
2013-03-22 12:01:30 -07:00
Kees van Prooijen
f308d8e004
merge with upstream master
2013-03-21 10:10:33 -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
9ac664dbab
include cstdio for uint8_t
2013-03-20 13:34:53 -07:00
Stephen Birarda
68765c5a2c
mixer and voxel server must report EC2 address
2013-03-20 13:27:27 -07:00
Kees van Prooijen
9ae11ffe77
more windows port
2013-03-20 12:13:14 -07:00
Stephen Birarda
76f7f68526
fix voxel system to send new bistream format, add helpers to VoxelNode class
2013-03-19 15:52:51 -07:00
Stephen Birarda
c7213d6593
conditionally include winsock2.h instead of UNIX socket stuff
2013-03-19 11:46:53 -07:00
Kees van Prooijen
cd27c74a2d
prelimanary changes for windows port
2013-03-19 11:01:08 -07:00
Stephen Birarda
6e9fa80966
use new loadBitstreamBuffer function to return voxel data to requesting agent
2013-03-18 13:23:21 -07:00
Stephen Birarda
807377ef97
change bitstream load function to return stateless MTU sized packets
2013-03-18 13:16:14 -07:00
Stephen Birarda
64ec16c62f
voxels are now sent to interface clients as bitstream
2013-03-15 14:34:52 -07:00