BBOX Conform to changes ?

   1572   4   1
User Avatar
Member
766 posts
Joined: April 2014
Offline
I added a BBOX expression to an object (object B) and it's referencing another object (object A) I have since changed the depth / scale of (object A) since that change of depth / scale (object A) does not conform to (object B) bounding box; I was hoping it would adjust automatically ?
【T】【C】【S】
User Avatar
Member
2537 posts
Joined: June 2008
Offline
It is hard to say without seeing an example scene of the problem. Try moving the timeline to another frame?
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
766 posts
Joined: April 2014
Offline
There is only one additional node after the node being referenced. Moving the time line didn't work
【T】【C】【S】
User Avatar
Member
133 posts
Joined: July 2005
Offline
Not quite sure how are you attempting to match the bounds, but I attached one way (probably not the best one) to match obj A (sphere) to obj B (cube) bounds. It takes into consideration sop level bbox and multiplies it with obj level scale and sx,sy,sz. It also matches the position of obj A to the centroid of obj B.
Edited by el_diablo - Nov. 15, 2016 10:03:52

Attachments:
bbox.hip (88.2 KB)

User Avatar
Member
766 posts
Joined: April 2014
Offline
el_diablo, injecting a little math into the expression seems to have worked I'm still not satisfied even though it worked
Edited by _Christopher_ - Nov. 15, 2016 19:15:41
【T】【C】【S】
  • Quick Links