Commit Graph

781 Commits

Author SHA1 Message Date
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
42e35e6a54 add convenient method for bounding box 2024-08-22 13:27:38 +03:00
ohyzha
4fce5fd1de add bounding box for text drawable and add possibility to share data among different instances 2024-08-22 13:27:08 +03:00
ohyzha
31390ec9ae regenerate atlases with different default z value 2024-08-22 13:25:14 +03:00
Oleksii_Hyzha
3ecfd98b14 Merge pull request 'Add support for MSDF font rendering' (#109) from msdf_text into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/109
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-08-13 14:06:50 +02:00
Georg Hagen
f6f12035b2 Merge pull request 'Small enhancements' (#111) from wip into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/111
2024-08-13 12:48:59 +02:00
ohyzha
55ebb9f630 if else shortcut 2024-08-13 12:27:15 +03:00
ohyzha
dba13b754d clean up comments 2024-08-13 11:55:28 +03:00
ohyzha
ab669c73dd change clang format 2024-08-13 10:54:09 +03:00
ohyzha
1f418fa673 support msdf 2024-08-13 10:53:38 +03:00
metehan.tuncbilek
f975581390 Merge pull request 'RGB565-fancify' (#107) from RGB565-fancify into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/107
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-08-12 11:57:12 +02:00
Metehan Tuncbilek
44448515bc name changes on rgb565 2024-08-12 11:56:13 +03:00
Georg Hagen
a3a8409c73 Fix wrong value for GetFov 2024-08-11 20:42:34 +02:00
Georg Hagen
cf858436d2 Fix video background miss alignment 2024-08-11 20:26:12 +02:00
Georg Hagen
398074cad8 Extend map camera controller 2024-08-11 01:16:24 +02:00
Georg Hagen
1e16b0ab48 Add PauseCV 2024-08-09 22:38:39 +02:00
Georg Hagen
4705f17934 Add missing include guard 2024-08-09 21:07:03 +02:00
Georg Hagen
b248832420 Fix name conflict with some linux header 2024-08-09 18:56:35 +02:00
Metehan Tuncbilek
b209b20dda rgb565 vec4_simd removal 2024-08-09 19:37:21 +03:00
Georg Hagen
1bbdf2e3a0 Add operators to ByteSize 2024-08-09 14:53:03 +02:00
Georg Hagen
e36c4837cc Add recursive dir size getter 2024-08-09 14:52:48 +02:00
Oleksii_Hyzha
9f2e748a2d Merge pull request 'Text rendering' (#90) from text_rendering into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/90
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-08-09 08:57:35 +02:00
Georg Hagen
8f3405853f Fix macos build 2024-08-09 00:07:04 +02:00
Georg Hagen
fd6371d8b4 Fix iOS build 2024-08-08 23:17:00 +02:00
ohyzha
6a85f25b87 fix incorrect geometry buffer size 2024-08-08 21:35:16 +03:00
ohyzha
ae39847d95 improve atlas texture size handling 2024-08-08 17:41:02 +03:00
Metehan Tuncbilek
c7a9730897 casting operators 2024-08-08 15:53:18 +03:00
Metehan Tuncbilek
2df7280057 finished RGB565 2024-08-08 14:26:47 +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
634b4431b3 add cmake option to enable or disable using of msdf library 2024-08-07 20:04:19 +03:00
ohyzha
64712f0c94 set platform for ios 2024-08-07 17:37:07 +03:00
ohyzha
50bb6b62fe get rid of vcpkg and build freetype from sources 2024-08-07 16:00:05 +03:00
ohyzha
c3d4ba84e0 fix ios_base on unix 2024-08-06 17:36:05 +03:00
Metehan Tuncbilek
3370f0ed85 first test 2024-08-06 17:23:35 +03:00
ohyzha
c7c2a96b9c add opportunity to pack atlas and meta data in same file 2024-08-06 17:02:24 +03:00
metehan.tuncbilek
6172f4e215 data-format (#94)
Co-authored-by: Metehan Tuncbilek <mtuncbilek95@gmail.com>
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/94
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
Co-authored-by: metehan.tuncbilek <metehan.tuncbilek@madvoxel.com>
Co-committed-by: metehan.tuncbilek <metehan.tuncbilek@madvoxel.com>
2024-08-06 13:18:09 +02: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
ohyzha
afccf5dee0 implement text rendering without msdfgen library 2024-08-06 10:33:28 +03:00
ohyzha
62a0e84634 minor fixes 2024-08-06 10:33:13 +03:00
ohyzha
232ad0a938 rework API for text rendering 2024-08-06 10:33:13 +03:00
ohyzha
dcf6e72f96 minor fixes 2024-08-06 10:33:13 +03:00
ohyzha
837861d6f2 fix mac build 2024-08-06 10:32:55 +03:00
ohyzha
3c39a2e267 fix linux build 2024-08-06 10:32:55 +03:00
ohyzha
9589b4d39f refactor code and support utf8 strings rendering 2024-08-06 10:32:55 +03:00
ohyzha
875ad80337 give more meaningful names 2024-08-06 10:32:55 +03:00