-
- Downloads
Image export using QT
Image export has been performed using platform dependent offscreen buffers that are setup manually. Segfaults etc. were observed on several occasions. This commit enables offscreen rendering through the GLCanvas using QT functionality. Pro: - QT takes care of platform dependent things - Other image formats than just png come for free Con: - The gfx module didn't depend on QT and image export could be scripted Scripting is still possible, but a GLCanvas must be created. - A offscreen solution could be implemented but it would still depend on QT
Showing
- modules/gfx/pymod/export_scene.cc 0 additions, 5 deletionsmodules/gfx/pymod/export_scene.cc
- modules/gfx/src/gfx_object.cc 2 additions, 7 deletionsmodules/gfx/src/gfx_object.cc
- modules/gfx/src/glwin_base.hh 20 additions, 0 deletionsmodules/gfx/src/glwin_base.hh
- modules/gfx/src/scene.cc 37 additions, 186 deletionsmodules/gfx/src/scene.cc
- modules/gfx/src/scene.hh 6 additions, 37 deletionsmodules/gfx/src/scene.hh
- modules/gfx/src/vertex_array.cc 3 additions, 6 deletionsmodules/gfx/src/vertex_array.cc
- modules/gfx/tests/test_gfx_node.cc 0 additions, 24 deletionsmodules/gfx/tests/test_gfx_node.cc
- modules/gui/src/gl_canvas.cc 134 additions, 1 deletionmodules/gui/src/gl_canvas.cc
- modules/gui/src/gl_canvas.hh 19 additions, 1 deletionmodules/gui/src/gl_canvas.hh
Loading
Please register or sign in to comment