이 페이지에서

Qt Quick 3D - 앤티앨리어싱 예시

Qt Quick 3D 의 앤티앨리어싱 모드를 시연합니다.

안티앨리어싱 설정 패널이 있는 녹색 큐브, 회색 구체, 노란색 큐브

앤티앨리어싱 예제는 ` Qt Quick 3D`에서 앤티앨리어싱을 제어하는 방법을 보여줍니다. 이 예제는 앤티앨리어싱 아티팩트가 나타나는 간단한 장면을 보여줍니다. 간단한 ` Qt Quick ` 사용자 인터페이스를 통해 앤티앨리어싱 유형을 선택하고, 이를 제어하는 옵션을 설정할 수 있습니다.

테스트 장면

이 예제는 구체 하나와 회전된 큐브 두 개로 구성된 간단한 장면을 보여줍니다. 이 장면은 앤티앨리어싱이 활성화되지 않았을 때 가장자리가 들쭉날쭉하게 보이는 현상이 명확하게 드러나도록 설정되어 있습니다.

앤티앨리어싱 제어

앤티앨리어싱은 ` SceneEnvironment ` 객체를 통해 제어됩니다. 값은 사용자 인터페이스에서 선택한 항목에 따라 설정됩니다.

antialiasing mode 는 앤티앨리어싱을 비활성화하려면 ` NoAA `로 설정하거나, 다음 중 하나로 설정할 수 있습니다:

  • SSAA 슈퍼샘플 앤티앨리어싱의 경우
  • MSAA 다중 샘플 앤티앨리어싱의 경우
  • ProgressiveAA 프로그레시브 앤티앨리어싱의 경우

antialiasing quality 는 Medium, High 또는 VeryHigh 로 설정할 수 있습니다.

또한, temporal antialiasing 은 별도로 활성화할 수 있습니다. temporal antialiasing mode 은 다음 중 하나로 설정할 수 있습니다:

  • TAADefault 기본 시간적 앤티앨리어싱의 경우
  • TAAMotionVector 모션 벡터를 사용하는 고품질 시간적 앤티앨리어싱의 경우
     environment: SceneEnvironment {
         id: sceneEnvironment
         clearColor: "#002b36"
         backgroundMode: SceneEnvironment.Color

         antialiasingMode: modeButton1.checked ? SceneEnvironment.NoAA : modeButton2.checked
                                                 ? SceneEnvironment.SSAA : modeButton3.checked
                                                   ? SceneEnvironment.MSAA : SceneEnvironment.ProgressiveAA

         antialiasingQuality: qualityButton1.checked ? SceneEnvironment.Medium : qualityButton2.checked
                                                       ? SceneEnvironment.High : SceneEnvironment.VeryHigh
         temporalAAEnabled: temporalModeButton.checked
         temporalAAStrength: temporalStrengthSlider.value
         temporalAAMode: temporalModeDefault.checked ? SceneEnvironment.TAADefault : SceneEnvironment.TAAMotionVector
     }

앤티앨리어싱에 대한 자세한 내용은 ‘애셋 컨디셔닝’ 섹션의 ‘앤티앨리어싱’ 페이지를 참조하십시오.

예제 프로젝트 @ code.qt.io

© 2026 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.