Namespaces

Variants
Actions

jit.gl.cornerpin

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
({{maxword|name=jit.gl.cornerpin}} Tips and Workarounds)
Line 37: Line 37:
 
r8.uzc1PoaWJQb380AvI8vbhtPywIVgVU8Ilpt4UBVhQA1KNAOwSflbgqIHT
 
r8.uzc1PoaWJQb380AvI8vbhtPywIVgVU8Ilpt4UBVhQA1KNAOwSflbgqIHT
 
xSw9De23gaDvipLxxzFMY1qGyJ1ZaZrQXtYd953+Ek1kZbA
 
xSw9De23gaDvipLxxzFMY1qGyJ1ZaZrQXtYd953+Ek1kZbA
 +
-----------end_max5_patcher-----------
 +
</code></pre>
 +
</maxpat>
 +
 +
{{maxword|name=jit.gl.cornerpin}} can be manipulated using the mouse or by sending explicit coordinates. Often you want to use a combination of both and move between the two methods seamlessly. Further, after painstakingly finding the perfect fit, you will probably want to be able to save the state of the patch so you don't have to go through the whole process every time you set up. This example shows you one easy way to make this happen.
 +
<maxpat>
 +
 +
<pre><code>
 +
----------begin_max5_patcher----------
 +
2698.3oc6cssaqiaE84juBBi9PKPZf3McYPQwL8GnuLnuzovf1h1VmXK4pKG
 +
GOCl+8xaxQNwRhJQlibRANm3XQY5sVbs26E2hT42t+tYKxdlWLC7Cf+M3t69
 +
s6u6N0gjG3Ny6ua1N1yK2xJTm1rkY61wSKm8ftsR9ykpiypJy1yJKyA7m2mU
 +
vK.rsaAYq.YU4fT1NdLX01rzpcEfxLP4FNPc1EkY4r0bP1huwWV9Xc2tMIku
 +
LqJU02XyAWkudg78dO5YNx9bdgvXXkIYoyyEcf9JwOBKNEfOAJewy7Cv+w7o
 +
VTsXwV99rDc268Hwut+XkK2jjttYegQORE8EJR9BLT0aTRitKIVA.hqf+ZHt
 +
9BXUVZo7pV0zOkmv1V2h.BRR2xKUvI7LSp4QDmVVUY8440naKR9U8YJtHkG8
 +
2u+d4OdvxAvT9AgoVaMemkexLqfDeOOLBiZezstEssUdbOWCSyl8Pi+eBat.
 +
f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OsPmoEUFNsPG307tboWRTr86+NOuvzkJKY1N12xTqnJ
 +
0evBlsKIU+V05vZVN+6I0muZaxNikubSRIeYYk9OjmydNze18xume+9+GE5f
 +
wlC
 
-----------end_max5_patcher-----------
 
-----------end_max5_patcher-----------
 
</code></pre>
 
</code></pre>

Revision as of 16:19, 17 July 2013

Contents

jit.gl.cornerpin online refpage

Using the jit.gl.cornerpin object

jit.gl.cornerpin allows for mapping of textures and matrices to an output window by repositioning the window corners - essentially a software keystoning mechanism. This can be useful in basic projection mapping, when projecting from odd angles, or when keystoning is inadequate.

jit.gl.cornerpin Tutorials

jit.gl.cornerpin Tips and Workarounds

When creating OpenGL scenes that need to be software keystoned before final output, you can render the scene to a jit.gl.node and send the entire thing into jit.gl.cornerpin before passing it on to the final render window. This simple patch by forum user DigitalFX does a good job of demonstrating this technique:

-- Pasted Max Patch, click to expand. --

jit.gl.cornerpin can be manipulated using the mouse or by sending explicit coordinates. Often you want to use a combination of both and move between the two methods seamlessly. Further, after painstakingly finding the perfect fit, you will probably want to be able to save the state of the patch so you don't have to go through the whole process every time you set up. This example shows you one easy way to make this happen.

-- Pasted Max Patch, click to expand. --

Third-Party Max externals similar to the jit.gl.cornerpin object

VPT (Video Projection Tool) is a free, multi-purpose video projection mapping tool by HC Gilje. http://hcgilje.wordpress.com/vpt/

Maxobjects.com listing for the jit.gl.cornerpin object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)