Commit Graph

237 Commits

Author SHA1 Message Date
Vladyslav Baranovskyi
308c361d89 Guarded assimp-related code 2024-12-19 17:04:50 +02:00
Vladyslav Baranovskyi
b9f3e2545e Merge branch 'master' into fbx 2024-12-19 16:28:27 +02:00
Vladyslav Baranovskyi
2e36d8b20e Storing mesh members using smart pointers 2024-12-18 22:58:24 +02:00
Vladyslav Baranovskyi
6c31d97271 Stack-allocating things, removed cleanup code 2024-12-18 14:28:33 +02:00
Vladyslav Baranovskyi
972df913c0 Fixed texture appearance, added scaling, removed unused code 2024-12-18 12:48:11 +02:00
Georg Hagen
f574344b5b Add convenience constructor 2024-12-13 20:05:26 +01:00
Vladyslav Baranovskyi
73ce105328 Basic FBX export (without attached textures) 2024-12-13 12:12:09 +02:00
Vladyslav_Baranovskyi_EXT
1abfb22b08 Merge pull request 'WriteObjAsZip and WriteAsUSDZ MeshWriter methods' (#166) from mesh_exporter_with_textures into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/166
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-12-02 16:49:44 +01:00
Vladyslav Baranovskyi
0a38791bee Syntax changes, removed rotation in usd file format 2024-11-29 12:20:29 +02:00
Georg Hagen
c2ba301ce6 Suppress very spamy warning 2024-11-29 01:14:47 +01:00
Vladyslav Baranovskyi
7a214397a1 Hardcoded material name, capitalized constants 2024-11-28 22:01:43 +02:00
Vladyslav Baranovskyi
2d936096e7 Duh, removed temporary code 2024-11-27 20:23:10 +02:00
Vladyslav Baranovskyi
34bfebbdd3 Summary:
- Changes in Cat functions
- Using gmtime_s and gmtime_r as a thread-safe functions
- ZFill() that is used for padding
- Option for ZipWriter to pad LocalFileHeaders(it is used to properly run tests)
- ZipWriter::IsOpen()
- Moved material creation away from WriteObjContents
- Using MemMappedFile instead of ReadFile
- Scoping files and adding them to archive
- UsdEncoder refactoring
2024-11-27 20:21:14 +02:00
Vladyslav Baranovskyi
ba8574f537 Updated tests, changed model encoders to output content to a stream 2024-11-25 19:34:05 +02:00
Georg Hagen
cce979037e Add pixel scale factor values for ortho cam 2024-11-24 23:32:01 +01:00
Georg Hagen
c1a51a063c Update scale factor on matrix calculation 2024-11-23 23:40:09 +01:00
Vladyslav Baranovskyi
2a331011d5 Changed order of includes, uint32_t as index for Geometry::GetIndex(), minor changes 2024-11-22 16:36:41 +02:00
Vladyslav Baranovskyi
ac843c0fe3 Summary:
- Removed ReadEntireFile
- ZipWriter now writes directly to a file when possible
- Added GetIndex to geometry
- Moved Usd and Obj generators to different files
- Removed unused procedures
- Deduplicated obj generators
- Updated tests for ZipWriter
2024-11-22 15:45:57 +02:00
Vladyslav Baranovskyi
4133b4f0d9 Using ZipWriter in exporting USDZ files 2024-11-20 19:36:51 +02:00
Vladyslav Baranovskyi
33ca4213b6 WriteObjAsZip and WriteAsUSDZ MeshWriter methods 2024-11-18 18:15:55 +02:00
ohyzha
04b700ae82 distance setter 2024-11-07 17:52:39 +02:00
ohyzha
04a705456e cleanup 2024-11-07 17:33:39 +02:00
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