[Interest] Getting access to a rendered image in Qt 3D
asmaloney at gmail.com
Mon Jun 19 11:59:17 CEST 2017
What you're probably looking for is QRenderCapture:
I've used it with mixed success to save out images and create a movie using
ffmpeg - works fine on macOS, isn't working for me on Windows (see
I also don't know how to set the resolution other than changing the actual
window the scene is being rendered in (maybe there's a way to do it using
offscreen rendering but I haven't figured it out).
Andy Maloney // https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
On Mon, Jun 19, 2017 at 11:24 AM, Christensen, Matias <
Matias.Christensen at flir.com> wrote:
> I have a Qt application with a 3D scene using Qt 3D.
> What i want is to be able to render a camera at a specific resolution
> and framerate, and then to be able to access the resulting images in C++
> code so i can encode it using h264 and send it to a different process.
> I am having trouble finding a way to get access to the rendered image, i
> image this is made difficult as the image never leaves GPU memory and i
> need to get access to it in main memory.
> Does anyone have a suggestion on how i might go about doing this?
> Notice to recipient: This email is meant for only the intended recipient
> of the transmission, and may be a communication privileged by law, subject
> to export control restrictions or that otherwise contains proprietary
> information. If you receive this email by mistake, please notify us
> immediately by replying to this message and then destroy it and do not
> review, disclose, copy or distribute it. Thank you in advance for your
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest