Constraints in houdini

   6181   11   5
User Avatar
Member
65 posts
Joined: 11月 2013
Offline
If it doesn't already exist, someone should make a masterclass on doing constraints and constraint like actions in Houdini. For the life of me, every time I go looking for information on doing a three point orientation constraint in SOPs, I get frustrated and give up.
User Avatar
Member
402 posts
Joined: 6月 2014
Offline
Hi hibtachi,

I haven't come across the idea of a three point orientation constraint yet… what's the idea behind that?
Henry Dean
User Avatar
Member
83 posts
Joined: 2月 2016
Offline
Constraints, Rigging.. the whole thingamajig
User Avatar
Member
402 posts
Joined: 6月 2014
Offline
Ha! Cool. I was mainly wondering about what the three point orient constraint was for, and what the problem could be
Henry Dean
User Avatar
Member
65 posts
Joined: 11月 2013
Offline
Maybe it is not a “thing” but what I call a constraint that needs three points to derive orientation, rotation, and transformation.

Usually I need it taking something moving and rotating, that I have to slap an emitter on. What I usually come across is someone trying to tell me I can do it at object level. I'd like to know how to do it in SOPs. I'm assuming it's through some expression work or VOP/Wrangle nodes.
User Avatar
Member
402 posts
Joined: 6月 2014
Offline
Hmm, it's really hard to know what exactly you're after without an example, but it's well worth taking a look at the lookat() function in VEX, it calculates the same things as a obj level lookat constraint but returns a transform matrix instead that you can use to modify the position or other attribute.

Hope that's useful
Henry Dean
User Avatar
スタッフ
4200 posts
Joined: 9月 2007
Offline
Check out the Constraints shelf. I used the LookAt and Points tools to make this scene, though I had to setup a point group on the torus, and fiddle with the Point Constrain Look At / Look Up (see /obj/teapot/constraints/points). Hopefully this little example helps a bit. Check out the the constraints chop networks inside the torus and sphere objects to see what those shelf tools create.

There are some rigging masterclasses in the works by SideFX, which will be excellent.

Attachments:
constr_lookat_example.gif (1.8 MB)
constrain_rivet_lookat_example.hip (196.0 KB)

I'm o.d.d.
User Avatar
Member
2129 posts
Joined: 9月 2015
Offline
This may be what your looking for…

http://www.tokeru.com/cgwiki/?title=HoudiniVex [tokeru.com]

just scroll down page where it starts with “Get transform of objects with optransform”.
User Avatar
Member
65 posts
Joined: 11月 2013
Offline
BabaJ That is the kinda stuff I'm talking about.

I appreciate all the suggestions everyone.
User Avatar
Member
9 posts
Joined: 6月 2017
Offline
I've a hard time understanding how to use and setup constraints and constraint networks as well. The documentation doesn't really help since it doesn't give a good overview and no use cases. An answer like “The Constraint Object Pretransform CHOP returns an Object pretransform.” about the question “What is a Constraint Object Pretransform?” doesn't help me as a beginner at all.
User Avatar
Member
8043 posts
Joined: 9月 2011
Offline
Did you try searching for ‘Pretransform’?

http://www.sidefx.com/docs/houdini/basics/objects#pretransform [www.sidefx.com]
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
The Rivet object is another (old-school) option.
  • Quick Links