How to set pitvot center a group of primitive

   9764   5   0
User Avatar
Member
27 posts
Joined: April 2012
Offline
I really new in Houdini, i want to set pivot at center a group of primitives and
transform it.
User Avatar
Member
4702 posts
Joined: Feb. 2012
Online
If you want to transform them individually, you can use the Primitive SOP.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
User Avatar
Member
1390 posts
Joined: July 2005
Offline
moder
I really new in Houdini, i want to set pivot at center a group of primitives and
transform it.

EditSOP does it by default, it moves the pivot accordingly to input group. As to TransformSOP, there is a local variable $GCX/Y/Z, you can put into Pivot parameter for the same effect.

hth,
skk.
User Avatar
Member
27 posts
Joined: April 2012
Offline
SYmek..I try $GCY and it is what it want, thank you all.
User Avatar
Member
76 posts
Joined: Sept. 2011
Online
Does anyone know if there's an easy way to rotate a primitive about it's normal?
User Avatar
Member
2 posts
Joined: May 2016
Offline
Do you guys know if the $GCX-Y-Z uses the area of the faces?
I'm having a hard time trying to redo a script from max with SOPs.

Example:
- Geometry with a fuse SOP to make each point unique.
- Apply a primitive SOP to do a transformation and scale to zero. This will give a clump of points at the center of each primitive.
- Do assemble SOP, forEach loop then apply a transform SOP of the same previous geometry, transform SOP allows for using both $CEX or $GCX expressions pivots. Scale to zero. The outcome is not the same as the previous case.

The reason for using the area is because points shared between big triangles should contribute more to the average position compared to lots of tiny triangles.
  • Quick Links