Commit Graph

208 Commits

Author SHA1 Message Date
Nithin Pranesh e06cc3afbf replace getIndex std::function with templates 2021-08-27 13:59:13 -04:00
Nithin Pranesh f9d769371e fix unsafe normalization 2021-08-27 11:43:19 -04:00
Marco Hutter 8ddb163f6d Perform component-wise vector comparison 2021-08-23 21:04:42 +02:00
Nithin Pranesh 08e56e68b6 more gcc/clang fixes 2021-08-23 13:33:36 -04:00
Nithin Pranesh 34e4a14120 replace local std::function parameters with template 2021-08-23 13:12:37 -04:00
Nithin Pranesh 6d3f8ee262 attempt to fix gcc/clang errors 2021-08-23 13:12:21 -04:00
Nithin Pranesh 24e9acb1ed add tests for triangle strips and fans 2021-08-23 12:22:06 -04:00
Nithin Pranesh e7932e0ce4 add tests for smooth normals and forEachPrimitive 2021-08-21 12:15:29 -04:00
Nithin Pranesh e5a59f85ee parse alternative node transform format 2021-08-18 12:48:30 -04:00
Nithin Pranesh 913190c273 move addTriangleNormalToVertexNormals into standalone function, instead of lambda 2021-08-18 12:00:46 -04:00
Nithin Pranesh 8cc6a1d064 only need unsigned index types 2021-08-18 11:50:42 -04:00
Nithin Pranesh 02430a1643 remove flat normal generation from cesium-native 2021-08-17 16:57:25 -04:00
Nithin Pranesh d769b17fda add generate missing flat normals options 2021-08-16 12:26:50 -04:00
Nithin Pranesh 32d1352fb5 reuse existing position buffer when flattening indices 2021-08-16 10:46:52 -04:00
Nithin Pranesh b136045efc fix gcc/clang warnings 2021-08-16 09:17:51 -04:00
Nithin Pranesh c17b8bc9a4 WIP generate missing flat normals in cesium-native 2021-08-15 21:26:37 -04:00
Nithin Pranesh 19f55611dc apply review suggestion 2021-08-15 13:27:22 -04:00
Nithin Pranesh 6a4477136d WIP move code to CesiumGltf::Model 2021-08-15 12:57:35 -04:00
Kevin Ring 9b7539d013 PropertyType doesn't need to be a bitmask. 2021-07-28 15:19:52 +10:00
Kevin Ring 3c6185f278 Formatting. 2021-07-28 12:34:25 +10:00
Kevin Ring 8a18a473f7 Default constructors for views, IsMetadataInteger/Floating. 2021-07-27 17:25:56 +10:00
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
Kevin Ring 52c52984b5 ReinterpretCastSpan -> reinterpretCastSpan. 2021-07-24 20:50:15 +10:00
Bao Tran 303bc24f4f add reintepret_cast for span 2021-07-23 13:23:24 -04:00
Bao Tran c7906e2a94 use span byte for numeric MetadataArrayView 2021-07-23 11:36:48 -04:00
Bao Tran ca0b853b73 add comment about the status of property view 2021-07-20 12:36:02 -04: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
Bao Tran e709e8fc34 add float and double type to comment for feature table view and property view 2021-07-13 11:38:29 -04:00
Bao Tran ced959eccb add p prefix for pointer 2021-07-13 11:30:08 -04:00
Bao Tran fb24d8d6ca add comment to FeatureTableView 2021-07-08 18:29:38 -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 e8521c280a retrieve property by using callback 2021-06-28 18:52:02 -04:00
Bao Tran 380697c6c9 add document for PropertyTypeTrait 2021-06-20 19:31:15 -04:00
Bao Tran 4ecf9af04d add documentation for FeatureTableView 2021-06-20 19:03:35 -04:00
Bao Tran 78719b60df add comment for PropertyView 2021-06-20 17:45:23 -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