Commit graph

211 commits

Author SHA1 Message Date
ZappoMan
23429441ac Merge branch 'master' of https://github.com/worklist/hifi 2013-04-08 11:18:51 -07:00
ZappoMan
aee27bfc16 Hmmm, when painting, X and Z are not flipped? I'm totally confused, but now
but LOD and painting seems to work.
2013-04-08 11:18:07 -07:00
Philip Rosedale
dbd9688f1f Turned off default for star field rendering until we find/fix the rendering bug 2013-04-08 09:34:19 -07:00
ZappoMan
aa40fd96d4 added -/% to menu text 2013-04-07 12:49:15 -07:00
ZappoMan
d3fd5d1a75 added keyboard commands for erase all and add scene 2013-04-07 12:45:46 -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
Jeffrey Ventrella
87fe21f835 got a basic avatar skeleton with a simpler starter user interaction for moving the right hand 2013-04-05 16:21:13 -07:00
Jeffrey Ventrella
a0f09b597a got a basic avatar skeleton with a simpler starter user interaction for moving the right hand 2013-04-05 16:19:23 -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
Jeffrey Ventrella
5b2d1ec198 thingy3 2013-04-05 10:52:10 -07:00
Jeffrey Ventrella
e57e2bdf38 thingy2 2013-04-05 10:48:08 -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
Jeffrey Ventrella
d3f6c19e83 adding Camera and some utility classes and start of prototype avatar 2013-04-04 18:04:32 -07:00
tosh
de4734d6fb tightens ogl state handling (also fixes unreadably thick text for stats display) 2013-04-04 10:59:57 +02:00
ZappoMan
f859d8ed9c Added PaintMode, toggle for stars, etc. 2013-04-03 22:42:02 -07:00
Stephen Birarda
66a2b1a86f move stars.txt to S3 bucket 2013-04-03 15:24:26 -07:00
tosh
2341af271b Merge branch 'master' of git://github.com/worklist/hifi into 19188
Conflicts:
	interface/CMakeLists.txt
	interface/src/main.cpp
	shared/src/SharedUtil.cpp
	shared/src/SharedUtil.h
	shared/src/VoxelTree.cpp
2013-04-03 22:44:22 +02: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
ad0b2f024b Fixed a couple of complier warnings, and added a new PerfStat class for monitoring runtime performance 2013-03-31 20:43:23 -07:00
vincent
622053b38c #19197 Create basic visual studio 2013-03-29 20:20:52 +01:00
tosh
8f458b0bea changes case/naming to agreed conventions 2013-03-29 13:41:33 +01:00
Stephen Birarda
3186254a93 initial LOD drop off when moving back 2013-03-29 03:42:54 -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
tosh
df7f3942e1 straightens data pipeline and several bugs after exhaustive testing 2013-03-29 01:08:24 +01:00
ZappoMan
ebceaf06dc added --domain command line option to interface 2013-03-28 15:22:10 -07:00
ZappoMan
6ec9949098 Add --local support to interface command line 2013-03-28 14:03:16 -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
vincent
1c1b7369ae #19197 Create basic visual studio 2013-03-28 18:32:52 +01:00
vincent
83abc571f1 #19197 Create basic visual studio 2013-03-28 18:20:50 +01:00
Philip Rosedale
c0cb88e21b Added keyboard controls for smooth rotation, more junk removed from main.cpp 2013-03-27 15:54:54 -07:00
tosh
704ae4acb2 removes default limit loading stars 2013-03-27 15:50:25 +01:00
Philip Rosedale
ef9c704bb1 Merge remote-tracking branch 'origin' 2013-03-26 17:33:21 -07:00
Philip Rosedale
642b64dfd6 First commit to improve avatar movement 2013-03-26 17:32:54 -07:00
Stephen Birarda
7c1470c07e remove debug send to 10.0.0.10 2013-03-26 16:22:42 -07:00
Stephen Birarda
bb14a90f86 remove constants re-added on merge 2013-03-25 23:00:36 -07:00
ZappoMan
23c6a9017c Merge branch 'master' of https://github.com/worklist/hifi
Conflicts:
	interface/src/main.cpp
	shared/src/SharedUtil.cpp
	shared/src/SharedUtil.h
