diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-01-27 15:49:53 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-02-08 08:40:01 +0000 |
commit | f49cabe35cbd89bd4e5a0e91100a96afdb5d8401 (patch) | |
tree | c14bd25c03032abca97c8f0a5bf794a8b014eb7c /examples/exampleresources | |
parent | a550af57b5ce066e257697a38dd5c2bac40f89d4 (diff) |
Skybox example
Demonstrate the use of a CubeMapTexture
Note: cubemap textures added to the example resources assets as webp
Change-Id: I68256c204c3ccde7a4cc744238135dbd9b317198
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/exampleresources')
15 files changed, 29 insertions, 1 deletions
diff --git a/examples/exampleresources/assets/cubemaps/miramar/README.TXT b/examples/exampleresources/assets/cubemaps/miramar/README.TXT new file mode 100644 index 000000000..680005eac --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/README.TXT @@ -0,0 +1,15 @@ +THIS SKY WAS UPDATED AT THE 27TH +THE ORIG HAD SOME ERRORS + +MIRAMAR +high res 1024^2 environment map +ships as TGA. + + +By Jockum Skoglund aka hipshot +hipshot@zfight.com +www.zfight.com +Stockholm, 2005 08 25 + + +Modify however you like, just cred me for my work, maybe link to my page. diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_negx.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_negx.webp Binary files differnew file mode 100644 index 000000000..1ea719fb3 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_negx.webp diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_negy.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_negy.webp Binary files differnew file mode 100644 index 000000000..5329f6ac9 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_negy.webp diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_negz.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_negz.webp Binary files differnew file mode 100644 index 000000000..2bae54690 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_negz.webp diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_posx.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_posx.webp Binary files differnew file mode 100644 index 000000000..ec33d1eb7 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_posx.webp diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_posy.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_posy.webp Binary files differnew file mode 100644 index 000000000..6d36fcba5 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_posy.webp diff --git a/examples/exampleresources/assets/cubemaps/miramar/miramar_posz.webp b/examples/exampleresources/assets/cubemaps/miramar/miramar_posz.webp Binary files differnew file mode 100644 index 000000000..327041c71 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/miramar/miramar_posz.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_negx.webp b/examples/exampleresources/assets/cubemaps/night/night_negx.webp Binary files differnew file mode 100644 index 000000000..1c595caf3 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_negx.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_negy.webp b/examples/exampleresources/assets/cubemaps/night/night_negy.webp Binary files differnew file mode 100644 index 000000000..9a597d998 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_negy.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_negz.webp b/examples/exampleresources/assets/cubemaps/night/night_negz.webp Binary files differnew file mode 100644 index 000000000..a05772c23 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_negz.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_posx.webp b/examples/exampleresources/assets/cubemaps/night/night_posx.webp Binary files differnew file mode 100644 index 000000000..0b15aa6eb --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_posx.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_posy.webp b/examples/exampleresources/assets/cubemaps/night/night_posy.webp Binary files differnew file mode 100644 index 000000000..23cd803a9 --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_posy.webp diff --git a/examples/exampleresources/assets/cubemaps/night/night_posz.webp b/examples/exampleresources/assets/cubemaps/night/night_posz.webp Binary files differnew file mode 100644 index 000000000..4899aa98e --- /dev/null +++ b/examples/exampleresources/assets/cubemaps/night/night_posz.webp diff --git a/examples/exampleresources/example-assets.qrc b/examples/exampleresources/example-assets.qrc index 9ae2b6d71..ccfac6563 100644 --- a/examples/exampleresources/example-assets.qrc +++ b/examples/exampleresources/example-assets.qrc @@ -85,5 +85,17 @@ <file>assets/textures/pattern_09/specular.webp</file> <file>assets/textures/pattern_09/normal.webp</file> <file>assets/textures/pattern_09/diffuse.webp</file> + <file>assets/cubemaps/miramar/miramar_negx.webp</file> + <file>assets/cubemaps/miramar/miramar_negy.webp</file> + <file>assets/cubemaps/miramar/miramar_negz.webp</file> + <file>assets/cubemaps/miramar/miramar_posx.webp</file> + <file>assets/cubemaps/miramar/miramar_posy.webp</file> + <file>assets/cubemaps/miramar/miramar_posz.webp</file> + <file>assets/cubemaps/night/night_negx.webp</file> + <file>assets/cubemaps/night/night_negy.webp</file> + <file>assets/cubemaps/night/night_negz.webp</file> + <file>assets/cubemaps/night/night_posx.webp</file> + <file>assets/cubemaps/night/night_posy.webp</file> + <file>assets/cubemaps/night/night_posz.webp</file> </qresource> </RCC> diff --git a/examples/exampleresources/exampleresources.pro b/examples/exampleresources/exampleresources.pro index af2145c5f..9f3d394ef 100644 --- a/examples/exampleresources/exampleresources.pro +++ b/examples/exampleresources/exampleresources.pro @@ -31,4 +31,5 @@ OTHER_FILES += \ assets/textures/pattern_09/* \ assets/chest/* \ assets/houseplants/* \ - assets/metalbarrel/* + assets/metalbarrel/* \ + assets/cubemaps/* |