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
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