Forums > Jitter

jit.repos – exp and log mapping

September 11, 2011 | 11:53 am


I repositioned the picture with exponential map using jit.repos. Now I want to reposition it back to the original, also with jit.repos. Some log. mapping I guess should work but I can’t figure it out…

In the patch below I want the original picture in the third jit.pwindow. At the moment I am using the same exponential map 2 times, so the 3. picture "super stretched". Please see the subpatcher spatMap 2 inside subpatcher logMap.

Thank you for any help/hints,…

– Pasted Max Patch, click to expand. –

September 11, 2011 | 1:21 pm

case closed, i have the solution. the problem was that i didn’t know how to implement log with base different than e or 10 in Max. Volker Böhm told me the trick in some other thread. So here is the correctly working patch if anyone is interested:

– Pasted Max Patch, click to expand. –
Viewing 2 posts - 1 through 2 (of 2 total)