Commit Graph

309 Commits

Author SHA1 Message Date
Georg Hagen
afd2c8043e Silence some warnings 2025-02-08 16:16:03 +01:00
Georg Hagen
0d2bcbbdf6 Add scale for label 2025-02-04 23:21:13 +01:00
Georg Hagen
8926f5dd51 Add global instance of font factory 2025-02-04 22:17:40 +01:00
Georg Hagen
e9b419cd3c Update MorphableCameraController 2025-01-26 19:30:36 +01:00
Georg Hagen
843aebeafa Remove includes 2025-01-26 19:08:01 +01:00
Georg Hagen
dd866cd122 Move animation related classes 2025-01-26 18:51:34 +01:00
Georg Hagen
44f12cf01e Move classes 2025-01-26 18:28:02 +01:00
Georg Hagen
c8d7af3178 Move some more classes 2025-01-26 18:16:18 +01:00
Georg Hagen
48b3c0745b Improve input time scale handling 2025-01-25 22:15:14 +01:00
ohyzha
0583a7e25a fix inconsistent spacing for multiline text and support special characters 2025-01-23 18:47:09 +02:00
ohyzha
3a874f1ea6 reduce spacing between multiple lines 2025-01-23 18:47:09 +02:00
ohyzha
a73df1b4f3 text with smallest possible spacing between glyphs 2025-01-22 23:54:57 +02:00
ohyzha
8ebf3aa7d2 apply formatting to file 2025-01-22 23:54:57 +02:00
ohyzha
f50bbc798e add helper functions to FontAtlasType 2025-01-22 23:54:57 +02:00
ohyzha
c81e63a8ff fix wrong charset being used for atlas generation and use namespaces explicitly because of broken intellisense 2025-01-22 23:54:57 +02:00
ohyzha
d912270c74 remove unnecessary try catch block 2025-01-21 15:14:15 +02:00
ohyzha
af86e63b32 refactoring 2025-01-21 15:14:14 +02:00
ohyzha
a5a1fd99d5 different improvements 2025-01-21 15:14:14 +02:00
ohyzha
169d6c4129 atlas factory Windows implementation 2025-01-21 15:14:14 +02:00
Georg Hagen
968fa5a735 Fix label size and text bounding box 2025-01-13 23:46:05 +01:00
ohyzha
f2b164d6e8 Subpixel rendering (#186)
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/186
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
Co-authored-by: ohyzha <oleksii.hyzha.ext@madvoxel.com>
Co-committed-by: ohyzha <oleksii.hyzha.ext@madvoxel.com>
2025-01-13 11:05:54 +01:00
Georg Hagen
006968fb4c Add helper struct 2025-01-11 13:44:17 +01:00
Georg Hagen
be5a37fd9f Update min data size 2025-01-11 13:27:49 +01:00
Georg Hagen
9167bb82d0 Update atlas metadata encoding, now with compression 2025-01-11 13:22:16 +01:00
Georg Hagen
98db9f79fe Add flags struct 2025-01-11 12:35:24 +01:00
Georg Hagen
2b93669656 Fix windows build issue 2025-01-11 11:55:12 +01:00
Georg Hagen
9cb3d4de85 Refactor FontAtlas class 2025-01-11 01:25:52 +01:00
Georg Hagen
6a3c31346f Cleanup DataFormat 2025-01-11 01:21:08 +01:00
Georg Hagen
c2152e6b3c Move FontAtlasType into its own file 2025-01-10 18:31:34 +01:00
Georg Hagen
f58064d724 Shrink GlyphInfo struct 2025-01-10 18:09:38 +01:00
Georg Hagen
8d14c40826 Fix wrong include path 2025-01-07 14:51:19 +01:00
Oleksii_Hyzha
c2511c1851 Merge pull request 'Tight atlas packing' (#183) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/183
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2025-01-07 14:38:29 +01:00
Georg Hagen
129d83374f Relayout file to reduce memory footprint 2025-01-06 17:09:18 +01:00
Georg Hagen
ac0a0e84b4 Remove ICloseable 2025-01-06 16:28:27 +01:00
Georg Hagen
46c1d1f18f Bugfix 2025-01-06 15:27:42 +01:00
Georg Hagen
91cf59648d Formatting 2025-01-06 00:57:41 +01:00
Georg Hagen
6407f40f94 Deduplicate code 2025-01-06 00:52:13 +01:00
Georg Hagen
7ef6503a78 Add 2d variant of bounding box 2025-01-06 00:28:10 +01:00
Georg Hagen
ceee3ef12e Add Constructor for UniformBuffer 2025-01-05 23:54:42 +01:00
Georg Hagen
6cfd760034 Move billboard state into LabelDrawableSettings 2025-01-05 23:44:01 +01:00
Georg Hagen
92b9fb597f Remove unnecessary buffer 2025-01-05 23:34:20 +01:00
ohyzha
d446b9695d move logic into separate function 2025-01-05 19:04:48 +02:00
Georg Hagen
4f1d730e30 Add depth bias config to shader 2025-01-05 17:36:19 +01:00
Georg Hagen
56cb508002 Fix text position 2025-01-05 17:15:18 +01:00
ohyzha
58a56560d9 rework FontPixelSizeConfig struct 2025-01-05 18:14:29 +02:00
Georg Hagen
aca64c57b7 Optimize label size calculation 2025-01-05 16:31:04 +01:00
Georg Hagen
e9a1c629d9 Switch to more compact TextGlyph vertex format 2025-01-05 02:05:10 +01:00
Georg Hagen
47a904f572 Move GetDefaultShader logic into function 2025-01-04 21:16:08 +01:00
Georg Hagen
c0e85d4fba Add vertex buffer step mode config 2025-01-04 20:58:49 +01:00
Georg Hagen
6ccef62ad3 Add VertexBuffer class 2025-01-04 20:58:22 +01:00