Commit Graph

292 Commits

Author SHA1 Message Date
Kevin Ring 449068c3d6
Merge pull request #281 from CesiumGS/feature-metadata-extension
Upgrade batch table to EXT_feature_metadata extension
2021-07-24 21:32:14 +10:00
Bao Tran 8ccd633dfb add status for property view 2021-07-20 12:15:13 -04:00
Bao Tran 31d85a358d add status for property view 2021-07-19 12:17:54 -04:00
Bao Tran 3d9e0c13bd convert type to PropertyType instead of uint32 2021-07-17 23:55:04 -04:00
Bao Tran 2e7d9b8c97 fix compiler warning 2021-07-15 20:11:16 -04:00
Bao Tran 5f4add636a fix more compiler warning 2021-07-15 19:52:20 -04:00
Bao Tran a6d8f69e57 fix compiler warning 2021-07-15 19:49:29 -04:00
Bao Tran eca0952eb2 add assertion when converting binary metadata 2021-07-15 19:25:42 -04:00
Bao Tran e420e729ec fix compiler warning 2021-07-15 19:10:59 -04:00
Bao Tran 1185d2e78f use int64 for meta array 2021-07-15 17:17:30 -04:00
Bao Tran c19b847261 fix test 2021-07-15 17:00:31 -04:00
Bao Tran dab9312560 use int64_t for property view 2021-07-13 13:47:01 -04:00
Kevin Ring 4e45bab460 Use angle brackets to #include catch2. 2021-07-04 22:57:11 +10:00
Bao Tran e1eb2d1f84 Merge branch 'main' into feature-metadata-extension 2021-07-02 10:50:43 -04:00
Bao Tran 3091533ef6 change PropertyView to MetadataPropertyView 2021-06-20 15:58:08 -04:00
Bao Tran 3846381cc9 change names of property type trait 2021-06-20 15:56:06 -04:00
Bao Tran c64fea091e test property trait and format 2021-06-20 15:51:53 -04:00
Bao Tran 3243f9c4ed test property type 2021-06-20 15:14:34 -04:00
Bao Tran c0faaf18dc change file name for batch table to EXT_feature_metadata 2021-06-20 14:51:15 -04:00
Bao Tran 951cb7a23e pass rapidjson::Document for batch table json to metadata upgrader 2021-06-20 14:47:36 -04:00
Bao Tran 6035cc8387 clean up unused headers 2021-06-20 12:11:18 -04:00
Bao Tran 661db543d2 replace operator[] with get() for PropertyView 2021-06-20 01:40:27 -04:00
Bao Tran 76f2d10ccb test to validate dynamic array of string 2021-06-18 18:44:41 -04:00
Bao Tran 96c49c4529 test fixed array of string 2021-06-18 14:48:29 -04:00
Bao Tran 9a68718dc6 test for dynamic bool array 2021-06-18 11:41:46 -04:00
Bao Tran b6c8047c18 add test to validate fixed bool array 2021-06-17 17:00:49 -04:00
Bao Tran 6300cae267 test to validate dynamic numeric array 2021-06-17 15:26:31 -04:00
Bao Tran 47b891fac8 fix compiler warning 2021-06-17 13:28:02 -04:00
Bao Tran 7ac819dcf5 add test to validate fixed numeric array 2021-06-17 13:07:28 -04:00
Bao Tran 21f44e7a29 test to make sure offset values are sorted 2021-06-16 16:43:35 -04:00
Bao Tran d7c42c559d add test for string validation 2021-06-16 16:11:20 -04:00
Bao Tran 0506eed5c3 add test validation for bool property 2021-06-15 17:11:28 -04:00
Bao Tran 1c2a758274 add more tests to validate metadata bufferview 2021-06-15 15:15:40 -04:00
Bao Tran 3288dc5bca fix compiler warning 2021-06-15 14:51:30 -04:00
Bao Tran 62b89c365d WIP test feature table view to read property correctly 2021-06-15 14:05:26 -04:00
Bao Tran 3363cee7e8 change MetadataPropertyView to PropertyView 2021-06-14 18:35:36 -04:00
Bao Tran bc8dd36951 impl FeatureTableView 2021-06-14 18:30:01 -04:00
Bao Tran 15fcfbf7a2 fix compiler error 2021-06-08 11:41:49 -04:00
Bao Tran a4a4068e78 add test for upgrading batch table 2021-06-01 19:37:46 -04:00
Bao Tran 8d6d46ef30 test dynamic array of bool 2021-06-01 01:39:00 -04:00
Bao Tran f2e6dfed59 test fixed array of bool 2021-06-01 01:09:36 -04:00
Bao Tran a750fc2f9f impl dynamic array of string test 2021-05-31 20:25:32 -04:00
Bao Tran b9c5c77ed6 WIP template property view 2021-05-31 00:12:31 -04:00
Bao Tran 3dff283062 custom meta array view for property 2021-05-29 21:42:03 -04:00
Bao Tran 3cc40b6ed1 add boolean property view 2021-05-27 18:12:31 -04:00
Bao Tran b457b7db3c format 2021-05-27 15:41:11 -04:00
Bao Tran b7a84cfb61 fix string test 2021-05-27 14:23:55 -04:00
Bao Tran 2b79291e43 fix dynamic array tests 2021-05-27 14:15:57 -04:00
Bao Tran df7427ad2d add tests back again 2021-05-27 13:39:02 -04:00
Bao Tran 077680acae fix out of bound tests 2021-05-27 13:25:10 -04:00
Bao Tran 524306a68c isolate more failed tests 2021-05-27 13:00:47 -04:00
Bao Tran 6bdaa7d563 isolate failed tests 2021-05-27 12:12:36 -04:00
Bao Tran 9ca931c455 uncomment some failed tests 2021-05-27 11:52:37 -04:00
Bao Tran 5896978de3 isolate failed test 2021-05-27 11:36:17 -04:00
Bao Tran ca668bba47 test for string 2021-05-26 18:25:25 -04:00
Bao Tran f00bb6436e add double dynamic array test 2021-05-26 16:20:16 -04:00
Bao Tran 24b9119169 test dynamic array 2021-05-26 16:17:49 -04:00
Bao Tran e623ca7f54 format 2021-05-26 14:54:50 -04:00
Bao Tran 9634eddeb9 add test for fixed array of other numeric type 2021-05-26 14:53:58 -04:00
Bao Tran 84a01ecd21 format 2021-05-26 14:05:06 -04:00
Bao Tran 3dec7b9c8c fix fixed array doesn't have correct stride 2021-05-26 14:01:48 -04:00
Bao Tran c26a8c065b fix array property getter 2021-05-26 13:18:06 -04:00
Bao Tran e1829afb3a impl fixed and dynamic array 2021-05-26 11:23:24 -04:00
Bao Tran 474cf356ed format 2021-05-25 23:54:56 -04:00
Bao Tran 5af1880c49 test wrong property format 2021-05-25 23:53:13 -04:00
Bao Tran 40b0bca1f5 test with buffer view stride 2021-05-25 23:21:54 -04:00
Bao Tran 34a022780b clean up interface 2021-05-25 21:47:46 -04:00
Bao Tran 058da9bd3c simplify PropertyAccessorView 2021-05-25 20:37:20 -04:00
Bao Tran 1c8b6216ab WIP initial support for scalar property type 2021-05-25 18:50:55 -04:00
Bao Tran 5a2b91e853 WIP PropertyView 2021-05-25 16:39:20 -04:00
Kevin Ring 04149ee0c4 Improve test, and hopefully fix Linux compile problems. 2021-05-21 09:28:46 +10:00
Kevin Ring b275392038 Formatting. 2021-05-20 21:50:19 +10:00
Kevin Ring 7315cb6e4b Allow use of createAccessorView with a simple lambda. 2021-05-20 21:37:31 +10:00
Kevin Ring 3df9f5ef32 Fix test failure. 2021-04-19 10:35:21 +10:00
Kevin Ring 999c382cc1 Merge remote-tracking branch 'origin/main' into gltf-extensions 2021-04-16 16:07:23 +10:00
Samuel Vargas 94c77dd89e
Merge tag 'post-clang-format' into gltf-writer-clang-format
The commit that ran clang-format on the entire codebase and made no other changes.
2021-03-09 16:36:39 -05:00
Shehzan Mohammed 8a2957d32f Run clang format 2021-03-08 20:39:46 -05:00
Samuel Vargas 7c19d7d828
Add unittests for JsonValue 2021-03-05 07:41:17 -05:00
Kevin Ring dccfcf0a23 More picky clang signedness warnings. 2021-01-25 14:53:28 +11:00
Kevin Ring 28b64347b7 Incorporate changes from review and from the cmpt branch. 2021-01-25 12:17:13 +11:00
Kevin Ring 8d0b1f9210 Move and rename test. 2021-01-20 19:55:34 +11:00
Kevin Ring c153c4c0bb Fix test failure. 2021-01-06 22:44:42 +11:00
Kevin Ring 32dca3f5d8 Improved error reporting. 2021-01-06 20:56:53 +11:00
Kevin Ring 068df1c3ef Improve error handling. 2021-01-06 13:00:54 +11:00
Kevin Ring 87a030abe3 Generated classes now compiling. 2021-01-06 11:57:32 +11:00
Kevin Ring a67ed6a6ca Add support for primitive targets. 2021-01-04 22:32:35 +11:00
Kevin Ring e4a69c6559 Support attributes, names. 2021-01-04 22:21:54 +11:00
Kevin Ring ae16a4888f Separate files for glTF reader PoC. 2021-01-04 17:41:37 +11:00
Kevin Ring 0d7d7d0414 Add Mesh and Primitve to POC. 2021-01-04 13:36:34 +11:00
Kevin Ring a72c111c0f Another experiment. 2021-01-03 00:15:47 +11:00
Kevin Ring c29069f613 Some very broken experiments. 2021-01-02 22:23:04 +11:00
Kevin Ring 7a0f1907af WIP transition to cgltf. 2020-12-08 14:02:09 +11:00