SOP to orient/align a poly to ortho axes
647 2 0- element33
- Member
- 74 posts
- Joined: Jan. 2015
- Offline
Is there a SOP (either native, or Labs or qLib) that will take a rectangular poly, floating in space at some strange angle, and align the sides of the poly to major axes (whichever)? I can compute the poly's normal and use it with "dihedral" in vex, but I wonder if there's a native SOP just for this.
- animatrix_
- Member
- 4515 posts
- Joined: Feb. 2012
- Offline
You can use Bound SOP (Rectangle) and Extract Transform SOP to do this:
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 | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- element33
- Member
- 74 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links