How to deform only a specific part of a Sphere SOP

Hello.
I’ve created a wobbly sphere using Sphere SOP and Noise SOP, as shown in the example image below.
Now, I’d like to make the top-right area of the sphere dent inward when I click it (or when an input value is triggered).

Is it possible to achieve this kind of localized deformation in TouchDesigner — like the blue dotted line in the image, where only a specific part of the sphere is pushed in?

I’ve tried several approaches, but I haven’t been able to figure it out yet. I’d really appreciate any guidance!

See the examples under Help → Operator Snippets → Clay SOP

1 Like

Thank you for your response. I’ll give it a try!


I have another question while using the Clay SOP. As you can see in the image, there’s a sunken area. I’d like to make that deformed area larger, but I’m not sure how to do it properly. I’ve tried a few things, but I haven’t found the correct method yet. Could you help me with this?

On the node’s docs page Clay SOP - TouchDesigner Documentation
it says:

In all cases it is possible to reduce to amount of change by inserting a Refine SOP before the Clay SOP and inserting detail around the target point. For other ways to increase the locality of the deformation as well as its sharpness, see U and V Sharpness below.

So from that I’d say try decreasing the detail of the original sphere, and/or play with the U V bias/sharpness parameters.