Hi, On Wednesday 23 March 2016 06:48:08 Mohd Z|eeshan Farooque wrote: > Hi, > Req: Print out of 3D structure through QPainter with in QRect. How cam I use > normal QPainter for Qt3D rendering because I want to take print (or render > somewhere else like on any widget, window,etc) of current static 3d > Structure on root entity. Or is there any other better way to do this. > Because I already have my reporter class which gives QPainter and QRect So > that next user use this QPianter to render any thing within this QRect. And > the rest of the thins like printing, saving rendered object on pdf, etc is > already handled by this reporter class.Please let me know if you want any > other info . Thank you Mail: zeeshanc...@yahoo.in
There is nothing out of the box for this at the moment. The usual trick is to draw a hi-res version of your scene in a tiled manner using a custom camera frustum into a texture attached to a framebuffer object. That can all be done with some manual tweaking of a framegraph. The bit I am unsure of at the moment is reading back the rendered pixel data to the CPU side. Could you file a JIRA request for this please and we will see how best to fit it into our plans? Thanks, Sean -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest