Objects and components #6

Open
opened 2022-11-20 19:56:44 +00:00 by shaunrd0 · 0 comments
Owner

It may be nice to create a QTKO base class for all object-like classes that can exist in a scene. This object should provide the basic features required to describe the object, such as Name, Type (MeshRenderer, Mesh, Model, etc), QDebug display formatting, and so on.

This class should not contain more specific features, such as retrieving shader source code, shader type, etc. It's meant to be as generic as possible, a sort-of a metadata like class that just provides context on what it is and nothing else.

Similarly, a QTKC base class for all component-like classes that can be attached to objects. This could provide better organization and make it easy to implement useful functionality or state in the future to extend object behavior.

This would ideally be separated into two separate PRs to keep the changes smaller. This is simple conceptually but it will require tweaking on lots of Qt connections, signals, and slots. This will also require working across libqtk and the desktop application.

It may be nice to create a `QTKO` base class for all object-like classes that can exist in a scene. This object should provide the basic features required to describe the object, such as Name, Type (MeshRenderer, Mesh, Model, etc), QDebug display formatting, and so on. This class should not contain more specific features, such as retrieving shader source code, shader type, etc. It's meant to be as generic as possible, a sort-of a metadata like class that just provides context on what it is and nothing else. Similarly, a `QTKC` base class for all component-like classes that can be attached to objects. This could provide better organization and make it easy to implement useful functionality or state in the future to extend object behavior. This would ideally be separated into two separate PRs to keep the changes smaller. This is simple conceptually but it will require tweaking on lots of Qt connections, signals, and slots. This will also require working across libqtk and the desktop application.
shaunrd0 added the
enhancement
label 2022-11-24 01:30:33 +00:00
shaunrd0 added
hard
libqtk
and removed
enhancement
labels 2025-04-12 16:47:08 +00:00
shaunrd0 added the
qtk_gui
label 2025-04-12 16:49:44 +00:00
Sign in to join this conversation.
No description provided.