rbesca Posted March 11, 2020 Share Posted March 11, 2020 (edited) hey all, I was trying to export some animated bounding boxes and I noticed that bound and bbox() give different P values, what causes this? I thought they'd be the same. I attached an example. It's not really a problem in my case but I'm confused. have a great week all and remember to wash your keyboards bboxexport_offset_question.hiplc Edited March 12, 2020 by rbesca Quote Link to comment Share on other sites More sharing options...
anim Posted March 12, 2020 Share Posted March 12, 2020 it's because Bounds SOP is actually building bounding box around the geometry that is fed in while by putting bbox to scale parameters you are merely scaling your unit box to the same dimensions, but you are still keeping it in the center of the scene, you need to also move the box to the center of the geometry bounding box to get the same result as bounds you can for example put this into transform2 Translate parameters centroid("../../geo1/explodedview2", 0) centroid("../../geo1/explodedview2", 1) centroid("../../geo1/explodedview2", 2) 1 Quote Link to comment Share on other sites More sharing options...
Noobini Posted March 12, 2020 Share Posted March 12, 2020 (edited) dims are exactly the same, it's just an offset. (if you enable radii in bound, the halflengths correspond exactly to the bbox vex snippets) - the box is EXACTLY centered at Origin. - the bound box is offset to where the centre of the cluster of balls is...not necessarily = Origin Edited March 12, 2020 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
rbesca Posted March 12, 2020 Author Share Posted March 12, 2020 oh gosh of course, centroid... read about that so many times thank you guys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.