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
97cb8d1ac9
Expose view and projection matrix to shader
2021-02-12 19:47:11 +01:00
8dc50ab279
Fix viewport resizing not updating camera aspect ratio
2021-02-11 19:41:24 +01:00
e871a989b4
Refactor AABB class
2021-02-08 00:14:23 +01:00
d9f233c10c
Split Geometry definition and implementation and handle missing assimp at compile time
2021-02-05 18:37:56 +01:00
9d93fc22a9
Make assimp setter in Vertex class only available if assimp is available
2021-02-03 19:20:21 +01:00
aede8c9e59
Make stuff constexpr
2021-02-01 12:56:11 +01:00
3c2ece3338
Add IsSRGB check to DataFormat enum
2021-01-29 03:23:11 +01:00
edb1d7518c
Add VertexInputDescription
2021-01-22 21:21:21 +01:00
6953ba29c5
Add DataFormat enum
2021-01-21 21:15:19 +01:00
e737a3ce95
Move vertex input description out of VulkanShader
2021-01-15 16:38:07 +01:00
eec33c30dc
Start refactoring shader system
2021-01-14 16:01:11 +01:00
412613c757
Improve resource handling
2021-01-08 22:11:00 +01:00