summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/audio-visualizer-qml
Commit message (Collapse)AuthorAgeFilesLines
* Examples: enable HighDPI scaling for AndroidAssam Boudjelthia2020-02-241-0/+3
| | | | | | | | | These examples show very tiny UI elements on Android devices, thus enabling HighDPI. Task-number: QTBUG-80717 Change-Id: Ibc1a82679e36d74ab6f6d51a4a5b06925f913b84 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Remove QtGui module path from OpenGL related pathsMike Krus2020-02-061-1/+1
| | | | | | | | Many are moving to opengl module in qt6, will make merging easier. Change-Id: I0ad08510e6999a5d887d9197fe2cb0dc21919fb9 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Doc: Fix documentation warningsTopi Reinio2019-11-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - Add (basic) documentation for Qt3DAnimation::QAnimationCallback. - Add missing namespace qualifiers for \class, \fn, \instantiates, \sa, and \property commands. - Remove linking to example file pages, as QDoc no longe treats them as linkable targets. - Fix function/QML method parameter documentation - Fix missing \qmlproperty types - Fix linking to QKeyEvent in QtGui. - Move Qt3DRender::Quick namespace documentation to where QDoc can see it. - Add enum documentation for Qt3DRender::QBlitFramebuffer::InterpolationMethod and Qt3DRender::QMesh::Status. - Other minor fixes This brings the current warning count to zero. Fixes: QTBUG-79822 Change-Id: I1154a7f9c34917a3f240e99da0e7a300be7d65a0 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Eradicate Q_FOREACH loops and mark the module cleanMarc Mutz2019-05-221-1/+2
| | | | | | | | | | The only noteworth change is where a loop around spy.events modified the container using takeFirst(). There was no reason to do so, so it was changed to use the loop variable instead of the result of taking. Change-Id: I02c62a7c2efc5d042c6e669fe5daddd7da7e85d2 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Examples: Fix license headersKai Koehne2017-04-057-140/+215
| | | | | | | Use BSD for all sources, and FDL for all documentation files. Change-Id: Ifce7284d10947b4948be6ecf44fe3ff8be30f7f7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Consolidate QML/C++ materials in extrasKevin Ottens2017-01-271-4/+4
| | | | | | | | | | | We remove the qml implementation of materials in extras that were also implemented in C++. Note this is an API change for the materials having texture properties. The QML ones had mistakenly a string property instead of a texture one. This move also fixes this API issue on the QML end. Change-Id: Ibed14288cd7b8c5ab9615b74b949c6a73ac29329 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fix orientation of textures on planes in audio vis exampleSean Harmer2016-10-102-0/+0
| | | | | | | | | | | | | | | | | | | | | | 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>
* Repair this exampleKevin Ottens2016-04-282-0/+2
| | | | | Change-Id: I8ecf1091d8e3d84a92589a61b8acbccabbb72e64 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Merge branch '5.6' into 5.7Sean Harmer2016-04-163-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/qt3d/examples-common/qorbitcontrol.h src/core/qnodecreatedchange.cpp src/core/qnodecreatedchange.h src/input/frontend/qaxisactionhandler.h src/input/frontend/qinputaspect.h src/input/frontend/qkeyboardhandler.h src/input/frontend/qmousedevice.h src/input/frontend/qmousehandler.h src/input/frontend/qphysicaldevicecreatedchange.h src/input/input.pro src/logic/qframeaction.h src/plugins/sceneparsers/assimp/assimp.pro src/quick3d/imports/input/importsinput.pro src/quick3d/imports/render/importsrender.pro src/render/backend/trianglesextractor.cpp src/render/framegraph/qclearbuffer.h src/render/framegraph/qlighting.h src/render/framegraph/qstateset.h src/render/frontend/qrenderattachment.h src/render/geometry/qabstractattribute.h src/render/geometry/qabstractbuffer.h src/render/geometry/qattribute.h src/render/geometry/qboundingvolumespecifier.h src/render/geometry/qbuffer.h src/render/materialsystem/qfilterkey.h src/render/materialsystem/qparameter.h src/render/materialsystem/qparametermapping.h src/render/renderstates/qblendstate.h src/render/renderstates/qdepthmask.h src/render/renderstates/qpointsize.cpp src/render/renderstates/qrenderstatecreatedchange.cpp src/render/renderstates/qstencilop.h src/render/renderstates/qstencilopseparate.h src/render/renderstates/qstenciltestseparate.h src/render/texture/qabstracttexture.h src/render/texture/qabstracttextureimage.h src/render/texture/qtextureproviders.h Change-Id: I894d7781042cabdaa0cac690c198b57a41127bd4
| * Fix macro that broke the build.Rafael Roquetto2016-03-301-2/+1
| | | | | | | | | | | | | | | | And remove Q_OS_BLACKBERRY, it no longer exists. Change-Id: Iad6d2faa5d9a3c13850d5699cc43caf197781473 Reviewed-by: Volker Krause <volker.krause@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
| * Purge sRGB chunks from PNGs in examples.Edward Welbourne2016-03-222-0/+0
| | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: I78ae38f83ec7e5ad8da41de4eefc12d1df6ebfc0 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* | Some fixes for examples.Wieland Hagen2016-03-091-1/+1
| | | | | | | | | | | | | | | | Mostly insertion of RenderSurfaceSelector, FrameGraph->RendererSettings, remove parameter bindings Change-Id: I182092d43b0842da07e995387c0fe174d45345df Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* | QDirectionalLight renamed direction to worldDirectionRobert Brock2016-03-081-1/+1
| | | | | | | | | | | | | | As per API review Change-Id: Ida081aa126ec285c090b244b3bf6abf579108feb Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* | Examples: remove the usage of QAspectEngine::setData()Liang Qi2016-01-282-13/+0
|/ | | | | Change-Id: Ie96363eb83383e5dd3fb9198b2cb632f27838664 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fixed typo from documentationTitta Heikkala2016-01-251-1/+1
| | | | | Change-Id: Id88f042e3d411df0b7298b3fdff75a49e48150e2 Reviewed-by: Pasi Keränen <pasi.keranen@theqtcompany.com>
* Added image for Audio Visualizer documentationTitta Heikkala2016-01-252-1/+1
| | | | | | | | Added image of running example to documentation of Audio Visualizer. Change-Id: I662106db0b960aac4eaff9c1cbf18b0223bb62aa Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Pasi Keränen <pasi.keranen@theqtcompany.com>
* Added Audio Visualizer exampleTitta Heikkala2016-01-2224-0/+1646
Example visualizes the magnitude of music played as animated bars. The music is played using media player. Implementation combines the use of Qt 3D rendering with Qt Quick 2D elements. Change-Id: I945d50d0dbd26151f274269649cca793a5ad4d27 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by: Pasi Keränen <pasi.keranen@theqtcompany.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>