Hi, I'm trying to do offscreen rendering with Qt3D, but I have not figured out how to do it yet. I have two use cases for this. One is to render a single image in a console application, the other is to have a desktop application with a 3D window and a button to save the current view in a user specified resolution.
I'm guessing I should use a subclass of QOffscreenSurface instead of QWindow as the surface, is that right? Or should I pass a custom render target to the render target selector in the frame graph? But how can I make Qt3D render a single frame, and how can I get the rendered image back? In QOpenGLFrameBufferObject there are toImage() functions, but there are no such functions in Qt3DRender::QRenderTarget. Is there a way to do this, or have this functionality not been implemented yet? Any hints on how to proceed would be welcome. Harald
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest