Commit Graph

270 Commits

Author SHA1 Message Date
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
b99e255ad6 Remove IInitable class 2023-08-21 00:35:11 +02:00
d49b158a9b Add GetFrustum getter 2023-08-19 00:28:11 +02:00
6ad5d69870 Add GridDrawable 2023-08-07 21:18:19 +02:00
f3c0cc5965 Fix draworder 2023-08-06 21:17:43 +02:00
da1782c4a9 Cleanup shader handling 2023-08-05 21:01:11 +02:00
836e9dce42 Change shader handling 2023-08-04 20:20:20 +02:00
d340d91f52 [WIP] Texture support 2023-08-02 16:17:18 +02:00
cf91c9c67e Cache camera position 2023-08-01 15:18:11 +02:00
ee4ad9a28d Refactor Camera class 2021-08-27 11:19:11 +02:00
87dad42c79 Move Drawable draw call recording logic out of renderer 2021-08-01 00:37:11 +02:00
8d370c9860 Refactor Drawable 2021-07-31 11:22:33 +02:00
f96de2123f Add ui logic for renderer 2021-07-31 01:59:11 +02:00
cfbf31cb77 Split out UpdateFrequency 2021-07-15 22:20:10 +02:00
e636b8eae5 Add option to enable alpha blending 2021-05-23 20:47:23 +02:00
3ce9ce8e3b Update camera class 2021-05-22 18:55:55 +02:00
6394a94bfe Fix init order 2021-02-26 20:16:47 +01:00
71855a1d9f Switch to right handed coordinate system 2021-02-23 03:32:11 +01:00
5cc0ce9433 Move AABB class and base it on top of Range 2021-02-21 02:10:11 +01:00
b53b4b0ca1 Expose culling mode in shader config 2021-02-15 13:50:27 +01:00
b1b4c117f2 Expose camera position to shader 2021-02-14 02:12:13 +01:00