Hi,
Is there a way to reference the bounding box size of a group within a primitive without blasting that primitive group ?
In my specific case I would like to Xform just the group on Y according to it's Y size
"bbox(0,D_YSIZE)" considers the entire primitive Ysize and not the group entered above in teh group field. Is there a dedicated expression or a workaround to do so ?
Thank you
Bounding box size of a group
321 3 0- Chawki
- Member
- 4 posts
- Joined: Jan. 2018
- Offline
- vicvvsh
- Member
- 47 posts
- Joined: April 2016
- Offline
Hi,
you can use Match Size SOP [www.sidefx.com] for this, check on "Use Groups to Determine Justification Bounds" parm and choose primitive group in "Source Group".
Or use Attribute Wrangle SOP and vex functions getbbox_size() [www.sidefx.com], getbbox_center() [www.sidefx.com]
you can use Match Size SOP [www.sidefx.com] for this, check on "Use Groups to Determine Justification Bounds" parm and choose primitive group in "Source Group".
Or use Attribute Wrangle SOP and vex functions getbbox_size() [www.sidefx.com], getbbox_center() [www.sidefx.com]
- animatrix_
- Member
- 4544 posts
- Joined: Feb. 2012
- Online
Chawki
Hi,
Is there a way to reference the bounding box size of a group within a primitive without blasting that primitive group ?
In my specific case I would like to Xform just the group on Y according to it's Y size
"bbox(0,D_YSIZE)" considers the entire primitive Ysize and not the group entered above in teh group field. Is there a dedicated expression or a workaround to do so ?
Thank you
Hi,
For max performance I would recommend using the Bound SOP and then referencing this node in your bbox expression.
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
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- Chawki
- Member
- 4 posts
- Joined: Jan. 2018
- Offline
animatrix_Chawki
Hi,
Is there a way to reference the bounding box size of a group within a primitive without blasting that primitive group ?
In my specific case I would like to Xform just the group on Y according to it's Y size
"bbox(0,D_YSIZE)" considers the entire primitive Ysize and not the group entered above in teh group field. Is there a dedicated expression or a workaround to do so ?
Thank you
Hi,
For max performance I would recommend using the Bound SOP and then referencing this node in your bbox expression.
WOnderful !
Thanks
-
- Quick Links