Commit Graph

215 Commits

Author SHA1 Message Date
ohyzha
3521ddeb1d rework API 2024-11-07 16:45:42 +02:00
ohyzha
e2df88ca22 code refactoring 2024-11-07 16:45:35 +02:00
ohyzha
645fac1964 geometry no longer can be freed if object is hittable 2024-11-04 22:52:05 +02:00
ohyzha
4c67b94bc6 store ray hittable drawables in the scene 2024-11-04 22:52:05 +02:00
ohyzha
4c9f0ab2ee ray hit with drawable 2024-11-04 22:52:05 +02:00
ohyzha
7febb370a8 implement ray casting events 2024-11-04 22:52:05 +02:00
ohyzha
4956884d5f introduce intersectable interface 2024-11-04 22:52:05 +02:00
ohyzha
4f3336014a store text of text drawable 2024-11-04 22:52:05 +02:00
ohyzha
9fca304009 code refactoring 2024-10-29 18:57:40 +02:00
ohyzha
ced45f7b72 add ray intersection checks 2024-10-29 12:41:07 +02:00
ohyzha
5ece0acc77 calculate AABB for geometry 2024-10-29 12:40:52 +02:00
Georg Hagen
c00e8a69e2 Fix warnings 2024-10-07 11:25:18 +02:00
653be0a403 Fix build issues 2024-09-21 14:51:11 +02:00
mtuncbilek
95ddd4b23f memmappedfile-fix (#115)
Co-authored-by: Metehan Tuncbilek <mtuncbilek95@gmail.com>
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
Co-authored-by: mtuncbilek <metehan.tuncbilek@madvoxel.com>
Co-committed-by: mtuncbilek <metehan.tuncbilek@madvoxel.com>
2024-09-21 14:46:39 +02:00
f6c48edac6 Merge branch 'wip' 2024-09-12 22:17:37 +02:00
Vladyslav Baranovskyi
83c3a775ee Code style changes, minor reorderings 2024-09-09 21:52:17 +03:00
Vladyslav Baranovskyi
fa3a7a7fb7 MeshWriter that can save both in .usd and .obj formats 2024-09-04 21:24:31 +03:00
Vladyslav Baranovskyi
ba2ed53ae2 Using variable to store tinyusdz repo, moved include from hpp to cpp file, minor syntax change 2024-08-30 14:10:30 +03:00
Vladyslav Baranovskyi
380e0f323d Moved InitFromFile() from Geometry to MeshLoader, added MeshLoader function for USD files, added tinyusdz library 2024-08-29 21:01:42 +03: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
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
Georg Hagen
6f19758beb Render resource handling for camera 2024-08-21 15:14:47 +02:00
Georg Hagen
2d08b3ab91 Add render resource handling for geometry 2024-08-21 14:33:45 +02:00
Georg Hagen
b13c1c54ae Update shader to use new render resource system 2024-08-21 13:33:15 +02:00
Georg Hagen
3940a72084 Render resource handling for textures 2024-08-21 13:13:43 +02:00
Georg Hagen
33c8b74342 Use RenderResource for uniform buffers 2024-08-21 10:17:45 +02:00
Georg Hagen
25a0978a57 Add render resouce 2024-08-20 23:44:17 +02:00
Georg Hagen
5d80414956 Fail build on warning C4715 2024-08-16 12:44:37 +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
1f418fa673 support msdf 2024-08-13 10:53:38 +03: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
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
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
c3d4ba84e0 fix ios_base on unix 2024-08-06 17:36:05 +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
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