Commit Graph

352 Commits

Author SHA1 Message Date
Vladyslav Baranovskyi
b5df2edab5 PerformanceInfo improvements 2024-06-13 22:53:38 +03:00
Vladyslav Baranovskyi
bad6c95c3f Completely rewritten PlotTwoLines() algorithm 2024-06-13 22:52:58 +03:00
Vladyslav Baranovskyi
93d5ea4291 ImGui::PlotTwoLines() extension, PerformanceInfo improvements 2024-06-12 18:36:55 +03:00
Vladyslav Baranovskyi
15d0a6a669 Fixed imgui window name, including UI.hpp header properly 2024-06-11 19:16:20 +03:00
Vladyslav Baranovskyi
f6299b054f Renamed file from PerformanceOverlayUiElement to PerformanceInfo 2024-06-11 18:45:47 +03:00
Vladyslav Baranovskyi
938495ab81 Fixed issue where on windows GetAppRamMax() returned less values than GetAppRamAvailable() 2024-06-11 18:44:51 +03:00
Vladyslav Baranovskyi
91b9da6aa6 Fixed bug in TextFmt() on windows 2024-06-11 18:43:49 +03:00
Vladyslav Baranovskyi
91a44eaee0 Removed PrettyBytes function 2024-06-11 18:43:29 +03:00
Vladyslav Baranovskyi
8be512e162 Added SimpleUi class that inherits from Ui 2024-06-11 18:43:13 +03:00
Vladyslav Baranovskyi
ecb7b99f27 Added PreformanceOverlayUiElement class 2024-06-11 14:03:13 +03:00
Vladyslav Baranovskyi
41edc4e45f Added PrettyBytes function to Utils class 2024-06-11 14:02:08 +03:00
Vladyslav_Baranovskyi_EXT
e90056c5a6 Merge pull request 'Added SequenceAnimationController' (#39) from add_sequenceanimationcontroller into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/39
Reviewed-by: TymurStrelchyk <tymur.strelchyk.ext@madvoxel.com>
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-06-11 10:42:51 +02:00
Georg Hagen
6962ce0bcf Some more TexturePreparations #11 2024-06-11 10:25:06 +02:00
Georg Hagen
7d7ca4e250 Merge pull request 'ios_view_linking_refactor' (#35) from ios_view_linking_refactor into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/35
2024-06-10 13:00:09 +02:00
Vladyslav Baranovskyi
6869ae4a44 Renamed event in SequenceAnimationController 2024-06-10 13:32:51 +03:00
Vladyslav Baranovskyi
1b9041c998 Summary:
- Added const references to GetPosition & GetOrientation
- Renamed OnCurrentFrameFinished()
- Added references to functions in comments
2024-06-10 12:49:24 +03:00
Vladyslav Baranovskyi
c708950bc6 Added a getter for m_steps 2024-06-10 12:17:00 +03:00
Vladyslav Baranovskyi
1311165139 Summary:
- In MovingCubeApp animations are now allocated on stack
- m_sequenceAnimationController now uses SetAnimationPoseResetTime()
- Removed OnSequenceAnimationCompleted()
- Pose::GetOrientation() now returns by value(without it my code doesn't compile)
- GetStep() getter
- In if(m_loop) checking for m_resetTime to be zero or last step to be equal to the first
- Tick now ticks only if there are at least one element in m_steps
- IsFinished() function
- AddAnimationSteps() functions that take initializer_lists
- Getters in SimpleAnimationController are now const
2024-06-08 17:36:03 +03:00
Vladyslav Baranovskyi
16f7789a52 SequenceAnimationController class 2024-06-07 16:09:11 +03:00
Vladyslav_Baranovskyi_EXT
14407eaff9 Merge pull request 'SimpleAnimationController class, MovingCubeApp example application' (#36) from add_simpleanimationcontroller into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/36
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-06-07 14:09:08 +02:00
3e8ea0fd32 Fix linux build issue 2024-06-07 10:50:34 +02:00
Vladyslav Baranovskyi
458f51889c Changed glm:: types to Math::, calling Math::Utils::decompose 2024-06-06 22:35:21 +03:00
Vladyslav Baranovskyi
e6615a2bf5 Decomposing matrix in Pose constructor, added GetPose() and GetWorldPose() to Node class 2024-06-06 15:37:38 +03:00
Vladyslav Baranovskyi
f672193211 Fixed dumb mistakes with references, got rid of unnecessary OpenVulkano:: 2024-06-06 15:32:17 +03:00
Vladyslav Baranovskyi
8a23389973 Early exiting Tick function, returning Poses as const references 2024-06-06 13:51:28 +03:00
Vladyslav Baranovskyi
193c942f06 Summary:
- Additional getters/setters
- Passing setters' value as by reference
- Changed includes order
- Moved callback function to MovingCubeApp
- Made Event public
2024-06-06 13:21:02 +03:00
Georg Hagen
9f05b3e3a2 Slight cleanup of VulkanDrawContext and binding the node 2024-06-05 21:26:46 +02:00
Vladyslav Baranovskyi
afddc987a2 Setting up SimpleAnimationControllers using setters 2024-06-05 22:05:40 +03:00
Vladyslav Baranovskyi
7111e46954 SimpleAnimationController, MovingCubeApp 2024-06-05 21:51:04 +03:00
Georg Hagen
9965a5ba1f Add OpenVulkanoOrientationLockableViewController and make openVulkanoView accesible from swift 2024-06-05 16:57:11 +02:00
Georg Hagen
cd414c352e Start refactoring of OpenVulkanoView implementation (#1) 2024-06-05 14:17:29 +02:00
Georg Hagen
58e63b6610 Don't use AR recorder in playback mode 2024-06-04 15:09:27 +02:00
Georg Hagen
463f632432 Merge pull request 'Fix descriptor buffer size discrapency' (#34) from fix_buffer_size_issue into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/34
Reviewed-by: TymurStrelchyk <tymur.strelchyk.ext@madvoxel.com>
Reviewed-by: Vladyslav_Baranovskyi_EXT <vladyslav.baranovskyi.ext@madvoxel.com>
2024-06-04 12:08:17 +02:00
Georg Hagen
266b0321d9 Resize buffer if size does not match required size 2024-06-04 11:43:19 +02:00
Georg Hagen
dc503acb73 Fix descriptor buffer size discrapency 2024-06-04 11:31:09 +02:00
Vladyslav_Baranovskyi_EXT
9c225dc52a Merge pull request 'Added ryml to linker list, loading EngineConfiguration from a file(if exists)' (#30) from make_engineconfiguration_loadable into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/30
Reviewed-by: TymurStrelchyk <tymur.strelchyk.ext@madvoxel.com>
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-06-04 10:59:06 +02:00
Vladyslav Baranovskyi
0692e52bb9 Using Utils::ReadFile to get contents of the yml file 2024-06-04 11:27:15 +03:00
Vladyslav Baranovskyi
e17e8c2947 Moved consts to the namespace 2024-06-04 11:18:01 +03:00
Vladyslav Baranovskyi
4e5b9319e6 Getters/setters moved to the header file 2024-06-04 11:17:41 +03:00
Georg Hagen
d1f1d208b1 Optimize GetViewDirection and GetRightVector 2024-06-03 23:03:04 +02:00
Vladyslav Baranovskyi
879ab8c809 Added ryml to linker list, loading EngineConfiguration from a file(if exists) 2024-06-03 22:57:18 +03:00
Vladyslav_Baranovskyi_EXT
a24b89bd4c Merge pull request 'Tracy Profiler setup' (#28) from tracy_profiler_setup into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/28
Reviewed-by: TymurStrelchyk <tymur.strelchyk.ext@madvoxel.com>
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-06-03 20:48:01 +02:00
Vladyslav Baranovskyi
73f9da27b8 Timing GraphicsAppManager methods 2024-06-03 18:41:30 +03:00
Georg Hagen
de99ecab5e Fix missing include 2024-05-31 19:35:51 +02:00
Vladyslav Baranovskyi
f4dfebdfe4 Fixed spacing typo 2024-05-31 13:36:50 +03:00
Vladyslav Baranovskyi
dbe062fef4 Tracy profiler setup(disabled by default)
In order to enable it pass -DTRACY_ENABLE:BOOL:ON to the generator. E.g:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DTRACY_ENABLE:BOOL=ON ..
2024-05-31 13:34:30 +03:00
Vladyslav Baranovskyi
75b5f635ef Fallback to display thread id of no name was assigned, OpenVulkano::Utils::GetThreadId() 2024-05-30 17:52:02 +03:00
Vladyslav Baranovskyi
3127af5bc7 Custom formatter for flag 't', new Utils::GetThreadName() 2024-05-30 16:30:09 +03:00
Vladyslav_Baranovskyi_EXT
2df5706df4 Merge pull request 'Flush logs on crash' (#25) from flush_logs_on_crash into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/25
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-05-30 13:31:21 +02:00
Vladyslav Baranovskyi
faff80e46e Moved code back into OpenVulkano namespace, removed unnecessary comment 2024-05-30 14:15:16 +03:00