Remove large resources from the application. #16
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This removes several 3D models that were stored using the Qt Resource system. By removing these models builds are much faster and the executable size was reduced from ~250MB to ~25MB.
All of these models were used for the example scene shown in the README screenshots. That scene can still be built by setting the
QTK_GUI_SCENE=ON
cmake option. When this option is set, we will clone a repository that contains the models and then they're loaded from disk when the scene starts. This wasn't tested or intended for packaging into a release, it's meant to be used only for development. In the future since we haveQtkIOSystem
it's possible we'll add some basic objects for toying with shaders that aren't so large on disk.The release artifacts on GHA CI will now provide an empty scene with no objects or examples. The only exception is the default skybox seen in the README, which still exists in the empty scene - without it, we have a quite ugly opengl canvas. Eventually we can add support to customize the skybox, but without that piece I don't see any point in ripping out the default skybox.
This also refactors a lot of the code to organize it into the separate qtk components. Eventually libqtk can be removed from this project entirely and we can use
FetchContent
in cmake to obtain libqtk.Enables single-click to show an object's details in the desktop application. Double-clicking an object will snap the camera to it's position in the scene.
Qtk and all it's components can now be built with Qt 6.4.2 provided by Ubuntu 24.04 apt package
qt-base-dev
. The README instructions have been updated to show this option, though it's still possible to bring your own Qt binaries if you'd like a newer version.This PR is polluted with a lot of reformatting from clang-format changes. In the future keep the PRs smaller and avoid changing clang-format rules on a branch where I'm making other changes. It really makes things hard to look back on.