[GEM-dev] stereoscopic view and render order

IOhannes m zmoelnig zmoelnig at iem.at
Mon Jan 11 14:03:49 CET 2010


Max wrote:
> if you connect the gemhead in [pd line] it displays a horizontal line to indicate where the image is read.
> but since the green is rendered after it blocks the reading - see the tables after enabling the line.
> is there a solution or workaround for this? meaning still showing a line, but having a reading in the green channel.
> i've tried making the gemhead negative or the line blue but that doesnt' help.


i see. (since there are no speakers connected, i didn't hear...)
i completely missed the pix_snap/pix_data part.

anyhow.

when doing stereoscopic rendering, each [gemhead] will emit 2
rendermessages per cycle.
the first message is for the left eye, the 2nd is for the right eye.
the result you get are for the 2nd eye, since you simply overwrite the
1st value you get.
so: by intelligent use of [spigot]s, [delay]s and whatnot you can make
sure that only the left (first) view is taken into account (before the
annoying rectangle is rendered).

the even simpler alternative would be to change the rectangle:
either make it a rectangle outline (so the actual values are still
visible), or move it a bit, so the pixels read are "just" visible...

bmadsr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20100111/f5ecec3d/attachment.bin>


More information about the GEM-dev mailing list