ofVbo as Pixel Buffer (PBO)

Hi

I would be nice if it was possible to use ofVbo as pixel buffer object. Thereby it would be easy to render pixels from a shader into vertices.

Problems with the current ofVbo are that:

  1. It is not possible to allocate buffers without data (OpenGL supports this but oF don’t)
  2. There is no function to support reading pixels into vbo-buffers

I could make a PR with suggested changes…?

-tobias

I could make a PR with suggested changes…?
better to first open an issue to discuss the proposed changes in more detail and flesh out a solution. then code it, and open a PR.

sure. just thought that the forum was ok for discussing this.
i’ll open up an issue.

surely the forum is ok for discussion, but still, before opening a PR, ideally an issue should be opened (not everybody sees those forum threads)
See https://github.com/openframeworks/openFrameworks/blob/master/CONTRIBUTING.md#request-a-feature

Just throwing it out there that I think this could be a really nifty feature for multi-pass shading. I tried to get this working at one point in OF but got distracted by other things. I’d love to see someone else pick it up.