[PD] [gemwin] - Storing window-shots and changing view?

IOhannes m zmoelnig zmoelnig at iem.at
Tue Dec 13 09:24:02 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-12-12 22:19, Sebastian Valenzuela wrote:
> Hi everyone,
> 
> I have two big questions regarding the graphics object [gemwin]:
> 
> How does one change the focus of the graphics window?
> For example, we are using a computer video camera to look at the surface of
> a pepperoni pizza (in real time), but i want to change the view so that all
> you see is one pepperoni slice in the graphics window (still a square
> window/image).
> 
> Also, How does one go about temporarily storing an image/frame of the live
> video going through the graphics window object?
> For example, now that i have the piece of pepperoni in view, i want to
> capture ONLY this portion of the entire pizza/live video stream.
> 
> I am new to [gemwin], but would like to implement it into an audio/video
> installation due next week. Any help would be greatly appreciated!

if you are new to [gemwin], you might want to checkout the help-patch of it.

it should mention something along the lines of "view".


for your 2nd problem you might want to have a look at the
examples/02/*snapshot* patches.
in short [pix_snap(2tex)], [pix_write(r)] and [pix_record] are the key
objects here.

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7nC54ACgkQkX2Xpv6ydvSXuwCgwWMdZDdVZBJbKc4aPdb3cNVm
mxsAni7Sx7CvWdHFhuA73In9yTRWhmf0
=/nuW
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111213/ab12a0ee/attachment.bin>


More information about the Pd-list mailing list