Commit Graph

88 Commits

Author SHA1 Message Date
Georg Hagen
c2c19b6383 More text cleanup 2025-03-02 19:39:34 +01:00
Georg Hagen
6c796bb3a0 Cleanup font generators 2025-03-02 18:58:33 +01:00
Georg Hagen
0a027b8bb7 Rework some text related functions 2025-03-01 20:00:27 +01:00
Georg Hagen
5838001371 Replace random number generation 2025-01-27 13:14:15 +01:00
Georg Hagen
e9b419cd3c Update MorphableCameraController 2025-01-26 19:30:36 +01:00
Georg Hagen
dd866cd122 Move animation related classes 2025-01-26 18:51:34 +01:00
Georg Hagen
c8d7af3178 Move some more classes 2025-01-26 18:16:18 +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
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
9cb3d4de85 Refactor FontAtlas class 2025-01-11 01:25:52 +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
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
Georg Hagen
e9a1c629d9 Switch to more compact TextGlyph vertex format 2025-01-05 02:05:10 +01:00
Georg Hagen
8250b2a396 Add app id as first cli parameter 2025-01-04 20:33:38 +01:00
Georg Hagen
450f1170b4 Remove redundancies 2025-01-04 03:21:55 +01:00
Georg Hagen
ca93036f31 Change TextDrawable base class 2025-01-04 03:08:06 +01:00
Georg Hagen
94025c79c6 Unify text shader handling 2025-01-04 02:46:24 +01:00
ohyzha
4f2db7891c update bitmap atlas 2025-01-03 12:17:28 +02:00
ohyzha
0dd0532775 rename main sdf class for convenient synonym names 2024-12-31 12:15:15 +02:00
ohyzha
8d389db50c some more refactoring and improvements 2024-12-31 10:15:00 +02:00
ohyzha
e8289c643b code refactoring 2024-12-31 10:14:59 +02:00
ohyzha
503e31947f make font atlas generator interface more uniform and implement bitmap font atlas rendering and generation 2024-12-31 10:14:59 +02:00
ohyzha
e9ec896fee refactoring 2024-12-17 13:25:25 +02:00
ohyzha
ddded99bf7 introduce flag for emergency menu exit 2024-12-17 13:07:23 +02:00
ohyzha
36c3bb3668 add CtrlC and CtrlZ events handling 2024-12-17 12:17:24 +02:00
ohyzha
f01e488c7d disable usage of multiple threads for rendering since it's broken now 2024-12-17 12:17:24 +02:00
ohyzha
3521ddeb1d rework API 2024-11-07 16:45:42 +02:00
ohyzha
3d96889778 extend examples 2024-11-04 22:52:05 +02:00
ohyzha
e43d86cf4f make it possible to create set app for GraphicsAppManager in deferred mode 2024-11-04 22:52:05 +02:00
Oleksii_Hyzha
9bd4d9cce2 Merge pull request 'Label Drawable' (#114) from label_drawable into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/114
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-08-28 15:08:14 +02:00
ohyzha
6305cbfe1e rework label shader 2024-08-28 11:12:59 +03:00
ohyzha
e2ae1687ac rework label drawable and text drawable's API 2024-08-26 17:42:43 +03:00
ohyzha
a2923966fa implement label drawable 2024-08-22 13:29:18 +03:00
ohyzha
f7f4897aff small fixes 2024-08-22 13:29:03 +03:00
ohyzha
31390ec9ae regenerate atlases with different default z value 2024-08-22 13:25:14 +03:00
Georg Hagen
ea11bd4527 Fix macos build 2024-08-15 00:28:20 +02:00
Georg Hagen
840ff67f01 Merge remote-tracking branch 'origin/master' into project_setup_refactor
# Conflicts:
#	CMakeLists.txt
2024-08-14 22:47:19 +02:00
ohyzha
1f418fa673 support msdf 2024-08-13 10:53:38 +03:00
Georg Hagen
729d1f3e55 Update CMake 2024-08-08 19:15:41 +02:00
ohyzha
ae39847d95 improve atlas texture size handling 2024-08-08 17:41:02 +03:00
ohyzha
1659cee9eb render question mark if glyph is not loaded 2024-08-08 12:23:38 +03:00
ohyzha
a390470420 code cleanup 2024-08-07 21:55:58 +03:00
ohyzha
38d97f4c28 split font atlas generator to interface and implementation 2024-08-07 20:05:06 +03:00
ohyzha
50bb6b62fe get rid of vcpkg and build freetype from sources 2024-08-07 16:00:05 +03:00
ohyzha
c7c2a96b9c add opportunity to pack atlas and meta data in same file 2024-08-06 17:02:24 +03:00
ohyzha
9e9a76e459 changes after rebase 2024-08-06 10:41:39 +03:00
ohyzha
cb409268a8 implement multiline text rendering 2024-08-06 10:33:28 +03:00