Commit Graph

140 Commits

Author SHA1 Message Date
Vladyslav Baranovskyi
624742eeb5 Removed final attribute from UpdateProjectionMatrix() 2024-06-25 22:01:36 +03:00
Vladyslav Baranovskyi
669d52fe0c Fixed bug with unitialized texture pointer 2024-06-25 22:00:20 +03:00
Georg Hagen
61929e61d3 Update ArcballCameraController 2024-06-24 16:49:56 +02:00
Georg Hagen
ef666fae8f Add AddDrawableIfParentless function 2024-06-23 10:53:05 +02:00
Georg Hagen
299040ecaf Switch to C++20 2024-06-21 11:57:53 +02:00
132da7e870 Merge branch 'add_a_performance_overlay_ui_element' 2024-06-14 11:22:12 +02:00
Vladyslav Baranovskyi
1a51134fdd Displaying max frame time 2024-06-14 11:41:20 +03:00
Vladyslav Baranovskyi
252734d087 Code style changes 2024-06-14 11:37:16 +03:00
Vladyslav Baranovskyi
ca7edc597c Allocating indices on the stack 2024-06-14 11:32:20 +03:00
Vladyslav Baranovskyi
d26d6cfff3 Added GeometryFactory classes 2024-06-13 23:34:14 +03:00
Vladyslav Baranovskyi
1385b43e55 Removed InitCube from Geometry 2024-06-13 23:33:51 +03:00
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
91b9da6aa6 Fixed bug in TextFmt() on windows 2024-06-11 18:43:49 +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_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
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
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
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
d1f1d208b1 Optimize GetViewDirection and GetRightVector 2024-06-03 23:03:04 +02:00
Vladyslav Baranovskyi
a5f592dc5c Fixed linker error specifically on windows
The error here is that when forward referencing a struct/class what matters is whether the entity actually is a struct or a class. For example, this is what the definitions look like if the entity is:
a class:  ?Init@SimpleDrawable@Scene@OpenVulkano@@QEAAXPEAVShader@23@PEAVGeometry@23@PEAVMaterial@23@@Z
a struct: ?Init@SimpleDrawable@Scene@OpenVulkano@@QEAAXPEAVShader@23@PEAVGeometry@23@PEAUMaterial@23@@Z
2024-05-26 23:15:34 +03:00
Vladyslav Baranovskyi
29108cab21 Minor code fixes in order to compile on windows 2024-05-23 23:58:45 +03:00
60d3547edc Fix some warnings 2023-11-23 23:41:55 +01:00
e0f24153d3 Change namespace name 2023-10-03 19:52:23 +02:00
090e75a1ca Fix issues with de/re-initialisation 2023-09-18 15:13:14 +02:00
2bab8cca68 Add ImGuiTextFmt 2023-09-13 13:31:42 +02:00
7dadd440d0 Add helper methods 2023-09-11 14:00:00 +02:00
703f5c0d12 Fix issues with ui rendering 2023-09-08 18:17:16 +02:00
9709861bda Fix issues with UI renderer 2023-09-06 00:03:06 +02:00
f9688792c4 Fix issue with semaphore being reused to early 2023-09-05 13:23:22 +02:00
446e11e3b8 Cleanup descriptor layout handling 2023-09-03 17:07:23 +02:00
be7a48dc09 Allow custom input descriptors 2023-09-01 14:59:11 +02:00
df4194be51 Update how camera data is communicated to shader 2023-08-31 21:16:11 +02:00
93c75763c7 [WIP] Refactor creation of descriptorsets 2023-08-30 23:11:11 +02:00
5aec41ead4 [WIP] Shader handling rework 2023-08-29 23:08:11 +02:00
5735b93870 Extend camera class 2023-08-29 21:21:21 +02:00
a683d2f476 Add distance method to node 2023-08-25 21:16:15 +02:00