Commit graph

3825 commits

Author SHA1 Message Date
Andrzej Kapolka
352f7ca3cf Provide option to enable/disable webcam (disabled by default). 2013-06-19 10:46:54 -07:00
Andrzej Kapolka
dbde66cbd5 Use trigger to change the state of the menu actions; that way, we get the
callbacks.
2013-06-19 10:32:55 -07:00
Andrzej Kapolka
f14108c9e1 Added code attribution/disclaimer. 2013-06-19 10:25:59 -07:00
Andrzej Kapolka
344b8a31c8 Updated header. 2013-06-19 10:20:01 -07:00
Andrzej Kapolka
1757f32fd0 Added source files for UVCCameraControl. 2013-06-19 10:18:48 -07:00
Andrzej Kapolka
cc9f8bc717 Adjustments to UVCCameraControl invocation. 2013-06-18 18:15:52 -07:00
Andrzej Kapolka
8ec8e0b9d8 Avoid name mangling on the symbol. 2013-06-18 17:04:02 -07:00
Andrzej Kapolka
2e033631eb Make our call to configureCamera on OS X. 2013-06-18 16:50:15 -07:00
Andrzej Kapolka
556a64eab9 Adding UVCCameraControl. 2013-06-18 16:47:11 -07:00
Andrzej Kapolka
4519b43072 Initialization order fix. 2013-06-18 14:48:58 -07:00
Andrzej Kapolka
9cb671aa56 Slightly better fps computation. 2013-06-18 14:43:19 -07:00
Andrzej Kapolka
e1f76b2bdf Limit the rate at which we acquire images, since OS X doesn't block like Linux
does.
2013-06-18 14:37:24 -07:00
Andrzej Kapolka
e98d1f9a92 Let's try getting the cam's fps. 2013-06-18 14:18:33 -07:00
Andrzej Kapolka
2ad8585f26 Show the acquisition fps. 2013-06-18 14:11:13 -07:00
Andrzej Kapolka
2a60414968 Set the desired webcam resolution and fps, report what we actually get. 2013-06-18 13:56:58 -07:00
Andrzej Kapolka
0fa710e518 Let's try using glPixelStore to specify the widthStep. 2013-06-18 13:39:54 -07:00
Andrzej Kapolka
2c2297b2bd Let's try using widthStep rather than nChannels and computing the alpha
values.
2013-06-18 13:30:31 -07:00
Andrzej Kapolka
a4324d71d5 If we don't get the image frame, try again later. 2013-06-18 13:08:16 -07:00
Andrzej Kapolka
9e92ea03da Rather than copying to a QImage, just send the pointer. Also, put the render
code in Webcam itself.
2013-06-18 12:13:40 -07:00
Andrzej Kapolka
341cde61f5 Allow four channel images, create a copy. 2013-06-17 18:21:35 -07:00
Andrzej Kapolka
a771f53df3 Read the webcam frames in a separate thread, since the call blocks. 2013-06-17 18:07:53 -07:00
Andrzej Kapolka
3c58f0c0a7 Must init webcam after OpenGL. 2013-06-17 16:24:47 -07:00
Andrzej Kapolka
c7ddc89803 Basic frame grab from camera; not currently working yet, but let's try on
OS X!
2013-06-17 15:06:40 -07:00
Andrzej Kapolka
0d4efad490 Missed QuartzCore. 2013-06-17 13:58:19 -07:00
Andrzej Kapolka
6b065ab856 Find Zlib the right way. 2013-06-17 13:57:01 -07:00
Andrzej Kapolka
2c0bea3f33 More required libraries for OS X. 2013-06-17 13:53:48 -07:00
Andrzej Kapolka
ec495e14d3 Missed these guys. 2013-06-17 13:29:24 -07:00
Andrzej Kapolka
4421b21124 Working on reintegrating OpenCV (also, removed lodepng). 2013-06-17 13:24:01 -07:00
Andrzej Kapolka
dc3029b5a9 Merge pull request #540 from ZappoMan/encode_params
Change encodeTreeBitstream() to use params class
2013-06-14 17:25:57 -07:00
Andrzej Kapolka
d80e55a995 Merge pull request #541 from ey6es/master
Fix for irises on OS X: compute and pass in the model space eye position as a uniform.
2013-06-14 17:24:01 -07:00
Andrzej Kapolka
c11ab45474 It seems gl_ModelViewMatrixInverse is problematic on OS X; let's try passing
in the camera's position as transformed into model space.
2013-06-14 17:21:35 -07:00
ZappoMan
17ea2d0d0d Merge pull request #539 from ey6es/master
Better iris texture, fixed iris rotations.
2013-06-14 16:53:47 -07:00
ZappoMan
e083c0c561 spacing 2013-06-14 16:48:36 -07:00
Andrzej Kapolka
790cdfb0bd Added refraction to irises. 2013-06-14 16:46:34 -07:00
ZappoMan
08e8455c95 migrate encodeTreeBitstream() to use params class 2013-06-14 16:45:27 -07:00
Andrzej Kapolka
7d1679dab7 Ryan's new iris texture. 2013-06-14 14:35:56 -07:00
Andrzej Kapolka
5241c41ddd Shed some light on what these shaders are doing, so to speak. 2013-06-14 11:29:32 -07:00
Andrzej Kapolka
ec0b1a99fb Fix iris orientations: start with the head orientation, then rotate onto the
lookat vector.  This way, the irises don't rotate around as we yaw.
2013-06-14 11:23:08 -07:00
Andrzej Kapolka
b4d4cfd994 Merge branch 'master' of https://github.com/worklist/hifi 2013-06-14 10:31:10 -07:00
Andrzej Kapolka
4f9f2fa4ca Better iris texture. 2013-06-14 10:28:45 -07:00
Philip Rosedale
b637408b54 Merge pull request #538 from ZappoMan/localmode
added local mode to audio-mixer
2013-06-14 10:08:47 -07:00
Philip Rosedale
0cd3dd57e6 Merge pull request #525 from birarda/master
add a low-pass filter and send audio-mixer stats to logstash
2013-06-14 09:41:14 -07:00
ZappoMan
5d6a5a7377 Removed accidentally merged code 2013-06-14 09:22:14 -07:00
ZappoMan
985b8d66d2 Merge branch 'master' of https://github.com/worklist/hifi into localmode 2013-06-14 09:21:02 -07:00
ZappoMan
471c9a3dad added local mode 2013-06-14 09:18:01 -07:00
Stephen Birarda
90500a8990 send a packet with the exact number of bytes to logstash 2013-06-13 19:17:42 -06:00
Stephen Birarda
a267d5fe9f Merge branch 'master' of github.com:worklist/hifi 2013-06-13 18:31:37 -06:00
Andrzej Kapolka
ce9236e659 Merge pull request #537 from ey6es/master
Ryan's new iris texture.
2013-06-13 16:59:53 -07:00
Andrzej Kapolka
0f897340ee New iris texture from Ryan. 2013-06-13 16:42:31 -07:00
Stephen Birarda
1ebd007f36 wrap things in brackets to correct percentage 2013-06-13 17:28:58 -06:00