Stephen Birarda
16d603e203
clean up extra new lines and LogDisplay line break
2013-07-16 12:53:43 -07:00
Andrzej Kapolka
fd1671a44f
Merge branch 'master' of https://github.com/worklist/hifi into pointy
2013-07-16 12:48:24 -07:00
Stephen Birarda
1b48d4f0fc
revert removal of extraneous newlines
2013-07-16 12:46:32 -07:00
atlante45
13762da7d8
Changed shortcuts to ALT+ +/-
2013-07-16 12:03:07 -07:00
Stephen Birarda
51d1e6ae80
add a message handler to send messages over to LogDisplay
2013-07-16 11:50:40 -07:00
Stephen Birarda
89d3cfdb6f
remove now extraneous newlines after switch to QDebug
2013-07-16 11:16:51 -07:00
Stephen Birarda
afe49bc756
switch calls to printLog to QDebug
2013-07-16 11:07:22 -07:00
Stephen Birarda
3f9865759c
Merge pull request #682 from ZappoMan/bug_fixes
...
Import Voxels and Paste Bug fixes
2013-07-16 10:11:11 -07:00
ZappoMan
440352c584
white space
2013-07-16 10:02:27 -07:00
ZappoMan
42e5440b7b
CR feedback
2013-07-16 10:00:55 -07:00
Eric Johnston
802abade4f
Fixed problem in idle(), causing events to stack up.
...
The problem was that idle() was set on a zero-ms timer (using idleTimer->start(0)), and the time is then self-regulated by returning early if it's not time yet.
Because of this, Qt stays perpetually in the timer servicing, instead of processing events. This causes keys and menu items to be delayed if the user drags the mouse before activating them, especially at low frame rates. It also causes very-delayed multitouch response.
The fix I've applied is to reset the idle timer after servicing the idle. I've set it to 2ms because I noticed that 1ms didn't always clear out all of the events. We can tune it to whatever we need, or even calculate it based on the time it took us to service the idle.
2013-07-15 18:16:50 -07:00
ZappoMan
e4b7ba7428
Merge branch 'master' of https://github.com/worklist/hifi into bug_fixes
2013-07-15 17:58:45 -07:00
Jeffrey Ventrella
b765de6990
Merge remote-tracking branch 'upstream/master' into particles
2013-07-15 17:58:38 -07:00
Jeffrey Ventrella
0481a81ca7
moved finger particles over to hand.cpp
2013-07-15 17:58:17 -07:00
ZappoMan
a3009981d0
added Import Voxels to Clipboard
2013-07-15 17:54:50 -07:00
Stephen Birarda
9f9d8e59bd
don't accept voxel packet if rendering is turned off, correct boolean for kill
2013-07-15 17:12:44 -07:00
Stephen Birarda
38d8041bfb
kill local voxels when voxel rendering is turned off
2013-07-15 17:12:24 -07:00
ZappoMan
01b7f3868b
Merge pull request #672 from birarda/domain-switch
...
add an option in preferences to dynamically switch domain servers
2013-07-15 17:10:18 -07:00
ZappoMan
31875abcab
Merge branch 'master' of https://github.com/worklist/hifi into bug_fixes
2013-07-15 17:05:10 -07:00
Andrzej Kapolka
d8d9f5e315
Merge branch 'master' of https://github.com/worklist/hifi into pointy
2013-07-15 16:54:29 -07:00
Stephen Birarda
c27cd7ae42
couple of type squishes in NodeList
2013-07-15 16:49:36 -07:00
ZappoMan
1fb1622beb
added sleep to sendVoxelOperation() to keep from overwhelming server
2013-07-15 16:27:23 -07:00
Andrzej Kapolka
d5abb3e6eb
Merge branch 'master' of https://github.com/worklist/hifi into pointy
2013-07-15 16:15:12 -07:00
Andrzej Kapolka
fdeb63c121
More work on face points.
2013-07-15 16:09:49 -07:00
atlante45
bf328c8532
Improved import system copying to clipboard
2013-07-15 16:07:50 -07:00
Stephen Birarda
9fe1c7c63d
lock the voxel server when receiving data to avoid race crash
2013-07-15 15:59:31 -07:00
Stephen Birarda
6c2682833e
lock on the solo voxelServer before deleting local voxels
2013-07-15 15:53:25 -07:00
Stephen Birarda
6b83f95f9e
conditionally set a new hostname on preferences save
2013-07-15 15:46:04 -07:00
Jeffrey Ventrella
56d0c7d7e4
added array of finger emitters for particle system
2013-07-15 15:45:31 -07:00
Stephen Birarda
d389dc6e3a
add method to NodeList to set domain IP to local, move mutex lock to node
2013-07-15 15:17:10 -07:00
Jeffrey Ventrella
c0f319f077
merge
2013-07-15 14:36:11 -07:00
Jeffrey Ventrella
f75ce72aca
Merge remote-tracking branch 'upstream/master' into particles
2013-07-15 14:30:19 -07:00
Jeffrey Ventrella
7d5ade33a3
Merge remote-tracking branch 'upstream/master' into particles
2013-07-15 13:58:12 -07:00
Jeffrey Ventrella
84b6adf5b0
more work on particle emitter API
2013-07-15 13:57:39 -07:00
Eric Johnston
86faa33f83
Added fake Leap finger generation so that Ryan and Jeffrey can work on Leap glove-code without needing a Leap sensor at all times.
2013-07-15 13:56:37 -07:00
atlante45
423a0eaac8
Fixed typo
2013-07-15 12:28:22 -07:00
atlante45
bf3c4fa1f8
Avatar resizing final commit
2013-07-15 12:04:24 -07:00
Jeffrey Ventrella
ae99ca5ec8
added more API for the particle system
2013-07-12 18:55:42 -07:00
atlante45
280afed7f0
added scale in avatar packets eand slots to change it from the menu
2013-07-12 17:51:47 -07:00
Jeffrey Ventrella
3649c89c12
more developing on the API for the particle system
2013-07-12 16:19:31 -07:00
atlante45
35c00c739c
resizing avatar now handle the camera
2013-07-12 14:53:51 -07:00
Jeffrey Ventrella
e6b751e538
more work on particle system
2013-07-12 14:32:14 -07:00
atlante45
16647e3591
Resolve conflict
2013-07-12 13:27:46 -07:00
Jeffrey Ventrella
c348c5ec35
Merge remote-tracking branch 'upstream/master' into particles
2013-07-12 12:12:25 -07:00
Jeffrey Ventrella
106d7c225a
turned on particle system viewing for pull request
2013-07-12 12:11:51 -07:00
Philip Rosedale
4e9530f946
Body slowly turns to follow touch look
2013-07-11 22:31:31 -07:00
Philip Rosedale
4e89c679b9
Oculus will work with touch look (hopefully)
2013-07-11 21:51:13 -07:00
Philip Rosedale
6609a850eb
Gyros and touch look now work at same time
2013-07-11 21:34:42 -07:00
ZappoMan
c26e39764a
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-11 13:50:33 -07:00
ZappoMan
57ce20d3ce
add support for Low Res sending while moving
2013-07-11 12:43:43 -07:00
Stephen Birarda
b201d13e31
refactor ping packet sending to push past version byte
2013-07-11 12:42:45 -07:00
Stephen Birarda
64887f2a36
Merge branch 'master' of github.com:worklist/hifi into packet-versions
2013-07-11 11:02:49 -07:00
Stephen Birarda
fcb8865d2e
resolve conflicts on merge with upstream master
2013-07-11 10:58:45 -07:00
Mark Peng
9749e5edd6
Add const var to represent magic num in eyecontact code when gyros
...
are on.
2013-07-11 10:53:38 -07:00
Mark Peng
24d32bcdc8
Fix style mistakes according to code review for eyecontact code.
2013-07-11 10:40:57 -07:00
ZappoMan
9aed3d3cc6
enable delta sending by default
2013-07-11 10:37:28 -07:00
Mark Peng
083e0e9d06
Merge remote-tracking branch 'upstream/master'
2013-07-11 10:20:41 -07:00
Mark Peng
f145a1eac4
Add condition to updateAvatar() where if another avatar's head is at
...
the center of the screen, the lookAtPosition is set to the eye level
of that avatar.
2013-07-11 10:17:45 -07:00
Stephen Birarda
211204e878
Merge remote-tracking branch 'upstream/master' into timestamps
2013-07-11 09:23:16 -07:00
Philip Rosedale
cf665e10b3
Merge pull request #644 from ZappoMan/occlusion_culling
...
Latest Revision of Occlusion Culling & Delta Sending Work - now it's always better and never worse
2013-07-11 09:05:03 -07:00
Philip Rosedale
8ea2b46264
Merge pull request #641 from ZappoMan/bug_fixes
...
Two small bug fixes
2013-07-11 07:46:57 -07:00
ZappoMan
dc70675c22
removed obsolete ResIn mode
2013-07-10 19:04:28 -07:00
Jeffrey Ventrella
6c3644a2fc
merge
2013-07-10 18:32:59 -07:00
Jeffrey Ventrella
420ecddafb
Merge remote-tracking branch 'upstream/master' into particles
2013-07-10 18:32:42 -07:00
ZappoMan
3d3eca9afa
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-10 17:45:04 -07:00
Andrzej Kapolka
d59b9ce955
Flip x when in mirror mode, rather than special-casing all the head rotations.
...
Also fixed sideways leaning (was correct in mirror mode, incorrect in world).
2013-07-10 17:31:21 -07:00
Mark Peng
3909217815
Remove unused #include for glm intersect in Application.cpp
2013-07-10 17:24:47 -07:00
ZappoMan
78611e30e7
make occlusion culling default
2013-07-10 17:21:40 -07:00
Mark Peng
c832662807
Remove random print statements from eyecontact code in Application.cpp
2013-07-10 17:20:46 -07:00
Jeffrey Ventrella
84a7a78b8d
made a test particle system
2013-07-10 17:15:03 -07:00
ZappoMan
a48f353f2f
whitespace cleaned up
2013-07-10 17:07:55 -07:00
ZappoMan
1831cc0de3
removed level param from recursion
2013-07-10 17:06:22 -07:00
Mark Peng
baf9edecc9
Merge remote-tracking branch 'upstream/master'
2013-07-10 16:51:53 -07:00
Andrzej Kapolka
100f7c19c3
Merge pull request #636 from PhilipRosedale/master
...
Touchlook tuned and always on!
2013-07-10 16:36:10 -07:00
ZappoMan
4afda27ee0
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-10 16:28:51 -07:00
ZappoMan
78c62f29c3
lazy load stars file only if stars render enabled
2013-07-10 16:12:34 -07:00
ZappoMan
d8f368a50c
lazy load stars file only if stars render enabled
2013-07-10 16:06:23 -07:00
Mark Peng
62570f0804
Merge remote-tracking branch 'upstream/master'
2013-07-10 16:01:28 -07:00
Mark Peng
0b334f9e5d
Make lookAtVectors lock on other avatar's eyes if the mouse is over
...
the other avatar's head.
Add rayIntersectsSphere function to Util. glm::intersectRaySphere was buggy.
2013-07-10 15:56:23 -07:00
ZappoMan
09f77279e2
add shortcut key to enable wants occlusion culling
2013-07-10 13:42:43 -07:00
Atlante45
7d94f65448
Linked ZLIB to voxels library
2013-07-10 13:00:16 -07:00
Philip Rosedale
dae79d8a55
Merge branch 'master' of https://github.com/worklist/hifi
2013-07-10 12:20:45 -07:00
Philip Rosedale
2e854b5ed7
Tune and smooth 'Touch Look' and always turned on, old mouseLook code removed. Add vec3 speed test. Smooth simulation by passing exact deltaTime to update()
2013-07-10 12:20:26 -07:00
Mark Peng
4b6e7f1079
Merge remote-tracking branch 'upstream/master' into eyecontact
2013-07-10 11:57:08 -07:00
Mark Peng
e4e7966075
Add print statements to debug eyecontact code in Application.cpp.
2013-07-10 11:56:16 -07:00
Stephen Birarda
ca8f25955a
switch usec timestamps to uint64_t
2013-07-10 11:46:48 -07:00
ZappoMan
a9b1aa727f
added back stars file loading
2013-07-10 11:11:21 -07:00
Mark Peng
61ad33d9d0
Merge remote-tracking branch 'upstream/master' into eyecontact
2013-07-09 16:29:56 -07:00
Mark Peng
2a25c97446
Change LookAtPosition of Head to the eye level of another avatar,
...
if looking at another avatar in Application.cpp.
Add eyePosition to Head class and bool isLookingAtOther.. in Application.cpp.
2013-07-09 16:22:41 -07:00
ZappoMan
44357fcfb9
add 'level' param to tree recursion
2013-07-09 13:17:21 -07:00
atlante45
2e036a0e46
Merge branch 'master' of git://github.com/worklist/hifi into 19373
2013-07-09 17:56:18 +02:00
atlante45
dbdbd7a8c4
Incorporating comments for code review (minecraft import)
2013-07-09 17:55:55 +02:00
atlante45
3433cf5a98
Merge branch 'master' of git://github.com/worklist/hifi into 19373
2013-07-09 16:34:12 +02:00
atlante45
2c438e8af3
Fixed broken shortcut (Turn on/off voxels is now Shift + V)
2013-07-09 16:20:55 +02:00
atlante45
b3c0f3fedb
More code review for UI job
2013-07-09 15:29:12 +02:00
atlante45
c3b0be5c63
More consts for UI job
2013-07-09 14:49:01 +02:00
atlante45
3c4f8f5120
put hard coded numbers into variables for UI job
2013-07-09 14:17:42 +02:00
atlante45
5d4d0ba43e
Merge branch 'master' of git://github.com/worklist/hifi into 19373
2013-07-09 12:56:27 +02:00
atlante45
5703a60797
Merge branch 'master' of git://github.com/worklist/hifi into 19368
2013-07-09 10:25:58 +02:00
atlante45
d38c1f081c
Modified code according to review for UI job
2013-07-09 10:25:46 +02:00
Philip Rosedale
e9f8e50d49
Merge pull request #623 from machinelevel/dev4
...
Added safety checks to processEvents(), which was causing problems. Also...
2013-07-08 17:04:06 -07:00
Philip Rosedale
4936676cc1
Merge pull request #627 from ey6es/kinected
...
Basic depth camera support (only built in when OpenNI is available).
2013-07-08 16:57:10 -07:00
Eric Johnston
c298f78ae9
Fixed multi-touch event loop problems by selectively processing just the touch events.
2013-07-08 16:31:28 -07:00
Eric Johnston
7de2281226
Merge branch 'master' of https://github.com/worklist/hifi into dev4
2013-07-08 16:29:51 -07:00
Stephen Birarda
c2ad02def2
Merge pull request #625 from PhilipRosedale/master
...
Tuned smooth gyro look to feel better
2013-07-08 15:55:52 -07:00
Eric Johnston
14374fb0df
Merge branch 'master' of https://github.com/worklist/hifi into dev4
2013-07-08 15:31:11 -07:00
Stephen Birarda
aaaba9c42e
more packet version refactoring
2013-07-08 15:14:18 -07:00
Stephen Birarda
202d446f07
use packet version helpers for PACKET_TYPE_AVATAR_VOXEL_URL
2013-07-08 14:59:00 -07:00
Stephen Birarda
374fffb151
use packet version helpers for PACKET_TYPE_SET_VOXEL commands
2013-07-08 14:40:15 -07:00
Andrzej Kapolka
5f3a37139f
Merge branch 'master' of https://github.com/worklist/hifi into kinected
2013-07-08 14:04:42 -07:00
Stephen Birarda
8a684244cc
packet versioning for HEAD_DATA packets
2013-07-08 12:53:07 -07:00
Stephen Birarda
5faad80e12
remove ping unknown thread, version for ping reply
2013-07-08 11:58:19 -07:00
Stephen Birarda
5062ae8965
rename PACKET_HEADER to PACKET_TYPE, fix DS packet versioning
2013-07-08 11:37:39 -07:00
Stephen Birarda
047d5b5cab
add packet version handling for DS packets
2013-07-08 11:17:29 -07:00
Stephen Birarda
d112edab64
resolve conflicts on merge with upstream master
2013-07-08 11:07:42 -07:00
atlante45
013aabc65c
Merge branch 'master' of git://github.com/worklist/hifi into 19373
2013-07-08 15:54:37 +02:00
atlante45
1f78c6461d
Merge branch 'master' of git://github.com/worklist/hifi into 19373
2013-07-08 13:37:55 +02:00
atlante45
6c840a9ec3
Functionnal version of minecraft import
2013-07-08 13:37:47 +02:00
Eric Johnston
4341e8596f
Merge branch 'master' of https://github.com/worklist/hifi into dev4
2013-07-07 22:19:13 -07:00
Andrzej Kapolka
f9f2c66115
Merge branch 'master' of https://github.com/worklist/hifi into kinected
...
Conflicts:
interface/src/Application.cpp
interface/src/Avatar.cpp
interface/src/Avatar.h
libraries/avatars/src/AvatarData.h
2013-07-05 22:52:42 -07:00
tosh
c2e2ff0ffe
changes broadcast function in Application to use a different name but the same signature as in NodeList
2013-07-05 14:16:50 +02:00
tosh
2da132be65
upstream merge
2013-07-04 21:21:11 +02:00
tosh
689794259d
Merge branch 'master' of git://github.com/worklist/hifi into 19376
...
Conflicts:
interface/src/Application.cpp
2013-07-04 21:20:36 +02:00
Philip Rosedale
d70eb38542
Properly make the goHome() function in slot group
2013-07-03 23:43:53 -07:00
Philip Rosedale
92cec4cfa0
Merge branch 'master' of https://github.com/worklist/hifi
2013-07-03 22:55:09 -07:00
Philip Rosedale
2de6d3eb6a
Make 'Go Home' an option from the options because it conflicts with 'G' for gravity on/off
2013-07-03 22:55:01 -07:00
ZappoMan
c0d14d2bd4
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-03 15:36:41 -07:00
Eric Johnston
3ea100e595
Added safety checks to processEvents(), which was causing problems. Also narrowed the scope of the events processed.
...
It can now be disabled in the interface by un-checking touch-look, which most people don't use yet.
Also, the event processing time should be limited to 1 ms.
2013-07-03 15:33:18 -07:00
Stephen Birarda
0be42698b5
resolve conflicts on merge with upstream master
2013-07-03 15:12:50 -07:00
Stephen Birarda
8a4dc8446b
what is July 3rdg
2013-07-03 15:05:51 -07:00
Stephen Birarda
e85e49ef3b
add a comment to disable of processEvents
2013-07-03 14:31:28 -07:00
Stephen Birarda
0e68942674
comment out processEvents to remove event receipt bug
2013-07-03 14:27:07 -07:00
Philip Rosedale
3388fccc86
Fixes per code review
2013-07-03 13:09:55 -07:00
Philip Rosedale
c309774e3c
Merge branch 'master' of https://github.com/worklist/hifi
2013-07-03 13:01:21 -07:00
Eric Johnston
acef2bc669
Fixed two-finger touch delay, and all other hidden event-pile-up.
...
Added a processEvents() call in the idle, because otherwise calling idle updates starves the event handlers.
2013-07-03 11:37:38 -07:00
Philip Rosedale
7880c74304
smooth gyro look on by default if not in settings
2013-07-03 11:17:06 -07:00
Philip Rosedale
bf4bc22fbf
Merge branch 'master' of https://github.com/worklist/hifi
2013-07-03 11:11:00 -07:00
Philip Rosedale
1868717520
Improve gyro look to smoothly follow the head and not move for small movements
2013-07-03 11:10:40 -07:00
Stephen Birarda
36c6912de8
your agents are now nodes
2013-07-03 10:35:09 -07:00
Andrzej Kapolka
e866c22518
Merge branch 'master' of https://github.com/worklist/hifi into kinected
...
Conflicts:
interface/src/Avatar.cpp
2013-07-03 10:15:11 -07:00
Eric Johnston
fd2009738b
Merge branch 'master' of https://github.com/worklist/hifi into dev4
2013-07-03 09:56:00 -07:00
Stephen Birarda
00fa688aba
Merge pull request #614 from machinelevel/dev4
...
(changed per requests and re-merged) Two Leap-related crashes fixed, plu...
2013-07-03 09:53:40 -07:00
Stephen Birarda
4a804a9960
Merge pull request #615 from ey6es/master
...
Fixes for gyros/webcam: restore rotation amplification, don't bother with gyro position or fusing webcam roll, blink faster.
2013-07-02 17:33:11 -07:00
Eric Johnston
5d59bcbec7
(changed per requests and re-merged) Two Leap-related crashes fixed, plus Leap improvements
...
1. Fixed thread-crash at terminate() time by terminating the LeapManager properly
2. Fixed an intermittent thread-crash when Leap active by removing auto-connection between controller and listener
3. Added fingerRoot positions to display and data packet
4. Introduced a vec3-based convention so that more finger data may be added without causing trouble for old clients and servers
5. My avatar's fingers are different color from others
2013-07-02 17:03:32 -07:00
Andrzej Kapolka
b660336b2a
Fix for camera movement with webcam enabled; don't bother using roll from
...
webcam if we have the gyros; reinstate head orientation scaling; don't bother
using gyro position.
2013-07-02 16:59:03 -07:00
ZappoMan
af1de263a4
fixed FOV preference to work with view frustum code properly
2013-07-02 16:58:31 -07:00
ZappoMan
f45f0610f5
fixed FOV preference with projection matrix
2013-07-02 16:54:55 -07:00
ZappoMan
1e19748a1a
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-02 15:52:49 -07:00
ZappoMan
c7ff073686
more progress on merging
2013-07-02 15:50:40 -07:00
Andrzej Kapolka
4f01db6dc7
Merge branch 'master' of https://github.com/worklist/hifi into kinected
2013-07-02 14:52:22 -07:00