IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Quick 3D - Simple Fog Example

Demonstrates how to enable fog in the 3D scene.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Quick 3D - Simple Fog Example▲

Image non disponible

This example demonstrates the usage of the https://'s https:// property. The scene contains a number of instanced spheres, with controls that can be used to tune the various properties of the https://.

 
Sélectionnez
Fog {
    id: theFog

    enabled: cbFogEnabled.checked
    depthEnabled: cbDepthEnabled.checked
    heightEnabled: cbHeightEnabled.checked
    transmitEnabled: cbTransmitEnabled.checked

    density: valDensity.value
    depthNear: valDepth.first.value
    depthFar: valDepth.second.value
    depthCurve: valDepthCurve.value
    leastIntenseY: valHeightMin.value
    mostIntenseY: valHeightMax.value
    heightCurve: valHeightCurve.value
    transmitCurve: valTransmitCurve.value
}

List of Files▲

Files:

List of Files▲

  • simplefog/CMakeLists.txt

  • simplefog/main.cpp

  • simplefog/main.qml

  • simplefog/qml.qrc

  • simplefog/simplefog.pro

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.