summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/audio-visualizer-qml
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-10-03 13:24:45 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-10-10 05:42:51 +0000
commit87efd2423e11b2103c5e50528b6f704d3fc2c84a (patch)
tree8bb270457d8d77934d51599a59e20cb447aa4dbf /examples/qt3d/audio-visualizer-qml
parent7fbbcaf280618c03da22cebac690b088d2b3ba03 (diff)
Fix orientation of textures on planes in audio vis example
Due to 44f1a92338859f1cc043ec22e0142037b5f87936 we need to correct the orientation of the textures applied to the plane meshes in this example. There is a variety of ways to do this including: * Adapting the texture coordinates * Rotate plane other direction about x axis and swap face culling mode * Flip textures on disk This patch goes for the 3rd option. This can be reverted in 5.8 when we get new API to control whether texture images are flipped upon loading. None of these are ideal but is an intermediate step in getting to a fully consistent usage with 5.8. This follows the same approach as was used with the anaglph-rendering example skybox textures. Change-Id: I7fda41204625d7b30ac295ef789b6dea6018c2b8 Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/audio-visualizer-qml')
-rw-r--r--examples/qt3d/audio-visualizer-qml/images/demotitle.pngbin20912 -> 7449 bytes
-rw-r--r--examples/qt3d/audio-visualizer-qml/images/songtitle.pngbin5764 -> 6181 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/examples/qt3d/audio-visualizer-qml/images/demotitle.png b/examples/qt3d/audio-visualizer-qml/images/demotitle.png
index 58816784e..75c6c42bd 100644
--- a/examples/qt3d/audio-visualizer-qml/images/demotitle.png
+++ b/examples/qt3d/audio-visualizer-qml/images/demotitle.png
Binary files differ
diff --git a/examples/qt3d/audio-visualizer-qml/images/songtitle.png b/examples/qt3d/audio-visualizer-qml/images/songtitle.png
index 2a9961093..84efe533a 100644
--- a/examples/qt3d/audio-visualizer-qml/images/songtitle.png
+++ b/examples/qt3d/audio-visualizer-qml/images/songtitle.png
Binary files differ