/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | skinning_system.cpp | 360 …Entity const& skinIbmEntity, array_view<const Entity> const& joints, Entity const& entity, Entity … in CreateInstance() argument 363 …!std::all_of(joints.begin(), joints.end(), [](const Entity& entity) { return EntityUtil::IsValid(e… in CreateInstance() 369 if (skinIbm.matrices.size() != joints.size()) { in CreateInstance() 371 …in bone count doesn't match the given joints (%zu, %zu)!", skinIbm.matrices.size(), joints.size()); in CreateInstance() 393 std::copy(joints.begin(), joints.end(), jointEntities.begin()); in CreateInstance() 407 const auto joints = array_view(jointsHandle->jointEntities, jointsHandle->count); in CreateInstance() local 409 … joints.begin(), joints.end(), [](const Entity& entity) { return EntityUtil::IsValid(entity); })) { in CreateInstance() 413 if (skinIbmHandle->matrices.size() != joints.size()) { in CreateInstance() 415 joints.size()); in CreateInstance()
|
H A D | skinning_system.h | 63 …nce(CORE_NS::Entity const& skinIbmEntity, BASE_NS::array_view<const CORE_NS::Entity> const& joints,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/systems/ |
H A D | intf_skinning_system.h | 43 BASE_NS::array_view<const CORE_NS::Entity> const& joints, CORE_NS::Entity const& entity, in CORE3D_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 583 joints = move(loadDataResult); in LoadPrimitiveAttributeData() 723 info.joints = ContainsAttribute(primitive, GLTF2::AttributeType::JOINTS); in CreatePrimitiveImportInfo() 841 const IMeshBuilder::DataBuffer joints = fillDataBuffer(joint); in ProcessPrimitives() local 843 result.meshBuilder->SetJointData(primitiveIndex, joints, weights, positions); in ProcessPrimitives() 938 skinIbm.matrices.reserve(skin.joints.size()); in BuildSkinIbmComponent() 2007 …std::transform(skin->joints.begin(), skin->joints.begin() + static_cast<ptrdiff_t>(jointsHandle->c… in AddSkinJointsComponents() 2041 vector<Entity> joints; in CreateSkinComponents() local 2043 joints.insert( in CreateSkinComponents() 2046 joints.reserve(node->skin->joints.size()); in CreateSkinComponents() 2047 … std::transform(node->skin->joints.begin(), node->skin->joints.end(), std::back_inserter(joints), in CreateSkinComponents() [all …]
|
H A D | gltf2_loader.cpp | 2312 …return std::all_of(skin.joints.begin(), skin.joints.end(), [&loadResult, &scene](auto const joint)… in PrimitiveAttributes() 2352 vector<size_t> joints; in PrimitiveAttributes() local 2353 if (!ParseOptionalNumberArray(loadResult, joints, jsonData, "joints", vector<size_t>())) { in PrimitiveAttributes() 2357 if (joints.size() > CORE_DEFAULT_MATERIAL_MAX_JOINT_COUNT) { in PrimitiveAttributes() 2358 CORE_LOG_W("Number of joints (%zu) more than current limit (%u)", joints.size(), in PrimitiveAttributes() 2362 skin->joints.resize(joints.size()); in PrimitiveAttributes() 2364 for (size_t i = 0; i < joints.size(); i++) { in PrimitiveAttributes() 2365 if (joints[i] >= loadResult.data->nodes.size()) { in PrimitiveAttributes() 2368 auto joint = loadResult.data->nodes[joints[i]].get(); in PrimitiveAttributes() 2370 skin->joints[i] = joint; in PrimitiveAttributes()
|
H A D | gltf2_exporter.cpp | 612 Node* FindSkeletonRoot(array_view<GLTF2::Node*> joints) in FindSkeletonRoot() argument 615 if (!joints.empty()) { in FindSkeletonRoot() 618 depths.reserve(joints.size()); in FindSkeletonRoot() 619 for (Node* joint : joints) { in FindSkeletonRoot() 673 exportSkin->joints.reserve(skinJointsHandle->count); in ExportGltfSkins() 677 exportSkin->joints.push_back(nodeArray[jointIndex].get()); in ExportGltfSkins() 685 exportSkin->skeleton = FindSkeletonRoot(exportSkin->joints); in ExportGltfSkins() 2019 for (auto const joint : skin->joints) { in ExportSkins()
|
H A D | gltf2_data_structures.h | 676 BASE_NS::vector<Node*> joints; in CORE3D_BEGIN_NAMESPACE() member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/ |
H A D | intf_mesh_builder.h | 63 bool joints { false }; in CORE3D_BEGIN_NAMESPACE()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | drawing__pen_8h.md | 25 … line join styles of a pen. The line join style defines the shape of the joints of a polyline segm… 33 … line join styles of a pen. The line join style defines the shape of the joints of a polyline segm…
|
H A D | _drawing.md | 117 … line join styles of a pen. The line join style defines the shape of the joints of a polyline segm… 212 … line join styles of a pen. The line join style defines the shape of the joints of a polyline segm… 1603 … line join styles of a pen. The line join style defines the shape of the joints of a polyline segm… 2648 Enumerates the line join styles of a pen. The line join style defines the shape of the joints of a …
|
H A D | js-apis-graphics-drawing.md | 4806 Enumerates the join styles of a pen. The join style defines the shape of the joints of a polyline s…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 1073 if (submesh.info.joints) { in CalculateSizes() 2087 const auto* joints = jointData.buffer.data(); in CalculateJointBounds() local 2102 const uint8_t jointIndex = joints[jointFormat.componentByteSize * w]; in CalculateJointBounds() 2109 joints += jointData.stride; in CalculateJointBounds() 2124 joints = jointData.buffer.data(); in CalculateJointBounds() 2145 auto& boundsData = jointBoundsData_[joints[w]]; in CalculateJointBounds() 2149 joints += jointData.stride; in CalculateJointBounds()
|