Stick one Part of an Image

Moin guys.

I want one part of a picture to stick in one place while the other part of the picture is stretched.

So for me it is about Bongocat V2 to be precise. Would like to recreate that with my own cat. I have all elements, like mouse, arm, body etc. individually. Now I just have to somehow stretch the end of the arm on my own without the attachment point on the body being stretched too. Hope you understood me.

There’s lots of ways to get the effect I think you’re imagining, but the cleanest would be to make still image composites for each frame possibility you’re interested in, and cue them individually. While totally possible in TouchDesigner, this sounds like more of a photoshop job for creating those individual frames, with the playback happening in Touch.

That said, you could experiment with creating masks over the original image and compositing altered versions with keying, extreme transformTOP manipulation, or perhaps employ the Corner PinTOP to get some of the variation you’re looking for

1 Like

I’ve already done that with Photoshop because I’m very familiar with Photoshop.

So the path you showed me looks very good. That should be enough. Thank you!

But now I have the next question…^^ Is there a way to get data from a mouse in component if touchplayer is not the active window? So when another window is in the foreground…?

There is a secret to this too, not using a mouseinCHOP, but rather some external python libraries and an executeDAT running every frame to get the mouse data from the windll python lib.

I only know of this because i recently needed to do something similar, and found a ready-to-use solution rolled by @nettoyeur in the following forum post:

1 Like

Very cool. Thank you for your quick reply. I’ll try it out later. :slight_smile: