Forums > Jitter

Cornerpins and keystone

August 17, 2011 | 8:26 am

Hi there,
please first excuse me for my approximative english.
I red some topics about keystone and cornerpins :

It appears to me that the result does not follow the perspective's rules. I mean that using or is not a proper solution to achieve a keystone : it creates distortion on the source that are not acceptable.
Have a look at my examples below (2).
Beside, of course, using (3) produces correct results.
And there's a tool in Photoshop, named 'distortion' (in the french version), that allows you to use cornerpins and produces a correct result (4).

So, my questions are :
Is there some jitter object which could make correct keystone by using cornerpins ?
Any idea what sort of maths I should implement into a patch using to get the good result ?

Many thanks,


  1. keystonedemo.jpg

August 17, 2011 | 10:33 am

Hello Eric,

Thanks for addressing this bug.
It was already discussed here:

But there seems not a proper solution.
Hopefully cycling will fix these bug soon.
Or is it a feature :-)


August 17, 2011 | 2:36 pm

Thanks KS,
it does not appear to me as a bug, but it would be a nice feature.
Waiting for Cycling’74 is nice, but does anyone have an idea about some maths that could be implemented in a .maxpat ?


August 19, 2011 | 10:51 am


I think this is definitly a bug.
There is no software on the market,
which deforms the content in that way.
i personally testet: Photoshop, Final Cut Pro, After Effects, Module8, Resolume, Open Frameworks …

Is there someone, who needs this strange deformation ?

From my point of view this should be fixed.

Just my 2 cents,

August 19, 2011 | 4:47 pm

here is a sample project with sources, how to do a proper distortion with openframeworks:

here is a screenshot made with this project: flag_openframeworks.jpg

perhaps you can do your project with of.
its a shame, that we can not manage such a simple job with jitter :-(


  1. flagopenframeworks.jpg

August 20, 2011 | 1:24 pm

Many thanks dupecom.
Unfortunatly, I’m unable to do anything with c++.
But perhaps someone could implement this code into a max object that could be named jit.keystone ?
That would be so nice !


August 24, 2011 | 5:01 pm

+1 for the

August 25, 2011 | 10:58 am

Hello C74,

I am a jitter user and i want to realise a video mapping project this year.
For doing this it is very important to have a proper keystone distortion of
the movies.

My question is: Are you going to fix this issue with the next version of max ?
It would be great to get an answer, so i could plan which technology i have to use.


August 25, 2011 | 11:49 am

I’m interested in this answer too, for similar reasons.

August 25, 2011 | 11:55 am

Perhaps an easy solution would be to let us adjust the corners of a

August 25, 2011 | 2:21 pm

+1 for this feature on videoplane and others. :-)
for same reasons than others. ;-)

August 26, 2011 | 1:43 am

I’m so pleased to see there’s so many people interested in this feature.
Working with videoplane would be less interesting than with nurbs : for video mapping, you also need to be able to adjust barrel correction and some other geometry.
The more advanced solution is probably the Watchout’s tool (have a look at the .pdf below). Well, license is EUR 1624,00 per computer…

August 26, 2011 | 2:13 am

Our team presents a monumental show these days, with video mapping, lights, sound and pyro. You can see some photographies here :é-2011-à-Laon-02/235710029804812?sk=wal
or here :

Place : Laon’s cathedral, Laon 02, France
Projection with 4 Barco
4 mac mini to display the movies
I created the soft that drives the show thanks to MaxMSP/Jitter. Server and clients, via ethernet. A Macbook Pro drives the 4 mac mini via timecoding, and add geometry correction thanks to It drives ProTools (for the sound) via midi timecode and also send timecode for the DMX.
Finally, all is working perfectly.
Snapshots attached.


[attachment=169661,2570] [attachment=169661,2571]

  1. vnserver02.jpg

August 26, 2011 | 2:56 pm


been doing videomapping with max for ±3 years now

all done with max/msp

at first i also tried do do it with nurbs or quads .
finaly i just culculated a vertex grid in a matrix and corrensponding texture matrix

can control the gui with my ipad by using touchosc


  1. mjmap.png

August 26, 2011 | 11:43 pm

Hey, this one seems to be very interesting ! Nevertheless, I’m not sure to be able to reproduce… ???
What is the small form at bottom left standing for ?

August 27, 2011 | 12:37 am

the interface shows all of the mapped shapes at the same time . ( in this screenshot there are just 2)
I did do shows/setups with >20 shapes

like this one
which is done with two projectors

August 28, 2011 | 12:55 pm

I also vote for the feature. Nice to hear that there are solutions out there but what about sharing them?

September 5, 2011 | 5:47 pm

+1 for sharing. :-)

Viewing 18 posts - 1 through 18 (of 18 total)