이 페이지에서

자동차 구성기

자동차 모델 예시입니다. Qt Quick 3D 카메라, 확장된 씬 환경 및 Qt Quick 3D.

사막을 배경으로 한 검은색 스포츠카의 3D 측면 앵글 뷰

자동차 컨피규레이터는 다양한 씬 환경과 다양한 색상으로 자동차를 보여줍니다. 이 예제는 QML로 구현되었으며 여러 Qt 모듈에 의존하고 있습니다. Qt QuickQt Quick 3D.

예제 실행하기

에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 Qt Creator: 자습서를 참조하세요 : 빌드 및 실행을 참조하세요.

플랫폼 참고 사항

이 예제는 런타임에 인터넷 서버에서 일부 에셋을 다운로드합니다. 따라서 처음 실행할 때는 인터넷 연결이 필요합니다.

두 가지 모드로 자동차 모델과 상호작용할 수 있습니다:

  • 데모 모드
  • 사용자 모드

데모 모드

카메라 시점이 다른 경로를 따라 이동하며 자동차의 다양한 모습을 보여줍니다.

사용자 모드

사용자는 마우스 또는 터치 입력을 사용하여 자동차 주위를 회전할 수 있습니다.

카메라 초기화

카메라가 초기 위치로 이동합니다.

씬 환경

이 예제에는 네 가지 씬 환경을 사용할 수 있습니다:

  • 차고
  • 사막
  • 애니메이션
  • 스튜디오
차고 환경

차고 환경은 기본 설정으로 사용되며 깔끔하고 산업적인 프레젠테이션 공간을 제공합니다:

ExtendedSceneEnvironment {
    id: showhall

    glowBloom: 0
    glowStrength: 0
    glowEnabled: false
    depthOfFieldFocusDistance: 600
    depthOfFieldFocusRange: 627
    depthOfFieldBlurAmount: 19.97
    depthOfFieldEnabled: false
    exposure: 1.2

    lightProbe: _Hall
    backgroundMode: SceneEnvironment.SkyBox
    tonemapMode: SceneEnvironment.TonemapModeLinear
    probeExposure: 1
    depthPrePassEnabled: false
    depthTestEnabled: true
    antialiasingMode: SceneEnvironment.MSAA
    antialiasingQuality: root.perfMode ? SceneEnvironment.Medium : SceneEnvironment.VeryHigh
    clearColor: "#000000"
    probeHorizon: 0.5

    Texture {
        id: _Hall
        source: root.downloadBase + "/content/images/HDR/_Hall.ktx"
        mipFilter: Texture.Linear
        scaleV: 2
    }
    temporalAAEnabled: false
}
사막 환경

사막 환경은 HDR 스카이 돔 조명, 대기 안개 효과, 특수 지오메트리를 갖추고 있습니다:

ExtendedSceneEnvironment {
    id: desert

    lightProbe: _Desert
    glowStrength: 2
    glowBloom: 0.11191
    glowEnabled: true

    depthPrePassEnabled: false
    probeExposure: btnRain.checked ? 1.0 : 1.5
    tonemapMode: SceneEnvironment.TonemapModeLinear
    backgroundMode: SceneEnvironment.SkyBox
    depthTestEnabled: true
    antialiasingMode: SceneEnvironment.MSAA
    antialiasingQuality: root.perfMode ? SceneEnvironment.Medium : SceneEnvironment.VeryHigh
    clearColor: "#000000"
    probeHorizon: 0.5
    temporalAAEnabled: false
    fog: Fog {}
}
애니메이션 환경

애니메이션 환경은 비디오 월 효과로 역동적인 콘텐츠를 선보입니다:

ExtendedSceneEnvironment {
    id: videoRoom

    aoSoftness: 0
    aoDistance: 0
    probeExposure: 1
    tonemapMode: SceneEnvironment.TonemapModeLinear
    antialiasingMode: SceneEnvironment.MSAA
    antialiasingQuality: root.perfMode ? SceneEnvironment.Medium : SceneEnvironment.VeryHigh
    clearColor: "#000000"
    depthPrePassEnabled: false
    backgroundMode: SceneEnvironment.Color
    depthTestEnabled: true
    probeHorizon: 0
    Vignette {
        id: vignette
        vignetteStrength: 15
        vignetteColor: Qt.vector3d(0, 0, 0)
    }
    temporalAAEnabled: false
}
스튜디오 환경

스튜디오 환경은 제어된 조명으로 깔끔하고 전문적인 프레젠테이션 환경을 제공합니다:

ExtendedSceneEnvironment {
    id: studio
    aoEnabled: false
    antialiasingQuality: SceneEnvironment.VeryHigh
    antialiasingMode: SceneEnvironment.MSAA

    tonemapMode: SceneEnvironment.TonemapModeLinear
    probeExposure: 1
    probeHorizon: 1
    clearColor: "#000000"
    temporalAAEnabled: false
    depthTestEnabled: true
    backgroundMode: SceneEnvironment.Color
    depthPrePassEnabled: false
}

자동차 색상

자동차에는 네 가지 색상을 사용할 수 있습니다:

  • 흰색
  • 검정
  • 노란색
  • 빨간색

조명

차량의 조명을 켜고 끌 수 있습니다.

소스 파일

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

모든 Qt 예제를참조하십시오 .

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