Commit Graph

38 Commits

Author SHA1 Message Date
Shaun Reed 2476d125f7 Fix drag and drop model loading 2023-04-29 10:02:40 -04:00
Shaun Reed 5118726cde Merge branch 'builds' into drag-and-drop 2023-04-14 14:50:10 -04:00
Shaun Reed b3f9e3230e clean up 2023-04-09 21:44:27 -04:00
Shaun Reed f5de113c9a Clean up cmake options 2023-04-09 20:41:02 -04:00
Shaun Reed 98793f7a75 ci
+ Windows failure fixed by
https://codereview.qt-project.org/c/qt/qtbase/+/468903
https://bugreports.qt.io/browse/QTBUG-112204
2023-04-09 18:21:32 -04:00
Shaun Reed be69d2d242 Add packaging for example app
+ Update CI workflows
2023-04-02 11:43:59 -04:00
Shaun Reed fc1ded833d WIP 2023-04-01 12:43:30 -04:00
Shaun Reed e889785b65 Improve cmake and GUI (#13)
+ Packaging and CI for Windows, Mac, Linux
+ Debian package, NSIS Windows installer, OSX appbundle
+ Example application using libqtk
+ Component installation for `qtk`, `libqtk`, or `collection` with cmake
2023-03-12 02:02:26 +00:00
Shaun Reed e6b197d6fa Fix CI 2023-03-11 19:59:53 -05:00
Shaun Reed 6d51aef9cf Cleanup 2023-03-11 18:26:58 -05:00
Shaun Reed 5e886672da Packaging / install updates 2023-01-29 13:26:25 -05:00
Shaun Reed 126cd438e1 Cmake install components 2023-01-28 22:27:01 -05:00
Shaun Reed 39fa8e8cdc Fix windows packaging 2023-01-28 15:12:45 -05:00
Shaun Reed 48719412f2 CMake updates 2023-01-16 19:34:50 -05:00
Shaun Reed aa32cbcc17 OSX packaging 2023-01-16 10:53:15 -05:00
Shaun Reed cfefc49c53 CMake target renaming to avoid C++ errors with `-` 2023-01-15 17:04:06 -05:00
Shaun Reed 55dd8e5c3c Test packaging
+ Update assimp to latest
2023-01-15 10:14:24 -05:00
Shaun Reed cf433ad7fc CMake packaging updates 2023-01-14 16:33:06 -05:00
Shaun Reed faa9fe28f7 CMake packaging 2023-01-02 22:18:53 -05:00
Shaun Reed 85c9e2eac1 Clean and comment code 2023-01-01 22:51:46 -05:00
Shaun Reed 194888ed19 Refactor build system and UI
+ Install configs for Qt Designer plugins and Qtk application
+ Add Qtk plugin collection for Qt Designer
+ QtkWidget plugin
+ TreeView widget plugin
+ DebugConsole widget plugin
+ All widgets are fully integrated with Qt Designer
+ All widgets can be popped out or docked within the window
+ All widgets can be stacked to use tab view for side panels
+ All widgets can be toggled on/off through the view context menu
+ QtkWidget debug console
+ QtkWidget active scene TreeVew
+ QtkWidget dockable tool bar
+ Double-click an object name in the TreeView to focus camera
+ Separate libaray from widgets

There is still a lot to do here, but the major refactoring should be
done after this commit. Some of the new features were put together as
POC for working with the new UI. A few placeholder buttons were added
that have no functionality.
2023-01-01 22:49:04 -05:00
Shaun Reed a04ebae42a Doxygen comments 2022-11-26 18:24:38 +00:00
Shaun Reed 443c09da7c Refactor texture handling 2022-11-24 22:26:53 +00:00
Shaun Reed ad4d4636a4 Fix integration with Qt Creator
+ CMake build flag `QTK_UPDATE_SUBMODULES` to include Assimp as a git submodule
2022-08-21 18:03:04 -04:00
Shaun Reed 86b3f78368 Use configure_file to set QTK_RESOURCES 2022-08-21 18:03:04 -04:00
Shaun Reed 44d9092306 Use git submodule for assimp 2022-08-21 18:03:04 -04:00
Shaun Reed f3406ee749 Add assimp as external dependency 2022-08-21 18:03:04 -04:00
Shaun Reed 249a2b4446 Work on separating widget from main application
+ Thanks @OgreTransporter for help in #4!
+ Closes #4
2022-08-21 18:02:53 -04:00
Shaun Reed 52521dc331 Add MacOS CI
+ (@-OgreTransporter) Merge patches from #4
2022-08-06 15:09:59 -04:00
Shaun Reed 5452520324 Windows updates (@OgreTransporter)
+ Fix resource path on Windows
+ Fix missing OpenGL functions on Windows
+ Create static library
+ Fix CMake for newer assimp versions
+ Closes #2
2022-08-01 23:26:13 -04:00
Shaun Reed c15d064dce Add ResourceManager for assets outside of QRC
+ Use qt6_add_big_resources to improve build time
+ RM::getPath(sting) to build absolute path to assets
+ Allows easy access to models or other large assets not loaded into QRC
2022-07-31 19:13:54 -04:00
Shaun Reed 82b06c247d Add CI to test Ubuntu build
+ Refactor CMakeLists
2022-07-16 21:00:35 -04:00
Shaun Reed 3497b97f6e Embed Qtk widget into QMainWindow application
+ Fix keyboard input focus to bind on mouse click
+ Fix missing call to `setFormat` in `MainWidget` ctor
+ Add placeholder toolbar options
2022-03-14 02:47:20 -04:00
Shaun Reed e2086fa2dd Reorganize project files 2022-03-07 08:20:32 -05:00
Shaun Reed 22d6ac1b06 Port project to Qt6 2022-03-06 11:54:05 -05:00
Shaun Reed aebab76915 Add Scene class to manage active object data
+ Move MainWidget::Camera() to Scene::Camera()
+ Move MainWidget::Projection() to Scene::Projection()
+ Add Scene::View() static function to retrieve camera view matrix
2021-09-19 15:45:54 -04:00
Shaun Reed fb359060bc Update build instructions in README
+ Clean up CMakeLists and remove some unused includes
 + Remove unused Qt translations file
2021-09-12 12:51:42 -04:00
Shaun Reed 578fcb2bbd Initial commit 2021-09-06 20:12:28 -04:00