Replies: 1 comment 2 replies
-
@VolkerEnderlein Sorry to ping but i'm not sure GH discussions are actively followed. 😄 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Writing here because I'm currently facing an issue that I can't work around.
In a project (namely FreeCAD, we have a custom class that subclasses SoShape.
The problem there is that the bounding box of the shape is depending on its rendering (more precisely, the bounding box is varying depending on the camera position/orientation/focal/zoom, as well as the rendering is).
By tracing the code calls, I found that
computeBBox
isn't called for example on zooming the view, which is a problem in our use case as the bounding box is changing.Would there be a (direct or indirect) way to ensure that bounding box of shape is requested (recomputed) on each view change ?
I'm thinking to things like:
computeBBox
on any camera change ?Any help welcome. 😄
TIA
Beta Was this translation helpful? Give feedback.
All reactions