Commit Graph

140 Commits

Author SHA1 Message Date
Georg Hagen
02ff22d193 Fix some issue with deinitializing textures 2024-07-23 22:01:07 +02:00
Georg Hagen
53410bb8db Allow shared memory uniform buffer creation 2024-07-22 21:08:08 +02:00
Georg Hagen
06e6623050 Allow simple drawable to define its draw phase 2024-07-22 14:19:53 +02:00
Georg Hagen
e68fe06139 Allow to control depth test & write for shader 2024-07-22 14:19:09 +02:00
Georg Hagen
00b200301c Add constructor to make apple clang happy 2024-07-22 09:09:05 +02:00
Georg Hagen
f92cc09853 Add getter for format size 2024-07-22 00:37:04 +02:00
Georg Hagen
1e400a4030 Fix some warnings 2024-07-21 12:48:20 +02:00
Georg Hagen
87038ed1cd Merge remote-tracking branch 'origin/master' into enhancements
# Conflicts:
#	openVulkanoCpp/Scene/Camera.hpp
2024-07-21 01:28:46 +02:00
Georg Hagen
4e445495e4 Add push constants handling for shaders 2024-07-21 01:24:51 +02:00
Georg Hagen
bcad0116d4 Update camera projection matrix handling 2024-07-20 19:30:28 +02:00
Georg Hagen
22d6ea9d2e Add second constructor to node 2024-07-20 19:12:34 +02:00
ohyzha
a28b4ab53c fixes 2024-07-19 12:02:56 +03:00
ohyzha
cfb8b76801 implement billboard shader and add new example 2024-07-19 12:02:55 +03:00
ohyzha
5023fe64ce fix flipped camera movements 2024-07-19 12:02:55 +03:00
Georg Hagen
1bb9c33699 Fix crash when using ArBackgroundDrawable without setting an ar session 2024-07-17 16:15:42 +02:00
Vladyslav_Baranovskyi_EXT
93b2b92eb7 Merge pull request 'Boost::regex dependency, added include in order to compile on linux' (#70) from boost_regex into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/70
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-07-16 19:36:06 +02:00
Georg Hagen
013127bab0 Fix issue when removing drawable from scene by setting it's scene to nullptr 2024-07-16 15:36:12 +02:00
Georg Hagen
9feece4df3 Add RemoveChildNodes 2024-07-16 15:36:12 +02:00
Vladyslav Baranovskyi
f96caf2a53 Added include tuple for std::tie 2024-07-16 11:50:59 +03:00
29bad103e6 Merge remote-tracking branch 'origin/plane_camera_controller'
# Conflicts:
#	examples/ExampleApps/MovingCubeApp.cpp
2024-07-14 18:30:15 +02:00
Georg Hagen
ec161aa498 Fix AR background alignment issues 2024-07-14 02:35:28 +02:00
Georg Hagen
8e7b4f602c Unregister drawable on close instead of throwing if still in use 2024-07-14 01:28:49 +02:00
Georg Hagen
0b8d889c86 Extend AABB class 2024-07-13 14:22:41 +02:00
Georg Hagen
98d0779d49 Merge branch 'master' into textures 2024-07-09 13:44:09 +02:00
Georg Hagen
268be2ca60 Silence some warnings 2024-07-09 13:43:48 +02:00
Georg Hagen
bb38748971 Init texture to nullptr 2024-07-09 12:37:02 +02:00
Georg Hagen
d48d60441a Add MTLPixelFormat to DataFormat mapping 2024-07-09 10:07:41 +02:00
Georg Hagen
f947204ae2 Move DataFormat to vk Format conversion to cast operator 2024-07-07 23:50:33 +02:00
Georg Hagen
aabc24616d Add handling for camera intrinsics 2024-07-07 16:53:48 +02:00
Georg Hagen
87ce56b894 Add ArBackgroundDrawable 2024-07-07 00:37:49 +02:00
Georg Hagen
2b05518c61 Add VulkanTextureDynamic 2024-07-07 00:24:51 +02:00
Georg Hagen
c41b04db9b Remove copy method from drawable 2024-07-06 14:08:20 +02:00
86e7681a8d Improve texture binding handling 2024-07-05 09:50:19 +02:00
eb96d7d674 Fix perspective correction issue for uv coordinates 2024-07-05 09:06:17 +02:00
3e73672538 Texture implementation basics 2024-07-04 17:00:46 +02:00
Georg Hagen
002206e9d6 Fix some shader issues 2024-07-03 15:43:15 +02:00
Georg Hagen
9e95285173 Fix issue adding drawable to node that is not yet attached to a scene 2024-07-03 15:10:52 +02:00
Georg Hagen
fa51f868b7 Silence some warnings 2024-07-02 21:29:15 +02:00
Georg Hagen
410f6b11a6 Rework arcball camera controller 2024-07-02 15:05:06 +02:00
Vladyslav Baranovskyi
4035d10c12 Moving camera along a custom plane 2024-07-01 11:52:57 +03:00
Georg Hagen
beeea386aa Fix issues with camera 2024-06-30 13:58:11 +02:00
Vladyslav Baranovskyi
55eb910ff5 Normalizing plane normal in setter 2024-06-29 15:18:25 +03:00
475c72e505 Extend ortho camera 2024-06-28 09:34:50 +02:00
Vladyslav Baranovskyi
a715f91b40 Using DefaultAxis to specify one of the base axis to move against 2024-06-26 22:42:03 +03:00
Vladyslav Baranovskyi
e77f3c331e PlaneCameraController class & using it in MovingCubeApp example if USE_PLANE_CAM_CONTROL is nonzero 2024-06-26 22:27:12 +03:00
Vladyslav_Baranovskyi_EXT
ebd12cfd2b Merge pull request 'Morphable Camera & Controller' (#56) from morphable_camera_and_controller into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/56
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-06-26 20:32:15 +02:00
Vladyslav Baranovskyi
656350d790 Refactored UpdateProjectionMatrix(), SetTargetState() now launches the transition 2024-06-26 20:59:06 +03:00
Vladyslav Baranovskyi
a696ae2c7f Using morphable and freecam controllers in example app, blending matrices using vectors, improvements regarding updating projection matrices, removed FreeCam components from MorphableController, renamed variable to m_targetMorphStatePerspective, setting target morph state using setter 2024-06-26 14:00:21 +03:00
Vladyslav Baranovskyi
4dabb2b519 MorphableCameraController class 2024-06-25 22:05:34 +03:00
Vladyslav Baranovskyi
27c3e52f8c MorphableCamera class 2024-06-25 22:05:21 +03:00