userland
userland copied to clipboard
Osc shader
this patch add a new OpenGL scene to Raspistill application. It's called shader and let the user load vertex and fragment shader via command line. Also, if compiled with liblo, it automatically exposed each uniform via OSC. Thus any shader parameter can be controlled by another OSC capable application locally on the Pi or remotely.
@6by9 does this PR have any chance to be merged (look aside from the conflicts)? If not, it should be closed
I know next to nothing about OpenGL so can't comment on that side. I don't know if @timgover has a few minutes and would be prepared to review the GL side of this.
There are several other bits mixed in to the PR as well (eg liblo, and extra exposure mode) - if this is for a new OpenGL scene then it should ideally be just that bit. Raise separate PRs for the other things. There's also no need for the development history that lead to the PR - changes should really be squashed into one commit.
I will find 10 mins to go through and review this, but comments like "don't fully understand all the consequences of this.." instill a deep sense of foreboding.
Hi,
I just merge master into osc-shader branch to fix merging conflict. Merging should be safe now. Liblo is optionnal, if you don't have it, it will not be enabled and build fine. You will still be able to load vertex and fragment shader, but you can't control it with OSC.
Fell free to ask me some modification before merging.
Do I need to make more changes to see this PR merged ?
@avilleret @6by9 Another one that has slipped through the cracks - what should we do here?
@avilleret Sorry about the delay, would it be possible to rebase against the latest tree then we can try and get this merged.
@avilleret ping
I'll try to rebase this against master in the next few weeks and let you know
Thanks. Quite a few changes in the camera code, so good luck!
@JamesH65 could you give it a try ? I don't have a camera to check until January 6th
@avilleret what do you say?
@Ruffio, sorry, what is the question ?
@avilleret did you check with camera? @JamesH65 could you give it a try ?
Sorry, this has just completely slipped past. I have no idea whether this would work on a Pi4, I suspect not. @timg236
Unfortunately needs to be rebased again.
Sorry, this has just completely slipped past. I have no idea whether this would work on a Pi4, I suspect not. @timg236
Unfortunately needs to be rebased again.
The Broadcom specific extensions are never going to work on Pi4, although if someone was sufficiently enthusiastic they could implement equivalent functionality using GLES 3.0 / MESA on Pi4.
If this specific PR is never going to work, and therefor never goint to be accepted, then it should be rejected IMHO.
It will work on Pi3 or older so long as the legacy GL driver is selected which I believe is the default