/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | circular_arcs.cpp | 52 std::vector<OH_Drawing_Matrix*> matrices = CreateMatrices(coordinate); in OnTestFunction() local 53 int baseMatrixCnt = matrices.size(); in OnTestFunction() 54 ApplyRotations(matrices, baseMatrixCnt, coordinate); in OnTestFunction() 62 for (const auto m : matrices) { in OnTestFunction() 89 for (auto m : matrices) { in OnTestFunction() 97 std::vector<OH_Drawing_Matrix*> matrices; in CreateMatrices() local 99 matrices.push_back(OH_Drawing_MatrixCreateRotation(coordinate, coordinate, 45.f)); in CreateMatrices() 103 matrices.push_back(mI); in CreateMatrices() 120 matrices.push_back(m1); in CreateMatrices() 121 matrices in CreateMatrices() 130 ApplyRotations( std::vector<OH_Drawing_Matrix*>& matrices, int baseMatrixCnt, float coordinate) ApplyRotations() argument [all...] |
H A D | shadowutils.cpp | 47 std::vector<OH_Drawing_Matrix*>& matrices; member 159 std::vector<OH_Drawing_Matrix*>& matrices) in destory_path() 167 for (auto m : matrices) { in destory_path() 172 matrices.clear(); in destory_path() 252 for (auto m : param.matrices) { in draw_rect() 270 for (auto m : param.matrices) { in draw_star() 372 std::vector<OH_Drawing_Matrix*> matrices; in draw_paths() local 375 matrices.push_back(mI); in draw_paths() 379 matrices.push_back(matrix); in draw_paths() 382 DRAW_RECT_PARAM param = { paths, pathsBounds, matrices, mod in draw_paths() 158 destory_path(std::vector<OH_Drawing_Path*>& paths, std::vector<OH_Drawing_Path*>& concavePaths, std::vector<OH_Drawing_Matrix*>& matrices) destory_path() argument [all...] |
H A D | circular_arcs.h | 33 void ApplyRotations(std::vector<OH_Drawing_Matrix*>& matrices, int baseMatrixCnt, float coordinate);
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_cameras.cpp | 160 const Math::Mat4X4 viewProj = jp.proj * currCamera.matrices.view; in ExecuteFrame() 161 dat->view = currCamera.matrices.view; in ExecuteFrame() 165 dat->viewInv = Math::Inverse(currCamera.matrices.view); in ExecuteFrame() 170 const Math::Mat4X4 viewProjPrevFrame = jpPrevFrame.proj * currCamera.matrices.viewPrevFrame; in ExecuteFrame() 171 dat->viewPrevFrame = currCamera.matrices.viewPrevFrame; in ExecuteFrame() 175 // possible shadow matrices in ExecuteFrame() 193 const Frustum frustum = frustumUtil_->CreateFrustum(jp.baseProj * currCamera.matrices.view); in ExecuteFrame() 217 jp.baseProj = prevFrame ? camera.matrices.projPrevFrame : camera.matrices.proj; in GetProjectionMatrix()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | skin_ibm_component.h | 28 /** Contains the inverse bind matrices (IBM) of a skin. The transform each skin joint to the initial pose. 32 DEFINE_PROPERTY(BASE_NS::vector<BASE_NS::Math::Mat4X4>, matrices, "Inverse Bind Matrices", 0, )
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | skinning_system.cpp | 209 auto matrices = array_view<Math::Mat4X4>( in UpdateJointTransformations() local 212 std::transform(jointEntities.begin(), jointEntities.end(), ibms.begin(), matrices.begin(), in UpdateJointTransformations() 255 auto const& ibmMatrices = skinIbmHandle->matrices; in UpdateSkin() 290 // copy joint matrices if they have changed in Update() 369 if (skinIbm.matrices.size() != joints.size()) { in CreateInstance() 371 "Skin bone count doesn't match the given joints (%zu, %zu)!", skinIbm.matrices.size(), joints.size()); in CreateInstance() 391 skinInstance.count = skinIbm.matrices.size(); in CreateInstance() 413 if (skinIbmHandle->matrices.size() != joints.size()) { in CreateInstance() 414 CORE_LOG_E("Skin bone count doesn't match the given joints (%zu, %zu)!", skinIbmHandle->matrices.size(), in CreateInstance() 438 // joint matrices wil in CreateInstance() [all...] |
H A D | render_system.cpp | 1441 // Clear skinning bit if joint matrices were not given. in ProcessSubmesh() 1871 camera.matrices.view = view; 1872 camera.matrices.proj = proj; 1874 camera.matrices.viewPrevFrame = prevFrameCamData.view; 1875 camera.matrices.projPrevFrame = prevFrameCamData.proj; 1938 const Frustum frustum = frustumUtil_->CreateFrustum(camera.matrices.proj * camera.matrices.view); 1960 const Math::Mat4X4 reflectedView = camera.matrices.view * reflection; 1962 Math::Mat4X4 reflectedProjection = camera.matrices.proj; 1983 reflCam.matrices [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/ |
H A D | render_node_scene_util.cpp | 259 const Math::Mat4X4 viewInv = Math::Inverse(cameras[cameraId].matrices.view); in GetRenderSlotSubmeshes() 263 camFrustum = frustumUtil->CreateFrustum(cameras[cameraId].matrices.proj * cameras[cameraId].matrices.view); in GetRenderSlotSubmeshes()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/ |
H A D | render_data_defines_3d.h | 264 /** A valid index to skin joint matrices if has skin. Get from AddSkinJointMatrices() */ 507 Matrices matrices; variable
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 2334 size_t matrices; 2335 if (!ParseOptionalNumber<size_t>(loadResult, matrices, jsonData, "inverseBindMatrices", GLTF_INVALID_INDEX)) { 2339 if (matrices != GLTF_INVALID_INDEX && matrices < loadResult.data->accessors.size()) { 2340 skin->inverseBindMatrices = loadResult.data->accessors[matrices].get();
|
H A D | gltf2_importer.cpp | 938 skinIbm.matrices.reserve(skin.joints.size()); in BuildSkinIbmComponent() 947 skinIbm.matrices.insert(skinIbm.matrices.end(), ibls.begin(), ibls.end()); in BuildSkinIbmComponent() 955 skinIbm.matrices.insert(skinIbm.matrices.end(), skin.joints.size(), Math::IDENTITY_4X4); in BuildSkinIbmComponent() 3482 if (!t->data.matrices.empty()) {
|
H A D | gltf2_exporter.cpp | 668 exportSkin->inverseBindMatrices = StoreInverseBindMatrices(ibmHandle->matrices, bufferHelper); in ExportGltfSkins()
|