Home
last modified time | relevance | path

Searched refs:zFar (Results 1 - 21 of 21) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmatrix_util.h467 static inline Mat4X4 PerspectiveLhZo(float fovy, float aspect, float zNear, float zFar) in PerspectiveLhZo() argument
483 if (const auto div = (zFar - zNear); abs(div) > EPSILON) { in PerspectiveLhZo()
484 result.z.z = zFar / div; in PerspectiveLhZo()
485 result.w.z = -(zFar * zNear) / div; in PerspectiveLhZo()
496 static inline Mat4X4 PerspectiveRhZo(float fovy, float aspect, float zNear, float zFar) in PerspectiveRhZo() argument
498 Mat4X4 result = PerspectiveLhZo(fovy, aspect, zNear, zFar); in PerspectiveRhZo()
507 static inline Mat4X4 PerspectiveLhNo(float fovy, float aspect, float zNear, float zFar) in PerspectiveLhNo() argument
523 if (const auto div = (zFar - zNear); abs(div) > EPSILON) { in PerspectiveLhNo()
524 result.z.z = (zFar + zNear) / div; in PerspectiveLhNo()
525 result.w.z = -(2.0f * zFar * zNea in PerspectiveLhNo()
536 PerspectiveRhNo(float fovy, float aspect, float zNear, float zFar) PerspectiveRhNo() argument
547 OrthoLhZo(float left, float right, float bottom, float top, float zNear, float zFar) OrthoLhZo() argument
561 OrthoLhNo(float left, float right, float bottom, float top, float zNear, float zFar) OrthoLhNo() argument
575 OrthoRhZo(float left, float right, float bottom, float top, float zNear, float zFar) OrthoRhZo() argument
584 OrthoRhNo(float left, float right, float bottom, float top, float zNear, float zFar) OrthoRhNo() argument
593 PerspectiveLhZo(float left, float right, float bottom, float top, float zNear, float zFar) PerspectiveLhZo() argument
625 PerspectiveRhZo(float left, float right, float bottom, float top, float zNear, float zFar) PerspectiveRhZo() argument
636 PerspectiveLhNo(float left, float right, float bottom, float top, float zNear, float zFar) PerspectiveLhNo() argument
668 PerspectiveRhNo(float left, float right, float bottom, float top, float zNear, float zFar) PerspectiveRhNo() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dmodel_view_impl.cpp70 void ModelViewImpl::SetCameraFrustum(float zNear, float zFar, float fovDegrees) in SetCameraFrustum() argument
72 GET_COMPONENT_OR_RETURN()->SetCameraFrustum(zNear, zFar, fovDegrees); in SetCameraFrustum()
H A Dmodel_view_impl.h33 void SetCameraFrustum(float zNear, float zFar, float fovDegrees) override;
/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Dscene_viewer_component.h139 void SetCameraFrustum(float zNear, float zFar, float fovDegrees) in SetCameraFrustum() argument
142 zFar_ = zFar; in SetCameraFrustum()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dwidget_adapter.cpp64 bool WidgetAdapter::SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) in SetupCameraViewProjection() argument
67 engine_->SetupCameraViewProjection(zNear, zFar, fovDegrees); in SetupCameraViewProjection()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/
H A Dwidget_adapter.h47 bool SetupCameraViewProjection(float zNear, float zFar, float fovDegrees);
H A Di_engine.h55 virtual void SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) = 0;
/foundation/graphic/graphic_3d/3d_widget_adapter/test/
H A D3d_widget_adapter_test.h48 void SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) override;
H A D3d_widget_adapter_test.cpp66 void EngineTest::SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) in SetupCameraViewProjection() argument
69 (void)(zFar); in SetupCameraViewProjection()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.h43 const BASE_NS::Math::Quat& rotation, float zNear, float zFar, float fovDegrees) const override;
H A Dscene_util.cpp68 cameraComponent.yMag * -0.5f, cameraComponent.yMag * 0.5f, cameraComponent.zNear, cameraComponent.zFar); in CalculateProjectionMatrix()
81 Math::PerspectiveRhZo(cameraComponent.yFov, aspect, cameraComponent.zNear, cameraComponent.zFar); in CalculateProjectionMatrix()
102 cameraComponent.zNear, cameraComponent.zFar); in CalculateProjectionMatrix()
119 IEcs& ecs, const Math::Vec3& position, const Math::Quat& rotation, float zNear, float zFar, float fovDegrees) const
145 cc.zFar = zFar;
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/
H A Dintf_scene_util.h50 * @param zFar Far plane distance.
55 const BASE_NS::Math::Quat& rotation, float zNear, float zFar, float fovDegrees) const = 0;
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Dcamera_component.h174 DEFINE_PROPERTY(float, zFar, "Z Far", 0, VALUE(1000.f))
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp343 renderCamera.zFar = cc.zFar; in FillRenderCameraBaseFromCameraComponent()
2000 reflCam.zFar = camera.zFar;
2107 float zFar = 0.0f;
2127 zFar = 6.0f;
2132 zFar = light.range; // use light range for z far
2134 camera.matrices.proj = Math::PerspectiveRhZo(yFov, 1.0f, zNear, zFar);
2148 camera.zFar = zFar;
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Drender_data_defines_3d.h519 float zFar { 0.0f };
/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/
H A Dlume_common.h146 void SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) override;
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base.cpp998 double zFar = -1.0; in DepthRange() local
999 tie(succ, zFar) = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in DepthRange()
1001 zFar = 1.0; in DepthRange()
1003 if (zNear > zFar) { in DepthRange()
1007 LOGD("WebGL depthRange zNear %{public}f zFar %{public}f ", zNear, zFar); in DepthRange()
1008 glDepthRangef(static_cast<GLclampf>(zNear), static_cast<GLclampf>(zFar)); in DepthRange()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1555 void LumeCommon::SetupCameraViewProjection(float zNear, float zFar, float fovDegrees) in SetupCameraViewProjection() argument
1558 zFar_ = zFar; in SetupCameraViewProjection()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp494 exportCamera->attributes.ortho.zfar = cameraComponent.zFar; in ExportGltfCameras()
502 exportCamera->attributes.perspective.zfar = cameraComponent.zFar; in ExportGltfCameras()
H A Dgltf2_importer.cpp1897 component->zFar = node.camera->attributes.ortho.zfar; in CreateCamera()
1904 component->zFar = node.camera->attributes.perspective.zfar; in CreateCamera()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_holder.cpp566 cc.zFar = 100.f; in CreateCamera()

Completed in 33 milliseconds