jit.gl.cornerpin and "tex_map 1"

joumik's icon

Hi everybody,
I'm finding very useful,
the "tex_map 1" attribute , in order to pick portion of a texture.
It works perfectly with videoplanes.

I don't manage to make it work with jit.gl.cornerpin .
Am I missing something ?

here is a small patch.
when toggling tex_map on 1, it seems to take the top-right pixel,
and make it the whole texture.

anybody has an advice ?
thanks :)

Mat

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

cornerpin does not support tex_map functions. simply capture a tex_map enabled jit.gl.videoplane to a texture with jit.gl.node and send that to jit.gl.cornerpin for further mapping.

Max Patch
Copy patch and select New From Clipboard in Max.

joumik's icon

thank you Rob,
I'll do that.
:)

Randall Packer's icon

@Rob... is it possible to somehow group the two cornerpins in the above example, either with another jit.gl.node or some other way? I am experimenting with jit.gl.cornerpin to build virtual sets with skewed virtual projection surfaces and it would be great to move the whole configuration as one. Thanks!

Randall Packer's icon

Here is a little demo I made of four "screens" that I would like to group together in a sub-context separately from the main context.

Max Patch
Copy patch and select New From Clipboard in Max.