B. Bogart a écrit :
Hi Jack,
The image I'm wanting to get from the framebuffer into pix_ domain is not, and should never be, rendered to the gemwin.
Unless I can render stuff to the gemwin that we can't see in the gemwin, I don't see how pix_snap can help.
you can render stuff to the gemwin that we can't see.
you just need to draw everything / snap / clear depth and color buffer / draw somthing else.
cyrille
I suppose a workaround could be using a gemwin sized black rect to break the scene into two chunks, with two sets of render priorities, but that seems like a terrible kluge.
I think a pix_snap for framebuffers is a useful idea. pix_tex2pix?
.b.
Jack wrote:
AFAIK pix_snap will only snap the gemwin, not the gemframebuffer itself? Or is this wrong?
Wrong, [pix_snap] snap 'things' rendered before it receive a bang. So you can see all your scene in the gemwin and snap only one part. This is the same with [gemframebuffer]. You can snap only one part of the [gemframebuffer], that depend of the order of the rendering. Then you don't snap 'things' in the gemwin.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev