Commit Graph

1206 Commits

Author SHA1 Message Date
Georg Hagen
f457020f5e Add EASTL 2024-11-29 00:21:46 +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
Oleksii_Hyzha
5f641e31d9 Merge pull request 'Make it possible to close memmapped file before dctor' (#165) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/165
2024-11-14 16:50:37 +01: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_EXT
b1bd78292a Merge pull request 'Organized tests according to folders where classes are defined' (#164) from tests_organization into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/164
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-10 20:12:35 +01:00
Vladyslav Baranovskyi
7f6fd09ccd Thanks git for duping SOME tests 2024-11-10 20:50:34 +02:00
Vladyslav Baranovskyi
3fe714439b Merge remote-tracking branch 'origin/tests_organization' into tests_organization 2024-11-10 20:13:21 +02:00
Vladyslav Baranovskyi
ae4948670d Changed Uint24 test file name 2024-11-10 20:13:18 +02:00
Vladyslav Baranovskyi
8de19bc55e Suffixed all tests with Test 2024-11-10 20:12:14 +02:00
Vladyslav Baranovskyi
0132fc677e Organized tests according to folders where they are defined 2024-11-10 20:12:14 +02:00
Vladyslav_Baranovskyi_EXT
29238d94d8 Merge pull request 'UInt24 class + tests' (#163) from uint24 into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/163
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-10 19:01:39 +01:00
Vladyslav Baranovskyi
7bccd4700f Organized tests according to folders where they are defined 2024-11-10 19:57:40 +02:00
Vladyslav Baranovskyi
373a6acd77 Tests for UInt24 2024-11-10 19:46:44 +02:00
Vladyslav Baranovskyi
9f39ecbe80 UInt24 class 2024-11-10 19:46:32 +02:00
Vladyslav_Baranovskyi_EXT
7fb0df1a46 Merge pull request 'I forgot to add hash class to int24... Sorry!' (#162) from int24_hash into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/162
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-10 18:32:03 +01: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
Oleksii_Hyzha
d52cb3784c Merge pull request 'Exclude test that uses curl if curl is not enabled' (#161) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/161
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-08 16:36:04 +01:00
ohyzha
4228a7d0f4 exclude test that uses curl if curl is not enabled 2024-11-08 17:23:07 +02:00
Oleksii_Hyzha
f443603a78 Merge pull request 'Fix multiple definition functions' (#160) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/160
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2024-11-08 15:11:42 +01: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