Commit Graph

57 Commits

Author SHA1 Message Date
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
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
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
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
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
1f418fa673 support msdf 2024-08-13 10:53:38 +03: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
ohyzha
afccf5dee0 implement text rendering without msdfgen library 2024-08-06 10:33:28 +03:00
ohyzha
232ad0a938 rework API for text rendering 2024-08-06 10:33:13 +03:00
ohyzha
9589b4d39f refactor code and support utf8 strings rendering 2024-08-06 10:32:55 +03:00
ohyzha
be549dccf6 code review changes and fixes 2024-08-06 10:32:55 +03:00
ohyzha
e69a553b18 working version of text rendering 2024-08-06 10:32:55 +03:00
ohyzha
9b58ba5f55 working version of glyphs rendering with example 2024-08-06 10:32:54 +03:00
Georg Hagen
7918b91211 Fix crash 2024-08-03 19:34:15 +02:00
Georg Hagen
6a1a76f4d1 Merge pull request 'Geometry & GeometryFactory memory leaks' (#85) from geometry_mem_leaks into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/85
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-07-24 20:44:27 +02:00
ohyzha
10d6240555 rework examples according to new changes 2024-07-24 17:36:56 +03:00
ohyzha
6ed4136393 move some options from swap chain to engine configuration and fix not working VSync 2024-07-23 12:56:47 +03: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
29bad103e6 Merge remote-tracking branch 'origin/plane_camera_controller'
# Conflicts:
#	examples/ExampleApps/MovingCubeApp.cpp
2024-07-14 18:30:15 +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
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
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
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
1fbd072429 Using MorphableCameraController class in MovingCubeApp example 2024-06-25 22:05:55 +03:00
132da7e870 Merge branch 'add_a_performance_overlay_ui_element' 2024-06-14 11:22:12 +02:00
Vladyslav Baranovskyi
a0a4c935e4 Example app adjustments to the changes, using factory in MovingCubeApp 2024-06-13 23:35:02 +03:00
Vladyslav Baranovskyi
efd271e560 Using Scene::Ui::PerformanceInfo properly 2024-06-11 18:46:15 +03:00