Commit Graph
14960 Commits
Author SHA1 Message Date
Brandon Thomas 4f3e5f0e5c implementation of simple/color shading (perfect!) 2020-04-26 21:28:16 -04:00
Brandon Thomas c591d0d6c1 FIXED! Ugh. RG32F, not RGB32F 2020-04-26 19:27:25 -04:00
Brandon Thomas 27c5f32e80 debugging xy depth table 2020-04-26 18:47:59 -04:00
Brandon Thomas 87fbf45ed9 cleanup 2020-04-26 17:29:40 -04:00
Brandon Thomas 73ef98251e much closer, but still have to finish the last piece 2020-04-26 05:34:28 -04:00
Brandon Thomas 0bbbe2f9c2 point cloud colorization isn't it... 2020-04-26 04:14:45 -04:00
Brandon Thomas 2225c1c962 removing alpha from compute shader -- now the texture exists!!! 2020-04-26 04:10:49 -04:00
Brandon Thomas 242aa53b7d now we can set xyz texture to all white in the shader 2020-04-26 04:07:25 -04:00
Brandon Thomas ba56591226 fix issue with pixel iteration order 2020-04-26 01:19:07 -04:00
Brandon Thomas 2ee94842af handle debug bgra32 images 2020-04-26 00:52:06 -04:00
Brandon Thomas db4585fa5c pixel image debugging 2020-04-26 00:46:22 -04:00
Brandon Thomas 504e28240a need to impl depth pixel colorizer 2020-04-26 00:20:25 -04:00
Brandon Thomas ab2f4c33ae new image debug routine 2020-04-25 23:59:42 -04:00
Brandon Thomas 553afd801d display output in quadrants 2020-04-25 18:01:40 -04:00
Brandon Thomas 4aee7995c5 nice cleanup to surface all intermediate textures 2020-04-25 17:46:22 -04:00
Brandon Thomas a9e1af8c7f light refactor - rename classes 2020-04-25 17:31:07 -04:00
Brandon Thomas 54063f2553 improve xy_table generation (still not fixed)
The visual output is a vertical line with camera input colorization
2020-04-25 17:19:49 -04:00
Brandon Thomas 966bb66b53 a line of color with the correct matrix! 2020-04-24 03:32:51 -04:00
Brandon Thomas 5b11bca593 projection and view matrices (no effect?!) 2020-04-22 04:42:00 -04:00
Brandon Thomas eadafd34ab That pixel is real geometry. About to mess w/ projection matrix 2020-04-22 04:16:29 -04:00
Brandon Thomas 4dab692e2d THAT PIXEL IS NOW ANIMATED!?!#@? 2020-04-22 03:58:05 -04:00
Brandon Thomas ef2770a50b clean up comments 2020-04-22 03:40:29 -04:00
Brandon Thomas b0fab79970 small fixes, still no video 2020-04-22 03:19:28 -04:00
Brandon Thomas 7b450769bc resized window 2020-04-22 01:19:01 -04:00
Brandon Thomas d52d7d9b8e something is drawing on top of the texture! 2020-04-22 01:04:35 -04:00
Brandon Thomas 8e5f526c2c reorganize - opengl module, rebinder struct 2020-04-22 00:54:41 -04:00
Brandon Thomas 0de5a9bb38 render image *and* frame (but still not visible) 2020-04-22 00:24:55 -04:00
Brandon Thomas a1dc4e124c shows the texture in an opengl-backed imgui renderer! 2020-04-22 00:15:40 -04:00
Brandon Thomas 3998022aa0 load custom texture, but can't render it 2020-04-21 23:53:13 -04:00
Brandon Thomas bf2f1ee35f Everything reenabled, imgui still renders!! 2020-04-20 04:14:25 -04:00
Brandon Thomas 7436f088da with viz, this "supposedly" reverses everything (but doesn't) 2020-04-20 03:26:43 -04:00
Brandon Thomas 820715bd40 Holy shit, rebinding the texture worked on visualizer!
I was listening to some old Golden Sun music and it crscendoed
right as the demo worked.

https://www.youtube.com/watch?v=A6Z4QoUsd_8

After a week of no visuals, now I'm running some of this code with
visual output.
2020-04-20 03:00:48 -04:00
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