Commit Graph
13678 Commits
Author SHA1 Message Date
Brandon Thomas bfe2e16a40 BY BINDING THE OLD TEXTURE, WE RESTORE IMGUI 2020-04-20 02:57:38 -04:00
Brandon Thomas 730bf8b3ce extract opengl debugging 2020-04-20 02:35:00 -04:00
Brandon Thomas 2f56db8c06 had to load gl function ptrs (gl::load_with(...)) 2020-04-20 02:12:47 -04:00
Brandon Thomas 7618577e5e add imgui-rs (downgrade glium and glutin) 2020-04-20 01:59:51 -04:00
Brandon Thomas c1ff0273ee zero out memory 2020-04-20 01:08:29 -04:00
Brandon Thomas 0cd7c0c454 capture refcounts 2020-04-19 06:48:12 -04:00
Brandon Thomas c65d0c9b64 fix xy_table init 'valid' bit, lots of debug statements... 2020-04-19 06:02:49 -04:00
Brandon Thomas 2df1ba36cc better k4a image refcount handling, lots of logging, ... 2020-04-19 05:04:52 -04:00
Brandon Thomas 71e1de69ad no longer double freeing captures 2020-04-19 02:47:02 -04:00
Brandon Thomas e7acd39320 wasn't binding the shader program (still not fixed) 2020-04-19 01:18:06 -04:00
Brandon Thomas 0dbb9888d3 more debugging; added glDebug callback 2020-04-19 01:15:53 -04:00
Brandon Thomas ce30f437c2 introduced rng as point cloud output 2020-04-18 23:38:37 -04:00
Brandon Thomas 8a466882c4 wrong byte divisor 2020-04-18 23:25:18 -04:00
Brandon Thomas e62ff78730 this runs for awhile before crashing (still no point cloud) 2020-04-18 23:22:48 -04:00
Brandon Thomas e192369bb8 Runs. Old webcam input had to be removed. Still can't update texture 2020-04-18 22:57:34 -04:00
Brandon Thomas fae1d4001c no segfaults 2020-04-18 22:35:31 -04:00
Brandon Thomas 726e8ccc56 this runs (old code paths), commented out new stuff.
let's iterate from here...
2020-04-18 22:20:25 -04:00
Brandon Thomas 5f6237d03e This segfaults at runtime, but I think pieces are in place 2020-04-18 20:04:14 -04:00
Brandon Thomas a111e8653a viewer image 2020-04-18 18:54:05 -04:00
Brandon Thomas 2962a29b3f cleanup guard, update texture 2020-04-18 17:28:11 -04:00
Brandon Thomas 4dd75420d6 partially done with visualizer update_point_clouds 2020-04-18 17:11:07 -04:00
Brandon Thomas d3592431e7 set_colorization_strategy 2020-04-18 06:44:35 -04:00
Brandon Thomas 78da717595 visualizer, ctor, update_texture, wip/untested 2020-04-18 05:39:49 -04:00
Brandon Thomas 6aa57fb712 error handling 2020-04-18 01:45:10 -04:00
Brandon Thomas 4ba7827677 add error enum 2020-04-17 23:23:37 -04:00
Brandon Thomas 9b08c5b16f render() untested 2020-04-17 04:04:30 -04:00
Brandon Thomas 07ab055aca renderer - update_point_clouds function (untested) 2020-04-17 03:56:22 -04:00
Brandon Thomas 7512e06240 starting work on the rendering shader, everything compiles but untested 2020-04-17 02:44:12 -04:00
Brandon Thomas 72e326702a memory copy piece (don't know if it works) 2020-04-17 01:21:00 -04:00
Brandon Thomas 9c162d472a uniform binding 2020-04-17 00:38:33 -04:00
Brandon Thomas 2e6597048b 2d to 3d was impl'd in the library! 2020-04-17 00:17:37 -04:00
Brandon Thomas e94b9c44dd attempt at writing array of struct memory... (untested) 2020-04-16 05:40:43 -04:00
Brandon Thomas 7d19979b1d k4a image constructor 2020-04-16 05:08:20 -04:00
Brandon Thomas 1db741dc12 set_active_xy_table impl, not tested 2020-04-16 03:50:09 -04:00
Brandon Thomas d50f91fa19 convert 2020-04-16 03:40:33 -04:00
Brandon Thomas bacb2072ef sort these 2020-04-16 03:31:00 -04:00
Brandon Thomas 88c447d35a replace raw opengl with wrappers in a few places 2020-04-16 03:26:48 -04:00
Brandon Thomas 4a3bd917c6 opengl wrapper for convenience 2020-04-16 02:49:41 -04:00
Brandon Thomas 69820d00bd move unused graphics libs to module to remove later 2020-04-16 02:08:54 -04:00
Brandon Thomas 3a56e9e0e2 point cloud code builds, but isn't correct yet 2020-04-16 01:59:06 -04:00
Brandon Thomas 6c9740d86c working on point cloud shader (wip) 2020-04-15 04:06:43 -04:00
Brandon Thomas 2f6484bf82 create a compute shader from the k4a libs 2020-04-14 03:34:26 -04:00
Brandon Thomas 52fbe25154 streaming color camera 2020-04-13 05:09:08 -04:00
Brandon Thomas 65d397c5f1 now it's streaming! 2020-04-13 04:50:58 -04:00
Brandon Thomas ebb4bcaf3d texture was actually easy, it's just not redrawing without input 2020-04-13 04:44:45 -04:00
Brandon Thomas 5bd3f95bfa stringly typed binding. UGH. fixed 2020-04-13 04:27:08 -04:00
Brandon Thomas 5c57a0aaa1 wip (not working) 2020-04-13 00:06:39 -04:00
Brandon Thomas 2a6378a687 texture setup ... but is it working? 2020-04-12 23:31:28 -04:00
Brandon Thomas 93d2110419 square via ebo! 2020-04-12 23:02:48 -04:00
Brandon Thomas a56fe7b6b6 now drawing with element array buffers! 2020-04-12 22:59:33 -04:00