Commit Graph

540 Commits

Author SHA1 Message Date
Georg Hagen
22cb48be89 Update logging 2024-07-11 00:10:48 +02:00
Georg Hagen
b1081bd26c Cleanup ResourceManager 2024-07-10 17:03:45 +02:00
Georg Hagen
a54e1b10ed Make ResourceManager no longer extend IClosable 2024-07-10 16:23:35 +02:00
Georg Hagen
ba7f0e6d62 Restructure some files regarding resource management 2024-07-10 16:11:36 +02:00
Georg Hagen
5c4e972722 Add MetalBackedTexture 2024-07-10 14:07:40 +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
bbaf8933ae Add texture cache for ar frame textures 2024-07-09 13:43:09 +02:00
Georg Hagen
88aa077dcb Add missing override 2024-07-09 13:26:54 +02:00
Georg Hagen
bb38748971 Init texture to nullptr 2024-07-09 12:37:02 +02:00
Georg Hagen
d9a22236b4 Move sampler creation from image to resource manager and cache created samplers 2024-07-09 12:31:52 +02:00
Georg Hagen
d48d60441a Add MTLPixelFormat to DataFormat mapping 2024-07-09 10:07:41 +02:00
Georg Hagen
92b77e46f5 Fix set layout to be used from transfer queue 2024-07-07 23:51:09 +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
5b2a2bbf72 Fix swap chain images being in wrong state (Fixes #23) 2024-07-07 11:58:52 +02:00
Georg Hagen
87ce56b894 Add ArBackgroundDrawable 2024-07-07 00:37:49 +02:00
Georg Hagen
52941b99cc Add frameid to context 2024-07-07 00:25:37 +02:00
Georg Hagen
2b05518c61 Add VulkanTextureDynamic 2024-07-07 00:24:51 +02:00
Georg Hagen
add09b59af Handle texture data format 2024-07-07 00:23:26 +02:00
Georg Hagen
fcecdd63a3 Fix GetFov methods 2024-07-07 00:21:49 +02:00
Georg Hagen
d6850821d3 Update aspect ratio 2024-07-07 00:21:28 +02:00
Georg Hagen
c6c67f2bff Add wrapper for smart pointers 2024-07-06 21:43:50 +02:00
Georg Hagen
2b32717c5b Update background shader 2024-07-06 21:39:36 +02:00
Georg Hagen
d4c5e8700b Allow exporting of metal device 2024-07-06 14:12:11 +02:00
Georg Hagen
c41b04db9b Remove copy method from drawable 2024-07-06 14:08:20 +02:00
7e9c568779 Add interfaces for getting textures from ar frames 2024-07-05 14:08:04 +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
d79f74c21d Remove unused variable 2024-07-04 16:59:39 +02:00
6cb776587a Add shader for texture handling 2024-07-04 16:57:30 +02:00
471786d18e Reduce log priority of some mouse related events 2024-07-04 15:12:06 +02:00
ebd1d85f39 Add textured cube example app 2024-07-04 12:34:22 +02:00
f39a628139 Position camera initially outside of cubs area 2024-07-04 12:13:31 +02:00
de12a1d637 Fix issue freeing node resources 2024-07-04 12:12:51 +02:00
Georg Hagen
b4619be858 Store image resolution and framerate in ar metadata 2024-07-04 10:28:43 +02:00
Georg Hagen
d5e0331525 Expose more ar config options 2024-07-04 09:24:15 +02:00
Georg Hagen
4af5dbd596 Add support for saving color images directly to file 2024-07-04 09:07:31 +02:00
Georg Hagen
5b6fde2aaf Fix issue with freeing geometries 2024-07-03 15:54:05 +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
9aa49ce35a Add some additional error handling 2024-07-03 14:33:49 +02:00
Georg Hagen
9f0e2531d1 Fix bug with ExtractRemaining function not retuning amount of extracted files 2024-07-03 14:33:30 +02:00
Georg Hagen
3c1fb5c118 Fix some warnings 2024-07-03 14:22:46 +02:00
Georg Hagen
ab900540e7 Add converter for math types to ryml 2024-07-03 13:36:39 +02:00
Georg Hagen
fa51f868b7 Silence some warnings 2024-07-02 21:29:15 +02:00
Georg Hagen
c008c98311 Fix lazy rendering issues when resizing window 2024-07-02 16:08:34 +02:00
Georg Hagen
c8bcd27ec1 Allow two finger pan in map camera controller 2024-07-02 16:07:38 +02:00
Georg Hagen
3b7d8b3079 Update ArcballCameraController for ortho cameras 2024-07-02 16:07:14 +02:00