Jack escribió:
Is it what you are looking for ?

Well, since I use Windows pix_share_write and read don't work, but I guess I could do the same without those objects.

Yes, this is one approach. I was looking for another approach that wouldn't involve taking snapshots of the scene and adding them as textures, but I guess this is the only reasonable way of doing it (in gem)

thanks.


By the way, another question...

Suppose I have an image stream from the camera of WxH pixels, and I have to create a (N*W)x(N*H) image composed by an NxN "grid" where each element of the grid is either a copy of the camera image (possibly manipulated) or an empty all-transparent image (i.e. WxH pixels with alpha=0). So the resulting image has some transparent regions (rectangles).

Now, given that this image has to be blended with another one (which is indeed a previous snapshot of the same input), what approach would you recommend: A) Use several [rectangle]s on a plane, get a snapshot of the framebuffer and put it into a texture B) manipulate the camera input as pix, or as texture, and compose a bigger pix, so only at the very end, for displaying, you would use a rectangle
?


Thanks
m.



--
Matteo Sisti Sette
[email protected]
http://www.matteosistisette.com

_______________________________________________
GEM-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/gem-dev

Reply via email to