Search - User list
Full Version: Wrong bounding box for copied packed spheres
Root » Houdini Indie and Apprentice » Wrong bounding box for copied packed spheres
davidassigbi
Hello world,

I’m very new to Houdini and losing my mind over this and really need some help 😅.

I’m 'working' in Houdini 21 and I’m running into a strange issue with Copy to Points.

When I copy spheres onto points that have additional rotation, the bounding box becomes completely wrong (much larger than it should be).

However, if I switch the copied geometry to a cube, the bounding box is perfectly correct.

Same setup, same rotations , only the primitive changes.

Is this expected behavior with spheres ? Am I missing something obvious about how Houdini computes bounding boxes for rotated spheres?
tamte
when geometry is packed you will get bounding box of the transformed bounding box of the original geo

so in your case try to replace your source sphere with it's bbox, then you will see that the final bbox on transformed geo is the same as it was for the packed sphere itself

otherwise the bounds sop would have to unpack all packed prims if it wanted to compute perfect bbox based on every packed shape contained
EZiniT
Hi David,

Deleted my previous post, the answer by Tomas clears up why it does what it does.

Forgot that I made a simple hip for you that has working solutions just incase you needed by packing
outside of the copy node where the bounding box looks like it works with a packed object as expected.


Image Not Found
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB