Home
last modified time | relevance | path

Searched refs:joints (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dskinning_system.cpp360 …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
409joints.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 Dskinning_system.h63 …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 Dintf_skinning_system.h43 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 Dgltf2_importer.cpp583 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 Dgltf2_loader.cpp2312 …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 Dgltf2_exporter.cpp612 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 Dgltf2_data_structures.h676 BASE_NS::vector<Node*> joints; in CORE3D_BEGIN_NAMESPACE() member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/
H A Dintf_mesh_builder.h63 bool joints { false }; in CORE3D_BEGIN_NAMESPACE()
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Ddrawing__pen_8h.md25 … 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.md117 … 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 Djs-apis-graphics-drawing.md4806 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 Dmesh_builder.cpp1073 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()