Hi; On Tue, 2007-10-23 at 17:24 +0200, Florent THIERY wrote: > > I noticed two strange things using the get_snapshot() call: > * If i use a keyboard callback to take some snapshot on the screen > everything goes fine. However, if i use a click triggerer, the > captured pixbuf is black. Does it sound like a normal behaviour ? The > called function is exactly the same, as well as the parameters... > * i also have a video texture with a text label over it. First i > change the label, then i capture it with get_snapshot; the captured > pixbuf seems to reflect the last video texture, but the captured label > is not the updated one. Does it sound like a timing issue ? > > I also tried to use a capturing timeline triggering a video texture > screen capture every 1/25th of second. It does work (for now i store > the captured images as bmp/jpg files); i guess this is related to the > non-synced nature of timelines (which i'll soon be working on), but > approx 1 frame out of 2 shows the underlying layer. I intend to feed > some gstreamer src element, i'll report when i get some updates. This > could be useful for creating screencasts in clutter ! >
Are you using trunk or 0.4 and calling clutter_actor_at_pos ? There sounds like there could be a synchronisation issue between the picking and reads. Also reading from GL Framebuffer is generally slow - you will likely need a very fast machine to the above well. Also see http://www.neopsis.com/projects/yukon/ which has worked pretty good for me in the past. == Matthew -- To unsubscribe send a mail to [EMAIL PROTECTED]
