Creating qt based FBOs for 3D objects.
-
Hi,
Any guides on how to create an FBO for 3D objects in Qt?? I intend to create small cuboids in them and place them at different positions in a OpenGL canvas.
Thanks
-
Hi,
Do you mean QOpenglFramebufferObject ?
-
Yea. I have used the class for creating 2D textures previously, but I can't seem to make a 3D object using it. Any advice there?
-
Do you mean like in the Cube OpenGL ES 2.0 example ?
-
Do you mean like in the Cube OpenGL ES 2.0 example ?
@SGaist No. The example uses VBOs and not FBOs for the 3D object. I've tried using it before; while I succeeded, but my problem wasn't solved.
The problem in this case being that I wish to edit/remove/add a 3D object without affecting the other objects.
The code currently removes all 3D objects and redraws / renders them onto the display after every edit. To hopefully skip that I wanted to create each object in a separate FBO and "Blit" the FBO onto the main canvas removing a small blink which happens for all objects.