Distorting a matrix?
Sep 15, 2006 at 5:44am
Distorting a matrix?
First off, I’d like to introduce myself. I’m a student at a local Singaporean university and I’m enrolled in an interactive media course. My current term project is to create a distortable live-feed video (of someone’s face), and I’ve been stymied by the steps required.
My first experiment is cutting the feed up into a grid of 3×3 matrices (@rows 3, @colums 3) and then distorting each of them with zoom. However this presents several problems:
1. Each cell created with scissors is of a fixed matrix dimension (I’m using 160 x 120 for now), and if I distort the video, the maximum viewable area of the matrix doesn’t change, so it gets cut off.
2. If I expand the matrix size and adjust the initial settings, I can distort the image to my liking but the 3×3 display glues together incorrectly with lots of dead space at the default settings.
Is there any way of actually adjusting/resizing the matrix itself in real time, or am I doing it all wrong to begin with? (Actually I think I’m doing it wrong.) I’ve only had a month’s experience with this and I can’t find anything in the tutorials/documentation that might help.
The final program will be hooked up to IR or Motion sensors embedded in a surface so when a hand moves over them they will track the movement and ‘drag’ the matrix along accordingly. There will be a blue screen, so after chromakeying there won’t be a background to bother with.
Thanks for any help given,
Sep 15, 2006 at 6:33pm
I would suggest you look at jit.repos, and generate a spatial
Otherwise, if you do want to follow the scissors glue route or some
Sep 16, 2006 at 11:28am
in addition to what joshua suggested, you might want to check this out:
#P window setfont Geneva 14.;
Sep 18, 2006 at 1:24am
Cool. I’ll get my current patch up… been working on it and I think I just found the message box parameter that changes matrix size. Still doesn’t solve my problem but I’ll try the others ASAP.
Sep 20, 2006 at 12:48am
You must be logged in to reply to this topic.