SkyboxThe Skybox item provides a simple 6-texture environment. More... Inherits QtObject Skybox instantiates the C++ class Skybox This type was introduced in Qt 4.8. Detailed DescriptionThe six textures of the Skybox completely encloses the camera, giving the illusion of a full 3D environment. Although the illusion is far from perfect it is adequate for many simple purposes. It is most suited to sky, clouds, remote landscapes (such as mountains) or possibly city skylines - anything where the textures represent an environment that is effectively infinitely distant from the camera. To use a skybox create a directory with six appropriately named images and place this alongside the main qml file, then specify the directory name for the source property: Viewport {
Skybox {
source: "skybox"
}
Cube { }
}
For an illustration of its use see the flickr3d example. |