DepthRange QML Type

뎁스 버퍼에 기록된 뎁스 값을 다시 매핑할 수 있습니다. 더 보기...

Import Statement: import Qt3D.Render 2.8
In C++: QDepthRange
Inherits:

RenderState

Status: Deprecated

상세 설명

기본적으로 OpenGL은 근거리 및 원거리 클립 평면에 해당하는 [0.0, 1.0] 범위의 장면 깊이 정보를 깊이 버퍼에 씁니다. QDepthRange를 사용하면 이 값을 다른 범위로 매핑할 수 있습니다. 예를 들어 [0.0, 0.5] 범위를 설정하면 렌더링된 장면을 깊이 버퍼에 매핑하여 가까운 클립 평면의 오브젝트는 깊이 값이 0.0이고 먼 클립 평면의 오브젝트는 깊이 값이 0.5가 되도록 할 수 있습니다. 이렇게 하면 씬의 일부를 항상 다른 부분의 앞이나 뒤에 렌더링할 수 있습니다.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.