Commit Graph

  • 95fec69018 stupid experimentally determined camera zero :( Brandon Thomas 2020-05-01 07:13:37 -04:00
  • 67a10b0892 custom perspective matrix based on k4a Brandon Thomas 2020-05-01 06:07:32 -04:00
  • 991f1b8aaa clear color, rgbaf32 type Brandon Thomas 2020-05-01 05:16:33 -04:00
  • ba5366d65e clean up some unused imports Brandon Thomas 2020-05-01 04:53:29 -04:00
  • 65f1d5b980 ran cargo fix and then CLion import optimizer Brandon Thomas 2020-05-01 04:40:21 -04:00
  • 21d40a9fe9 about to run cargo fix Brandon Thomas 2020-05-01 04:28:54 -04:00
  • 790e0a9748 move old code (preserved since I'm still new to this) Brandon Thomas 2020-05-01 04:25:40 -04:00
  • 0ffa97f9af new arcball abstraction to clean up code Brandon Thomas 2020-05-01 04:21:45 -04:00
  • 22a48dba60 arcball implementation (a bit rough around the edges) Brandon Thomas 2020-05-01 03:07:45 -04:00
  • e2671e4380 much more efficient and cleaned up WebcamWriter Brandon Thomas 2020-04-30 21:40:10 -04:00
  • e29d003973 akvcam config pared down to sensible configs Brandon Thomas 2020-04-30 05:07:53 -04:00
  • 2c6e205ac5 check in akvcam configs Brandon Thomas 2020-04-30 04:53:19 -04:00
  • 0ae6682518 THIS WORKS. WEBCAM OUT WORKS Brandon Thomas 2020-04-30 03:14:54 -04:00
  • 1721d1b3da width and height GRADIENT rendering are perfect Brandon Thomas 2020-04-30 03:07:26 -04:00
  • b581e9cd36 lets me share a webcam view, but horrible and distorts texture Brandon Thomas 2020-04-29 23:34:43 -04:00
  • 02eb6ec94a this has output, but it's hidden. only the very top shows Brandon Thomas 2020-04-29 05:20:15 -04:00
  • 38d3258a44 I can stream to the virtual device /dev/video7! Brandon Thomas 2020-04-29 03:28:02 -04:00
  • 50255bef04 small refactor, different clearcolor Brandon Thomas 2020-04-28 03:19:02 -04:00
  • cc1f822f5c add distance threshold and scaling Brandon Thomas 2020-04-28 03:08:25 -04:00
  • 6685e41e14 IT WORKS !! ! ! ! ! ! !! !!@!21 Brandon Thomas 2020-04-27 05:10:56 -04:00
  • 299390f9b4 restored shaders Brandon Thomas 2020-04-27 04:47:26 -04:00
  • 4f8279bc9e cleanup (note - I pared down the existing shader, so I should revert) Brandon Thomas 2020-04-27 04:40:48 -04:00
  • 4f3e5f0e5c implementation of simple/color shading (perfect!) Brandon Thomas 2020-04-26 21:28:16 -04:00
  • c591d0d6c1 FIXED! Ugh. RG32F, not RGB32F Brandon Thomas 2020-04-26 19:27:25 -04:00
  • 27c5f32e80 debugging xy depth table Brandon Thomas 2020-04-26 18:47:59 -04:00
  • 87fbf45ed9 cleanup Brandon Thomas 2020-04-26 17:29:40 -04:00
  • 73ef98251e much closer, but still have to finish the last piece Brandon Thomas 2020-04-26 05:34:28 -04:00
  • 0bbbe2f9c2 point cloud colorization isn't it... Brandon Thomas 2020-04-26 04:14:45 -04:00
  • 2225c1c962 removing alpha from compute shader -- now the texture exists!!! Brandon Thomas 2020-04-26 04:10:49 -04:00
  • 242aa53b7d now we can set xyz texture to all white in the shader Brandon Thomas 2020-04-26 04:07:25 -04:00
  • ba56591226 fix issue with pixel iteration order Brandon Thomas 2020-04-26 01:18:27 -04:00
  • 2ee94842af handle debug bgra32 images Brandon Thomas 2020-04-26 00:52:06 -04:00
  • db4585fa5c pixel image debugging Brandon Thomas 2020-04-26 00:46:22 -04:00
  • 504e28240a need to impl depth pixel colorizer Brandon Thomas 2020-04-26 00:20:25 -04:00
  • ab2f4c33ae new image debug routine Brandon Thomas 2020-04-25 23:59:42 -04:00
  • 553afd801d display output in quadrants Brandon Thomas 2020-04-25 18:01:40 -04:00
  • 4aee7995c5 nice cleanup to surface all intermediate textures Brandon Thomas 2020-04-25 17:46:22 -04:00
  • a9e1af8c7f light refactor - rename classes Brandon Thomas 2020-04-25 17:31:07 -04:00
  • 54063f2553 improve xy_table generation (still not fixed) Brandon Thomas 2020-04-25 17:19:49 -04:00
  • 966bb66b53 a line of color with the correct matrix! Brandon Thomas 2020-04-24 03:32:51 -04:00
  • 5b11bca593 projection and view matrices (no effect?!) Brandon Thomas 2020-04-22 04:42:00 -04:00
  • eadafd34ab That pixel is real geometry. About to mess w/ projection matrix Brandon Thomas 2020-04-22 04:16:29 -04:00
  • 4dab692e2d THAT PIXEL IS NOW ANIMATED!?!#@? Brandon Thomas 2020-04-22 03:58:05 -04:00
  • ef2770a50b clean up comments Brandon Thomas 2020-04-22 03:40:29 -04:00
  • b0fab79970 small fixes, still no video Brandon Thomas 2020-04-22 03:19:28 -04:00
  • 7b450769bc resized window Brandon Thomas 2020-04-22 01:19:01 -04:00
  • d52d7d9b8e something is drawing on top of the texture! Brandon Thomas 2020-04-22 01:04:35 -04:00
  • 8e5f526c2c reorganize - opengl module, rebinder struct Brandon Thomas 2020-04-22 00:54:41 -04:00
  • 0de5a9bb38 render image *and* frame (but still not visible) Brandon Thomas 2020-04-22 00:24:55 -04:00
  • a1dc4e124c shows the texture in an opengl-backed imgui renderer! Brandon Thomas 2020-04-22 00:15:40 -04:00
  • 3998022aa0 load custom texture, but can't render it Brandon Thomas 2020-04-21 23:53:13 -04:00
  • bf2f1ee35f Everything reenabled, imgui still renders!! Brandon Thomas 2020-04-20 04:14:25 -04:00
  • 7436f088da with viz, this "supposedly" reverses everything (but doesn't) Brandon Thomas 2020-04-20 03:26:43 -04:00
  • 820715bd40 Holy shit, rebinding the texture worked on visualizer! Brandon Thomas 2020-04-20 03:00:48 -04:00
  • bfe2e16a40 BY BINDING THE OLD TEXTURE, WE RESTORE IMGUI Brandon Thomas 2020-04-20 02:57:38 -04:00
  • 730bf8b3ce extract opengl debugging Brandon Thomas 2020-04-20 02:35:00 -04:00
  • 2f56db8c06 had to load gl function ptrs (gl::load_with(...)) Brandon Thomas 2020-04-20 02:12:47 -04:00
  • 7618577e5e add imgui-rs (downgrade glium and glutin) Brandon Thomas 2020-04-20 01:59:51 -04:00
  • c1ff0273ee zero out memory Brandon Thomas 2020-04-20 01:08:29 -04:00
  • 0cd7c0c454 capture refcounts Brandon Thomas 2020-04-19 06:48:12 -04:00
  • c65d0c9b64 fix xy_table init 'valid' bit, lots of debug statements... Brandon Thomas 2020-04-19 06:02:49 -04:00
  • 2df1ba36cc better k4a image refcount handling, lots of logging, ... Brandon Thomas 2020-04-19 05:04:52 -04:00
  • 71e1de69ad no longer double freeing captures Brandon Thomas 2020-04-19 02:47:02 -04:00
  • e7acd39320 wasn't binding the shader program (still not fixed) Brandon Thomas 2020-04-19 01:18:06 -04:00
  • 0dbb9888d3 more debugging; added glDebug callback Brandon Thomas 2020-04-19 01:15:53 -04:00
  • ce30f437c2 introduced rng as point cloud output Brandon Thomas 2020-04-18 23:38:37 -04:00
  • 8a466882c4 wrong byte divisor Brandon Thomas 2020-04-18 23:25:18 -04:00
  • e62ff78730 this runs for awhile before crashing (still no point cloud) Brandon Thomas 2020-04-18 23:22:48 -04:00
  • e192369bb8 Runs. Old webcam input had to be removed. Still can't update texture Brandon Thomas 2020-04-18 22:57:34 -04:00
  • fae1d4001c no segfaults Brandon Thomas 2020-04-18 22:35:31 -04:00
  • 726e8ccc56 this runs (old code paths), commented out new stuff. Brandon Thomas 2020-04-18 22:20:25 -04:00
  • 5f6237d03e This segfaults at runtime, but I think pieces are in place Brandon Thomas 2020-04-18 20:04:14 -04:00
  • a111e8653a viewer image Brandon Thomas 2020-04-18 18:54:05 -04:00
  • 2962a29b3f cleanup guard, update texture Brandon Thomas 2020-04-18 17:28:11 -04:00
  • 4dd75420d6 partially done with visualizer update_point_clouds Brandon Thomas 2020-04-18 17:11:07 -04:00
  • d3592431e7 set_colorization_strategy Brandon Thomas 2020-04-18 06:44:35 -04:00
  • 78da717595 visualizer, ctor, update_texture, wip/untested Brandon Thomas 2020-04-18 05:39:49 -04:00
  • 6aa57fb712 error handling Brandon Thomas 2020-04-18 01:42:47 -04:00
  • 4ba7827677 add error enum Brandon Thomas 2020-04-17 23:23:37 -04:00
  • 9b08c5b16f render() untested Brandon Thomas 2020-04-17 04:04:30 -04:00
  • 07ab055aca renderer - update_point_clouds function (untested) Brandon Thomas 2020-04-17 03:56:22 -04:00
  • 7512e06240 starting work on the rendering shader, everything compiles but untested Brandon Thomas 2020-04-17 02:44:12 -04:00
  • 72e326702a memory copy piece (don't know if it works) Brandon Thomas 2020-04-17 01:21:00 -04:00
  • 9c162d472a uniform binding Brandon Thomas 2020-04-17 00:38:33 -04:00
  • 2e6597048b 2d to 3d was impl'd in the library! Brandon Thomas 2020-04-17 00:17:37 -04:00
  • e94b9c44dd attempt at writing array of struct memory... (untested) Brandon Thomas 2020-04-16 05:40:43 -04:00
  • 7d19979b1d k4a image constructor Brandon Thomas 2020-04-16 05:08:20 -04:00
  • 1db741dc12 set_active_xy_table impl, not tested Brandon Thomas 2020-04-16 03:50:09 -04:00
  • d50f91fa19 convert Brandon Thomas 2020-04-16 03:40:33 -04:00
  • bacb2072ef sort these Brandon Thomas 2020-04-16 03:31:00 -04:00
  • 88c447d35a replace raw opengl with wrappers in a few places Brandon Thomas 2020-04-16 03:26:48 -04:00
  • 4a3bd917c6 opengl wrapper for convenience Brandon Thomas 2020-04-16 02:49:41 -04:00
  • 69820d00bd move unused graphics libs to module to remove later Brandon Thomas 2020-04-16 02:08:54 -04:00
  • 3a56e9e0e2 point cloud code builds, but isn't correct yet Brandon Thomas 2020-04-16 01:59:06 -04:00
  • 6c9740d86c working on point cloud shader (wip) Brandon Thomas 2020-04-15 04:06:43 -04:00
  • 2f6484bf82 create a compute shader from the k4a libs Brandon Thomas 2020-04-14 03:34:26 -04:00
  • 52fbe25154 streaming color camera Brandon Thomas 2020-04-13 05:09:08 -04:00
  • 65d397c5f1 now it's streaming! Brandon Thomas 2020-04-13 04:50:58 -04:00
  • ebb4bcaf3d texture was actually easy, it's just not redrawing without input Brandon Thomas 2020-04-13 04:44:45 -04:00
  • 5bd3f95bfa stringly typed binding. UGH. fixed Brandon Thomas 2020-04-13 04:27:08 -04:00