[Interest] Centering camera on bounding volume change in Qt3D
maxime.roussinbelanger at gmail.com
Sun Mar 26 08:38:38 CEST 2023
On Sat, Mar 25, 2023 at 11:55 AM Mike Krus <mike.krus at kdab.com> wrote:
> > On 25 Mar 2023, at 15:04, Maxime Roussin-Bélanger <maxime.roussinbelanger at gmail.com> wrote:
> > Hello,
> > The entity change is caused by user input, the user moves the mouse over the entity and changes its shape, or it can use
> > a menu to change the entity shape. I think I would have to inject the camera into _every_ entity object?
> If the user moves the mouse, something in your application must be changing the shape, that can also reset the camera…
> I think I need example code of what you are trying to achieve.
I don't want my entities to know about the camera, ideally, I would
like the system, qt, to tell me that the bounding sphere has changed
in some ways.
More information about the Interest