2013-03-25 22:51:59 -07:00
ZappoMan
2f6b2466ea Fixed getCommandOption and cmOptionExists to be more porable
added support for --NoConnect command line option to test running without connecting
added pruneTree to VoxelTree
2013-03-25 22:39:24 -07:00
Stephen Birarda
d76fafda67 remove call that included getCmdOption 2013-03-25 16:45:49 -07:00
Stephen Birarda
507b6e0064 use abstracted DS check in method from AgentList 2013-03-25 16:24:14 -07:00
tosh
7d32eeb20a adjusts to function renaming in FieldOfView 2013-03-25 10:50:45 +01: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
tosh
5de3ec035b leftover changes / minor corrections 2013-03-24 06:30:33 +01: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
6346a14cb5 remove voxelServerAddCallback 2013-03-22 10:48:41 -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
d61ae179ae hide the cloud again 2013-03-21 16:16:25 -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
abc0deaa78 increase the far clip 2013-03-20 16:22:24 -07:00
Kees van Prooijen
9ae11ffe77 more windows port 2013-03-20 12:13:14 -07:00
Stephen Birarda
c7213d6593 conditionally include winsock2.h instead of UNIX socket stuff 2013-03-19 11:46:53 -07:00
Stephen Birarda
8ef885aaaf remove extra tokens after endif for WIN32 conditionals 2013-03-19 11:10:42 -07:00
Kees van Prooijen
cd27c74a2d prelimanary changes for windows port 2013-03-19 11:01:08 -07:00
Stephen Birarda
158270f20d only use SerialInterface if on UNIX machine 2013-03-18 15:36:26 -07:00
Stephen Birarda
95eb241fdd remove OS X specific menu, have voxel server point to correct DS 2013-03-13 11:07:46 -07:00
Stephen Birarda
e97aba03a3 move StdDev to shared library 2013-03-12 10:09:07 -07:00
Philip Rosedale
674bd8d798 transmitter full movement, and audio jitter buffer tweaks/debugging data 2013-03-11 16:19:55 -07:00
Philip Rosedale
5c1bd68580 Merge remote-tracking branch 'origin/master' 2013-03-08 16:00:17 -08:00
Philip Rosedale
f014fcd0ac transmitter tweaks 2013-03-08 15:58:49 -08:00
Stephen Birarda
5535b8a4f5 allow client to request loopback from mixer 2013-03-08 15:37:41 -08:00
Stephen Birarda
686404be2b add a voxel server 2013-03-08 14:32:06 -08:00
Philip Rosedale
26fd44f030 100,000 voxel death star with concentric shells 2013-03-06 16:58:38 -08:00
Philip Rosedale
e7aa142082 Merge remote-tracking branch 'origin' 2013-03-06 15:23:40 -08:00
Philip Rosedale
89d205f304 turn cloud back off 2013-03-06 14:45:24 -08:00
Philip Rosedale
f98f64e8f7 Added red 'laser pointer' to hand 2013-03-06 14:40:24 -08:00
Stephen Birarda
f004479e39 bump up to 300000 voxels, with color 2013-03-06 14:34:14 -08:00
Stephen Birarda
e16cd4ffc3 use vertex buffer objects to speed up voxel rendering 2013-03-06 13:56:11 -08:00
Stephen Birarda
0fbb534566 randomly draw 50000 voxels for glDrawElements test 2013-03-06 12:04:27 -08:00
Philip Rosedale
04bd98cf85 Merge remote-tracking branch 'origin' 2013-03-04 17:01:24 -08:00
Philip Rosedale
2903ff9f73 Adding support for transmitter data 2013-03-04 17:00:30 -08:00
Philip Rosedale
f3d086f6dd Merge pull request #10 from heracek/19095
Code Review for Job #19095
2013-03-04 16:59:53 -08:00
Stephen Birarda
a42fc47231 relink head to AudioRingBuffer, send source bearing 2013-02-28 15:58:57 -08:00
Stephen Birarda
29df6e6a3e send 256 samples per callback so mixer can reply with two channels 2013-02-28 12:21:38 -08:00
Philip Rosedale
27cc3a8ee5 Merge remote-tracking branch 'origin' 2013-02-26 17:34:26 -08:00
Philip Rosedale
fe2f2d5019 Reduce mouse force on hand. 2013-02-26 17:33:40 -08:00
Stephen Birarda
c123990d7a switch back to EC2 DS for sanity check 2013-02-26 13:59:33 -08:00
Stephen Birarda
c645830809 temporary test against birarda's domain server 2013-02-26 13:43:50 -08:00
Stephen Birarda
1783ee5f85 send interface client position to audio mixer 2013-02-26 13:13:40 -08:00
Philip Rosedale
26a87b3b43 Added critically damped spring behavior to hand, and added simulateHand() routine to main.cpp that uses mouse to correctly move hand controller. 2013-02-26 09:41:16 -08:00
Philip Rosedale
f7b20a7c9c Added ability to drag hand by clicking and dragging on the screen. 2013-02-25 15:06:28 -08:00
Stephen Birarda
d211eb6c84 use getters and setters for all member variables in AgentList and Agent 2013-02-25 12:51:52 -08:00
Stephen Birarda
4541a5fe78 AgentList returns agents vector and agentSocket by reference 2013-02-25 12:24:42 -08:00
Stephen Birarda
a20a162502 don't move user view with their gyro, temporarily hide hand 2013-02-22 16:43:41 -08:00
Stephen Birarda
88cac51c0c tweak sensitiviy on pitch and yaw changes 2013-02-22 16:28:58 -08:00
Stephen Birarda
2ab58e00ca revert last change to ignore position changes from self-gyro 2013-02-22 16:25:38 -08:00
Stephen Birarda
7d244bbd45 don't allow gyro to move user head for themselves 2013-02-22 16:17:07 -08:00
Stephen Birarda
af48f4aad2 switch back to EC2 domain server 2013-02-22 15:15:25 -08:00
Tomáš Horáček
4403f726bb Merge branch 'master' into 19095 2013-02-23 00:09:26 +01:00
Stephen Birarda
6a16d6e3bb clean up agent killing/re-adding for interface and domain 2013-02-22 14:54:19 -08:00
Stephen Birarda
b4184562e0 Merge remote-tracking branch 'origin/master' 2013-02-22 13:39:20 -08:00
Stephen Birarda
5d2cba0b2a add silent agent removal to AgentList class 2013-02-22 13:38:33 -08:00
Stephen Birarda
345ec8b938 fix threaded socket joins so that socket has timeout on blocking receive 2013-02-22 13:37:57 -08:00
Philip Rosedale
0453445b13 Render own manipulator hand in front of camera 2013-02-22 12:47:28 -08:00
Stephen Birarda
200982dddc fix for UDPSocket receive crash in Audio class and main.cpp 2013-02-22 12:20:16 -08:00
Philip Rosedale
41259f9ae0 Changed Hand to be a floating 'paddle' in front of the head 2013-02-22 12:10:29 -08:00
Tomáš Horáček
36a558d123 add "Scope" menu functionality 2013-02-22 18:38:25 +01:00
Tomáš Horáček
4741eb869e add Mac OS X "Scope" menu with empty action 2013-02-22 18:22:16 +01:00
Stephen Birarda
e7fc997f78 push and pop when drawing agent heads 2013-02-21 16:55:20 -08:00