Re: [Interest] Qt3D widget

2020-09-04 Thread Florian Blume
I actually succeeded in implementing a Qt3D widget. It can be found here: https://github.com/florianblume/qt3d-widget. Unfortunately, I had to use Qt3D's internal classes so it kind of feels a bit unstable because it might break with certain Qt versions. I would have liked to leave all processing

Re: [Interest] Qt3D widget

2020-09-02 Thread Florian Blume
Hey, thanks for your quick answer! I actually had the version you described first running. I obtained the rendered image using QRenderCapture and then displayed it on the quad. I also already had the second idea that you described but thought it should be possible to obtain the texture from Qt3D

Re: [Interest] Qt3D widget

2020-09-01 Thread Mike Krus via Interest
Hi Qt 3D source code has an example of how to use render capture in the manual tests. However this is probably not the right way to do it as 1/ it would require another FBO on top of the one QOpenGLWidget uses already; 2/ it transfers the image to the CPU which is not needed here. Think the w

[Interest] Qt3D widget

2020-09-01 Thread Florian Blume
Hi, I'm trying to implement a Qt3D widget since createWindowContainer is not suitable for me (always draws the Qt3DWindow on top of everything). I've already asked a Stackverflow question (https://stackoverflow.com/questions/63686309/use-qt3d-offscreen-rendered-texture-in-opengl) because I ran int