2.7 KiB
2.7 KiB
-
preparation
- make sure videos are in right format
- control playback of mp4 in glslviewer? -> no, we use obs for that now
- put videos on laptop
-
Makefile
- add command to extract ratio from mp4 -> is this necessary
- disable magenta error screen
- make command to use other monitor + fullscreen
-
code
- barebones shader with lygia effects
- needs a texture to apply effect -> stacking them decision
- option1: all FX goes on raw video, then combine
- probably easier and more modular, seperates code for FX and order
- option2: figure out how to write to texture so pipeline is possible
- option1: all FX goes on raw video, then combine
- needs a texture to apply effect -> stacking them decision
- test communication via osc with processing
- processing sketch with g4p knobs that control shader values
- how does it default if no input is coming? can I adjust from glslViewer cli? -> black or last frame, doesn't matter
- glslViewer
- [.] passes
- brigthness pass
- POC
- edge detection pass
- something that slow it down, some time-based blur
- some feedback
- some color shift
- noise threshold - dithering
- ideas from shadertoy:
- glitch: ngMir5 https://www.shadertoy.com/view/XtSGRG
- glitch: mpeg artifacts https://www.shadertoy.com/view/Md2GDw
- blur: fire ghosting https://www.shadertoy.com/view/XsdGWj
- blur: motion blur https://www.shadertoy.com/view/Xs33DS
- brigthness pass
- [.] passes
- processing
- processing.sound not very powerful, but joshuas trick for normalization maybe possible? try that.
- minim offers logarithmic scaling -> likely much better for analysis and what I want to do
- yes we go with that
- make gui for sound analysis
- beat detection output
- fft settings from midi
- 2 bands
- spectrum viz?
- pause-osc button in g4p
- barebones shader with lygia effects
-
bugfixes
- DEBUG: what are the weird issues with the glslViewer cli? is it an ncurses problem?
- SOLUTION: use --noncurses 😅
- FIXME: change default color on error from hot pink, this is horrible
- howto: see constant at
ed5076fcb2/include/vera/gl/shader.h (L19C1-L19C1)
and fix in https://github.com/patriciogonzalezvivo/glslViewer/blob/main/src/core/sandbox.cpp#L68 - actually implement
- deploy on laptop and desktop
- howto: see constant at
- DEBUG: what are the weird issues with the glslViewer cli? is it an ncurses problem?