summaryrefslogtreecommitdiffstats
path: root/examples/shadow-map-qml
Commit message (Collapse)AuthorAgeFilesLines
* Make shadow mapping functional on ES 3Laszlo Agocs2015-02-186-0/+292
| | | | | | | | | To preserve our sanity we will only support ES 3.x, not 2.0 + GL_OES_depth_texture + EXT_shadow_samplers. This way we can provide version 300 es shaders and do not have to introduce yet another filter and technique. Change-Id: Ib5c826d6540b4848f0cb4629e5311150169a9697 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Copyright header change.Mika Salmela2015-02-0913-247/+182
| | | | | | | | As for preparation for Qt5.5 release the copyright header is updated to correspond the current license requirements. Change-Id: I36632918b66f455539453b42c369689fb11298ec Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* The input aspect don't need QWindow anymoreKevin Ottens2015-01-231-1/+1
| | | | | | | | | This aspect doesn't need to depend on a QWindow, any QObject can do as long as we can have an event filter on it and we see input events on it. Rename the whole concept to "view" in the process. Change-Id: Idce2fcc37c5679fe0f7915d27793685167dd59a6 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove the now useless QuickWindowKevin Ottens2015-01-231-2/+3
| | | | | Change-Id: I714cf941230fdd83f0de37125bf44b4888662b25 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Move CameraController in the input aspectKevin Ottens2015-01-232-1/+3
| | | | | | | | | | | | | | | With this move it also becomes a private class. As a result I had to touch all the examples as you won't get camera navigation anymore if the input aspect is not registered. Quick3DConfiguration doesn't depend on the QuickWindow singleton hack anymore, it tries to get back to the aspects and set the camera on the ones having a corresponding property. It also mostly empties Window and QuickWindow. Change-Id: Ife1644bd338e51929bad1e99089bd5e4c68ebc68 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Port the shadow map example to the new featuresGiuseppe D'Angelo2015-01-173-20/+18
| | | | | Change-Id: Ic835c341d57c570e8466e3ebc307c38faad0743f Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Shadow map example: temporary fix for asset loadingGiuseppe D'Angelo2015-01-162-2/+2
| | | | | | Change-Id: I37218ad0bf5225873ebc2d0304ebc0c22eba94a5 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Qt3D::Window simplifiedPaul Lemire2014-11-141-4/+10
| | | | | | | | | | | | | | The Qt3D::Window doesn't contain the QAspectEngine anymore. This will allow to to pass any kind of surface to the QAspectEngine. We could still have a wrapper like QQuickView around the QQmlAspectEngine if needed but if it weren't for the camera controller that we need to keep a little longer, a simple QWindow could be used in every example. All examples were updated. Change-Id: I4921df0df6f1066cd409ea886faf41d7e8834ef6 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Qt3DQuick value type and color providersPaul Lemire2014-10-318-54/+0
| | | | | | | | | | | | | | | | | Provides the following value types under the Qt3D QML import: QColor QVector2D QVector3D QVector4D QQuaternion QMatrxi4x4 This allow users not to import QtQuick everwhere when they just need one of those types. Change-Id: I7bd7e29c70c22886c40edb7abfb6ff1b7329b235 Task-number: QTBUG-41550 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QCamera refactoredPaul Lemire2014-10-302-36/+18
| | | | | | | | All examples updated to work with the modifications. Change-Id: I51a3036fa750ca297a2180c488747d0878b940a4 Task-number: QTBUG-41543 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QTexture refactoringPaul Lemire2014-10-302-5/+7
| | | | | | | | | | | | | | Target is now set in the ctor from C++. On the QML side, there's a QTexture subclass for each target. WrapMode on s, t, r for texture, accessible as a grouped property in QML. Note: I left out the static fromImage as I didn't really understand their purpose. Please let me know what I'm missing. Change-Id: I16f75283ae459cbd8ab2d1ec53584b3022bc965b Task-number: QTBUG-41537 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rename RendererAspect -> QRenderAspectSean Harmer2014-10-261-2/+2
| | | | | Change-Id: Ib16fe125e160764571775f3667cff082db921f7d Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QParameterMapper: renamed to QParameterMappingPaul Lemire2014-10-221-3/+3
| | | | | | Change-Id: I2137a22bdf35979ef300820a613db7d7bdc647e0 Task-number: QTBUG-41535 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QShaderProgram: remove source file properties, replace by helper methodPaul Lemire2014-10-181-4/+4
| | | | | | | | | | Only the source code QByteArray properties remain. The user is still able to load a shader from a source file by using the shaderFromSource helper method and assigning what it returns to one of the QByteArray source code properties. Change-Id: I5246498fa680ec74d095d7a45f0b1bce239efc13 Task-number: QTBUG-41536 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QRenderPassFilter: renamed criteria property to includesPaul Lemire2014-10-171-2/+2
| | | | | Change-Id: I4422614e5ac7ebe4de08a6b5eee18c32406bb325 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QRenderPass: renamed criteria property to annotationsPaul Lemire2014-10-171-2/+2
| | | | | Change-Id: Id824323880a3cf310adb1c581c440eeff9451d4f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Renamed QCriterion to QAnnotationPaul Lemire2014-10-172-4/+4
| | | | | | Change-Id: I4b40120807a60873b38687ba8ce0b6c2dfd77127 Task-number: QTBUG-41534 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Use the window aspect ratio for the camera in the shadow map exampleGiuseppe D'Angelo2014-10-041-1/+1
| | | | | | Change-Id: I2115f3248afc47358440a7471fd5fc811550c763 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Give a fixed size to the FBO in the shadow map exampleGiuseppe D'Angelo2014-10-041-2/+2
| | | | | | Change-Id: I3a45ce1c49ef58f6a6bfa2120ab21020e3f7c214 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Shadow Map example: Add plane animationsPaul Lemire2014-10-031-1/+52
| | | | | Change-Id: I3f6a46bf9a5e7e143d5c1fb9596fbb1f984f6cb7 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Add a shadow map QML exampleGiuseppe D'Angelo2014-10-0315-0/+1149
Change-Id: Idb1c8e8b5f6f5ad1dd0124a4abb9cc625d577a00 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>