magneto Posted September 17, 2012 Share Posted September 17, 2012 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 Quote Link to comment Share on other sites More sharing options...
Solitude Posted September 17, 2012 Share Posted September 17, 2012 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 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 17, 2012 Author Share Posted September 17, 2012 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. Quote Link to comment Share on other sites More sharing options...
Solitude Posted September 17, 2012 Share Posted September 17, 2012 (edited) 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 September 17, 2012 by Solitude 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 17, 2012 Author Share Posted September 17, 2012 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. Quote Link to comment Share on other sites More sharing options...
Solitude Posted September 17, 2012 Share Posted September 17, 2012 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. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 17, 2012 Author Share Posted September 17, 2012 Sorry I meant velocity I wish we could see the handles used for built-in ops using the Type Properties dialog even if not editable. Quote Link to comment Share on other sites More sharing options...
edward Posted September 18, 2012 Share Posted September 18, 2012 Hscript Texport: ombindinfo -t sop clip 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 18, 2012 Author Share Posted September 18, 2012 Edward you are a genius, thank you Quote Link to comment Share on other sites More sharing options...
edward Posted September 18, 2012 Share Posted September 18, 2012 You're welcome, but definitely not. Knowledge expert perhaps, but then I've got an unfair advantage 1 Quote Link to comment Share on other sites More sharing options...
Solitude Posted September 18, 2012 Share Posted September 18, 2012 Hscript Texport: ombindinfo -t sop clip Sweeeeeet. Thx. That's def some useful information. Quote Link to comment Share on other sites More sharing options...
magneto Posted September 19, 2012 Author Share Posted September 19, 2012 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? Quote Link to comment Share on other sites More sharing options...
edward Posted September 19, 2012 Share Posted September 19, 2012 Offhand, I'm not sure what the behaviour is. You can probably get away with not binding its group at all. Or, you can try binding it to some invisible string parameter that has no value. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted September 19, 2012 Author Share Posted September 19, 2012 (edited) 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 September 19, 2012 by magneto Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.