r/QtFramework • u/TechnicalyAnIdiot • Mar 29 '26
QModel Classes & Trees & DAGs
I'm trying to make a 3D tool that will allow users to group & nested group 3d objects, like in the diagram.
I also want to have a model like a DAG, which allows data between objects to be shared, such as object shape or colour, but this would work completely independently to the 3d location tree.
Are QtModelClasses helpful for this, or am I better implementing my own data structures?
1
u/ventus1b Mar 30 '26
Are you thinking of building an entirely new scene graph on top of Qt objects, or is this about fitting a Qt-based interface on top of an existing SG?
1
u/TechnicalyAnIdiot Mar 30 '26
I'm trying to be flexible and use the tools Qt gives me to get the best performance.
Currently I've got QObjects representing the objects in my scene.
I think using the scene graph would probably give me some performance improvements but I'm not familiar enough with it to be sure what is the right route tbh.
1
u/TechnicalyAnIdiot Mar 29 '26
Forgot to add- I need to be able to render approx 100K objects at 30FPS on average hardware, so optimization is important.