Commit Graph

985 Commits

Author SHA1 Message Date
Georg Hagen
7e0366f635 Cleanup logger 2024-11-29 01:06:58 +01:00
Vladyslav Baranovskyi
7a214397a1 Hardcoded material name, capitalized constants 2024-11-28 22:01:43 +02:00
Vladyslav Baranovskyi
ba9d37cc6f Added operator bool for ZipWriter, filling centralDirSize, padding zip via extraField 2024-11-28 16:48:22 +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
Oleksii_Hyzha
b4f0364c29 Merge pull request 'Add default constructor to dense vector' (#167) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/167
2024-11-26 11:08:11 +01:00
ohyzha
2033e66866 set data to 0 2024-11-26 09:34:25 +02:00
Vladyslav Baranovskyi
ba8574f537 Updated tests, changed model encoders to output content to a stream 2024-11-25 19:34:05 +02:00
Vladyslav Baranovskyi
7ede43d1c2 NtfsExtraField constructor & helper static method, Cat refactoring, writing zip archive in destructor, using MemMappedFile 2024-11-25 19:32:53 +02:00
ohyzha
0fd8d7ab5f add default constructor to dense vector 2024-11-25 18:00:36 +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
35e80a99e6 CRC32 changes 2024-11-22 15:41:49 +02:00
Vladyslav Baranovskyi
6aa8a265c1 Using gmtime instead of localtime 2024-11-20 21:22:07 +02:00
Vladyslav Baranovskyi
4133b4f0d9 Using ZipWriter in exporting USDZ files 2024-11-20 19:36:51 +02:00
Vladyslav Baranovskyi
a9fd85e9b3 ZipWriter implementation + tests 2024-11-20 19:36:29 +02:00
Vladyslav Baranovskyi
d2beedb8a2 CRC32 implementation 2024-11-20 19:35:07 +02:00
Vladyslav Baranovskyi
33ca4213b6 WriteObjAsZip and WriteAsUSDZ MeshWriter methods 2024-11-18 18:15:55 +02:00
ohyzha
c1588fc550 warning when use count != 1 2024-11-14 17:37:08 +02:00
ohyzha
656615e5a7 get rid of internal Close() method 2024-11-13 10:24:34 +02:00
ohyzha
d88addd858 nullify everything on close 2024-11-11 21:17:16 +02:00
ohyzha
a133641900 make it possible to close memmapped file before dctor 2024-11-11 20:24:58 +02:00
Vladyslav Baranovskyi
9f39ecbe80 UInt24 class 2024-11-10 19:46:32 +02:00
Vladyslav Baranovskyi
180e479365 I forgot to add hash class to int24... Sorry! 2024-11-10 18:38:01 +02:00
Vladyslav_Baranovskyi_EXT
628cc8bed4 Merge pull request 'Using lots of macros to define operators for both int24 and int types' (#159) from int24_refactor into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/159
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-10 17:31:00 +01:00
Vladyslav_Baranovskyi_EXT
7204a8edbc Merge pull request 'Numeric limits for int24 class' (#158) from int24_numeric_limits into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/158
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-10 17:30:43 +01:00
Vladyslav Baranovskyi
4926c44a04 Defining almost all operators in one go, added templates to the ops, separate == and <=> operator 2024-11-08 17:45:57 +02:00
ohyzha
21e89346d9 fix multiple definition functions 2024-11-08 15:49:26 +02:00
Vladyslav Baranovskyi
1464d778e4 Using lots of macros to define operators for both int24 and int types 2024-11-08 15:40:24 +02:00
Vladyslav Baranovskyi
937c1711c5 Changed int24 to be signed 2024-11-07 20:49:54 +02:00
Vladyslav Baranovskyi
9599a7aef8 Numeric limits for int24 class 2024-11-07 20:16:06 +02:00
Vladyslav_Baranovskyi_EXT
84d323dcfa Merge pull request 'Tests for float16' (#157) from float16_tests into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/157
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-07 19:15:49 +01:00
Oleksii_Hyzha
4880c745da Merge pull request 'Ray casting from camera' (#156) from camera_raycasting into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/156
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-07 17:06:30 +01: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
Vladyslav Baranovskyi
f72ceee298 Hardcoding numeric_limits values to work on platforms where our float16 class isn't defined 2024-11-07 16:45:17 +02:00
Vladyslav Baranovskyi
f883d58f14 Revert "Revert "Specializing numeric_limits for float16 in any case""
This reverts commit a3d365b977.
2024-11-07 16:28:29 +02:00
Vladyslav Baranovskyi
a3d365b977 Revert "Specializing numeric_limits for float16 in any case"
This reverts commit 649d8a07f3.
2024-11-07 16:20:44 +02:00
Vladyslav Baranovskyi
649d8a07f3 Specializing numeric_limits for float16 in any case 2024-11-07 16:01:46 +02:00
Vladyslav Baranovskyi
73250e0b37 Using DenseVector and Range properly, deleted unused code from RGB565 test 2024-11-07 14:53:52 +02:00
Vladyslav_Baranovskyi_EXT
6013e47b59 Merge branch 'master' into extensions 2024-11-05 14:28:04 +01: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