Re: [Interest] Qt3D offscreen rendering

2015-12-15 Thread Harald Vistnes
I've been trying to adjust the code in scene3ditem.cpp. But I am having some problems. The first parts of my code QSurfaceFormat format; format.setVersion(4, 3); format.setProfile(QSurfaceFormat::CoreProfile); format.setDepthBufferSize( 24 ); format.setSamples( 4 ); fo

Re: [Interest] Qt3D offscreen rendering

2015-12-14 Thread Harald Vistnes
Perfect. Thanks, Harald On Dec 14, 2015 9:17 PM, "Sean Harmer" wrote: > Hi, > > that's pretty much exactly what the implementation of Scene3D does: > > http://code.qt.io/cgit/qt/qt3d.git/tree/src/quick3d/imports/scene3d > > Cheers, > > Sean > > On 14/12/2015 20:06, Harald Vistnes wrote: > > Hi,

Re: [Interest] Qt3D offscreen rendering

2015-12-14 Thread Sean Harmer
Hi, that's pretty much exactly what the implementation of Scene3D does: http://code.qt.io/cgit/qt/qt3d.git/tree/src/quick3d/imports/scene3d Cheers, Sean On 14/12/2015 20:06, Harald Vistnes wrote: Hi, I'm trying to do offscreen rendering with Qt3D, but I have not figured out how to do it ye

[Interest] Qt3D offscreen rendering

2015-12-14 Thread Harald Vistnes
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 spec