Commit graph

63 commits

Author SHA1 Message Date
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
eec16a8eb5 recreate the MarkerNode tree on agent copy 2013-03-28 15:28:55 -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
Stephen Birarda
f469ec8e2e remove the notion of last sent level from VoxelAgentData 2013-03-28 14:33:26 -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
bbb0e9cea3 move MarkerNode to shared to hook with VoxelTree 2013-03-26 14:10:06 -07:00
Stephen Birarda
a6333122e6 build out MarkerNode class 2013-03-26 14:07:35 -07:00
Stephen Birarda
1c9d4de0d6 hook up VoxelAgentData to new MarkerNode class 2013-03-26 14:06:52 -07:00
Stephen Birarda
761db13e90 add the MarkerNode class to maintain markers during tree traversal 2013-03-26 14:06:34 -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
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
8ec5298c4a add groundwork for LOD specific transmissions from VS 2013-03-22 12:01:30 -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
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