Jump to content

What handle does Clip SOP use?


magneto

Recommended Posts

Hi,

I am trying to add my asset the same handle Clip SOP uses but couldn't find it after trying half of the handles.

What's the name of the handle it uses? Closest I found was distance but still not the same.

Thanks :)

I think it's the velocity handle... or it could always be more than one

  • Like 1
Link to comment
Share on other sites

Thanks Solitude, velocity seems to be it. I couldn't make it bigger though. There is a scale parameter and I set it to 10 just to test and it didn't change anything. Do I have to create a parameter for this? I just wanted to use a fixed value now to test.

Link to comment
Share on other sites

Thanks Solitude, velocity seems to be it. I couldn't make it bigger though. There is a scale parameter and I set it to 10 just to test and it didn't change anything. Do I have to create a parameter for this? I just wanted to use a fixed value now to test.

I think I figured it out.. I'm guessing they are using Distance and Vector. If you use vector and put v and t to some parms on the object, then also use that same set of parms in the distance's v and p (referencing t), the distance will match the direction and position from the parms/vector handle, not set them. You can then still use dist from the distance. Hopefully that makes sense. :)

Quick Edit: they should really clarify some of that better / make handles easier / better documented, etc.

Edited by Solitude
  • Like 1
Link to comment
Share on other sites

Thanks Solitude, but the vector already has those red circles, no? You are right, it's confusing :)

Check out the TransformAxis' handle to see another version which I thought is vector + distance handles together.

No, vector doesn't, velocity does though, but the scale doesn't seem to do anything like you had said.

  • Like 1
Link to comment
Share on other sites

Btw I noticed Clip binds its group to Input which seems to control the scale. But what if you don't have a group like in a generator SOP? I tried using * inside the Input field but same result.

Should the handle automatically assume "everything" if nothing is connected to Input?

Any tips on this? :)

Link to comment
Share on other sites

Thanks Edward, good tricks. I tried both but still same size. I switch the active tool btw because that's the only way to refresh the handles. So I switched to select tool and back after applying the changes so I am seeing the latest handle, but size didn't change.

To see the difference, if you add a Distance handle like in the Clip SOP, you will see its size is 1x1, whereas Clip SOP's Distance handle scales by the maximum bounds of X and Z.

Also based on the output of the command you told me, it can't be vx, vy, vz that controls the size, since they control the direction, neither can tx, ty, tz. Dist is the vertical distance along Y which is 0, so that's not it. There is only the Input parameter left for the Distance handle that has to control the size.

Else I don't know how it does that, unless there is special code for it inside Clip, TransformAxis and other operators using it.

Edited by magneto
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...