Searched refs:aspect (Results 1 - 9 of 9) sorted by relevance
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/math/ |
H A D | math_utils.h | 55 static Mat4x4 Perspective(float fov, float aspect, float nearV, float farV)
in Perspective() argument 57 return glm::perspective(fov, aspect, nearV, farV);
in Perspective()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 73 auto aspect = 1.f; in CalculateProjectionMatrix() local 74 if (cameraComponent.aspect > 0.f) { in CalculateProjectionMatrix() 75 aspect = cameraComponent.aspect; in CalculateProjectionMatrix() 77 aspect = static_cast<float>(cameraComponent.renderResolution.x) / in CalculateProjectionMatrix() 81 Math::PerspectiveRhZo(cameraComponent.yFov, aspect, cameraComponent.zNear, cameraComponent.zFar); in CalculateProjectionMatrix() 86 auto aspect = 1.f; in CalculateProjectionMatrix() local 87 if (cameraComponent.aspect > 0.f) { in CalculateProjectionMatrix() 88 aspect = cameraComponent.aspect; in CalculateProjectionMatrix() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | camera_component.h | 143 * If aspect is 0 or less the aspect ratio of the canvas should be used. 145 DEFINE_PROPERTY(float, aspect, "Aspect Ratio", 0, VALUE(-1.f))
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | matrix_util.h | 467 static inline Mat4X4 PerspectiveLhZo(float fovy, float aspect, float zNear, float zFar) in PerspectiveLhZo() argument 472 if (const auto div = (aspect * tanHalfFovy); abs(div) > EPSILON) { 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 512 if (const auto div = (aspect * tanHalfFovy); abs(div) > EPSILON) { in PerspectiveLhNo() 536 static inline Mat4X4 PerspectiveRhNo(float fovy, float aspect, float zNear, float zFar) in PerspectiveRhNo() argument 538 Mat4X4 result = PerspectiveLhNo(fovy, aspect, zNear, zFar); in PerspectiveRhNo()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_data_structures.h | 645 float aspect; member
|
H A D | gltf2_exporter.cpp | 500 exportCamera->attributes.perspective.aspect = cameraComponent.aspect; in ExportGltfCameras() 1485 if (camera->attributes.perspective.aspect > 0.f) { in ExportCameras() 1486 jsonPerspective["aspectRatio"] = camera->attributes.perspective.aspect; in ExportCameras()
|
H A D | gltf2_importer.cpp | 1902 component->aspect = node.camera->attributes.perspective.aspect; in CreateCamera()
|
H A D | gltf2_loader.cpp | 1648 if (!ParseOptionalNumber<float>(loadResult, perspective.aspect, jsonData, "aspectRatio", -1.f)) {
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 1633 autoAspect_ = (cameraComponent->aspect <= 0.0f); in SetupCameraViewPort()
|
Completed in 21 milliseconds