Another hacky way to do this is to write an Op which does nothing, and implement its draw_handles method. In that method you can do a glReadPixels to get the viewer image.
Jerry On 21 Oct 2011, at 07:48, Frank Rueter wrote: > This has been requested since well before Foundry times, to I reckon it's > time to give this request a serious boost. Can you please report it to the > foundry so it can be revived? > Now with camera tracker, points clouds and particles this is now a much > needed feature. and is sorely missed (feel free to quote me in the request > support mail :-D ). > > Cheers, > frank > > > On Oct 21, 2011, at 5:38 AM, Nathan Rusch wrote: > >> I tried this kind of thing at one point (dumping the viewer to an image >> file). What I ended up doing is trolling all of the QGLWidget instances in >> the app and dumping their contents to image files via PyQt. That works, but >> since only the visible pixels are buffered to the screen, you get a chopped >> view if your image is semi-occluded by the edge of the pane. Also, the >> QGLWidget accounts for the entirety of the pane’s content, so you get the >> black borders around the viewable window as well. >> >> The other tricky thing is that the order of the QGLWidgets in the app >> changes based on your window layout, so if you manage to snap the one >> holding the viewer window, and then change the order of the widgets at all, >> your 'pointer' variable to that widget is no longer valid (crash). >> >> That’s really the closest I’ve come to being able to save viewer content on >> demand, but there’s definitely a chance I’m overlooking something brutally >> obvious. >> >> -Nathan >> >> >> From: Gary Jaeger >> Sent: Thursday, October 20, 2011 8:55 AM >> To: Nuke user discussion >> Subject: [Nuke-users] render the GL view >> >> Is there a way to render out the GL view? I want to use the GL view of the >> PointCloudGenerator. Any tips? I nukepedia'd and googled but didn't come up >> with anything. >> >> -- >> Gary Jaeger // Core Studio >> 249 Princeton Avenue >> Half Moon Bay, CA 94019 >> 650 728 7060 >> http://corestudio.com >> >> >> _______________________________________________ >> Nuke-users mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> _______________________________________________ >> Nuke-users mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users Jerry Huxtable, Senior Product Designer The Foundry Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk Email: [email protected] The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
