summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/shadow-map-qml
Commit message (Collapse)AuthorAgeFilesLines
* Examples: Fix license headersKai Koehne2017-04-054-72/+128
| | | | | | | Use BSD for all sources, and FDL for all documentation files. Change-Id: Ifce7284d10947b4948be6ecf44fe3ff8be30f7f7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Improve documentation for shadowmap exampleSean Harmer2017-03-272-37/+42
| | | | | Change-Id: Ia71dcd616bc66e128250ae17a0ece7c9669209b7 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
* Doc: various link errors qt3dNico Vertriest2016-10-131-2/+2
| | | | | | | | | | | assimpio.cpp:72: warning: Can't link to 'GLTFPIO' qpicktriangleevent.cpp:66: warning: Can't link to 'QPickSettings' qpicktriangleevent.cpp:76: warning: Can't link to 'PickSettings' shadow-map-qml.qdoc:28: warning: Can't link to 'RendererSettings' shadow-map-qml.qdoc:28: warning: Can't link to 'Techniques' Change-Id: I039a4134d18e2b2472554215a69e971650b29b64 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Fix shadow-map-qml exampleSean Harmer2016-06-022-9/+6
| | | | | | | | | In the absence of the ParameterMapper type (removed) we need to directly specify the correct uniform names. Task-number: QTBUG-53737 Change-Id: I678ac6f5fab968ee2105f45c8e2d9db66da78293 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Update docs/examples: QClearBuffer -> QClearBuffersWieland Hagen2016-05-041-2/+2
| | | | | Change-Id: I85b8892e0980d001dcdeaf1741c1c0cc529da4a2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add more missing Qt3D.Extras imports to the examples.Volker Krause2016-05-031-0/+1
| | | | | Change-Id: I855adca5554f5a1148e80c87bf76deaa0b909846 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Move last remaining pieces of examples-common to Qt3DExtrasPaul Lemire2016-05-012-3/+3
| | | | | | | Also created a Quick3DExtras for QML related extras (Qt3DQuickWindow) Change-Id: I1b95ea841e07ac8d68a07a1911d783b722e6fe03 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Move defaults and geometries out of Qt3DRender and into Qt3DExtrasPaul Lemire2016-04-231-0/+1
| | | | | | | QBoundingVolumeDebug has been disabled for now. Will be re-enabled later on. Change-Id: Id6b0abab2ec2aa697330bd20d782f9d104d25d50 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Class QRenderPassFilter renamingRobert Brock2016-03-231-2/+2
| | | | | | | | | | includes -> matchAny addInclude -> addMatch removeInclude -> removeMatch Change-Id: Ib9288ab79b3e76ae8a8aa2f7e3f20c5386438a25 Task-number: QTBUG-51456 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove QViewport::clearColorMike Krus2016-03-221-1/+4
| | | | | | Task-number: QTBUG-51460 Change-Id: I616f4506dffd649efb931824fab82efcdefaeee3 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rename QClearBuffer to QClearBuffersMike Krus2016-03-201-4/+4
| | | | | | Task-number: QTBUG-51460 Change-Id: I3f522f5eaea7bf0f94dbcdc1e7463f2827c0fe3b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Follow Annotation API changes.Volker Krause2016-03-201-1/+1
| | | | | Change-Id: I9bb7fbe438d942d2cb776ab8cd3d8301a5862524 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QAnnotation changesFranck Arrecot2016-03-172-7/+7
| | | | | | Task-number: QTBUG-51454 Change-Id: Iee08f6b1be39894c40926afb20e003d46bc735f4 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Fix accidentally renamed RenderTarget.attachments properties.Volker Krause2016-03-121-1/+1
| | | | | Change-Id: I69ea9e2fd357c663dd18ead74b6d3d99a50ed92f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Some fixes for examples.Wieland Hagen2016-03-093-54/+39
| | | | | | | | Mostly insertion of RenderSurfaceSelector, FrameGraph->RendererSettings, remove parameter bindings Change-Id: I182092d43b0842da07e995387c0fe174d45345df Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QPolygonOffset renamed units to depthStepsRobert Brock2016-03-081-2/+2
| | | | | | | | | Carried changes into the QML examples (planets and shadow map) for both PolygonOffset name changes As per API review Change-Id: Idd2676d53794eb6025696a79ddb59a26ac98b085 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QRenderTarget rename attachment to outputsRobert Brock2016-03-081-1/+1
| | | | | | | As per API review Change-Id: I85cb9b405e79d9062a80b6f0b0cbb1968c1c0664 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Follow API changes in QRenderAttachment.Volker Krause2016-03-051-1/+1
| | | | | Change-Id: I104367392c6b00b7d31cc900bd639cff9a4c08eb Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QRenderTargetOutput enumRobert Brock2016-03-031-1/+1
| | | | | | | | As per API review renamed FooAttachment to just Foo Change-Id: Ifd977b2b8bdb6706a70dd10f2ea3ee6a381c26b8 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QRenderAttachment renamed to QRenderTargetOutputRobert Brock2016-03-031-2/+2
| | | | | | | As per API review Change-Id: Icaca9797c01100402e6d103be2a0425820a717ec Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Follow API changes in PolygonOffset.Volker Krause2016-03-031-2/+2
| | | | | Change-Id: I3a279ec603bb69dec423a80db9ebb652bd458cce Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QRenderAttachment renamed RenderAttachmentType to AttachmentPointRobert Brock2016-03-021-1/+1
| | | | | | | | | As per API review New name was better fitting to the actual description/usage Renamed point to attachmentPoint Change-Id: Id14a312acabdcc9bda49a4d30efe490342105660 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QDepthTest rename func to depthFunctionRobert Brock2016-02-261-2/+2
| | | | | | | As per API review Change-Id: Iea3cbdb16618b248e221817000b71822a588bf6a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rename the viewport rect property to normalizedRectRobert Brock2016-02-261-1/+1
| | | | | | | As per API review Change-Id: I51caae419044a297e58745450d5893f2a27db8be Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Merge remote-tracking branch 'origin/5.6' into devLiang Qi2016-01-261-9/+9
|\ | | | | | | | | | | | | | | | | Conflicts: src/doc/src/qt3dcollision-module.qdoc src/render/frontend/qcamera.cpp src/render/frontend/qcameralens.cpp Change-Id: I8a0ae250a6b8e065a1ef3c817968ebb7ef23b20d
| * Doc: Use 'Qt 3D' instead of Qt3D consistentlyTopi Reinio2016-01-251-3/+3
| | | | | | | | | | Change-Id: I91c0d00c0116a05209239da399f4076316a51fc7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
| * Doc: Removed Qt3DCollision namespace and module docsVenugopal Shivashankar2016-01-211-6/+6
| | | | | | | | | | | | | | | | Besides that, fixed a few qdoc warnings. Change-Id: Ibaf8fd6ffbb93f3f2bd73fa5fedf06e94f6ac2eb Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* | Unify license header usageAntti Kokko2016-01-261-4/+4
| | | | | | | | | | | | | | Updated FDL license. Change-Id: If5b261a12d1fba0d317848d3710e45e83f992fdf Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | Unify license header usage.Antti Kokko2016-01-2613-174/+300
| | | | | | | | | | | | | | | | Updated license headers to use new BSD header instead of LGPL3 one (in those files which will be under BSD) Change-Id: I300c5840db3fd4708d5d85e84f7c6729cba326e5 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | shadow-map-qml: add QInputSettings componentPaul Lemire2016-01-231-1/+4
| | | | | | | | | | Change-Id: I9b6fc713b72f9dc202e6d1122a0e84299711fcaa Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* | Link examples against static libPaul Lemire2016-01-162-19/+5
|/ | | | | | | | | | | | | Contains: Qt3DWindow Qt3DQuickWindow QFirstPersonCameraController FirstPersonCameraController.qml This will allow to get rid of the Camera configuration hack Change-Id: I55c5634aa4c162f9dd2852d3258073a6352b426c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove initialize/shutdown from APIv5.6.0-beta1Kevin Ottens2015-12-141-1/+0
| | | | | | | | Hiding them in QAspectEnginePrivate and calling them when needed from setRootEntity. Change-Id: I4c3dfb19d84ae90cc15bbff29a4abd0705bb61dc Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Avoid using the name Light in the examplesLaszlo Agocs2015-11-305-4/+4
| | | | | | | To prevent colliding with the standard Qt 3D type. Change-Id: Ibf7b8b744dd23f1ced231e90486729be894a1be7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Doc: Fix QDoc warnings and do further cleanupTopi Reinio2015-11-231-2/+2
| | | | | | | | | Fix the documentation issues that still remained broken after renaming the namespaces/QML modules. Do further cleanup and minor doc editing. Change-Id: Iff38c8c1b99e7f712dc3f9ad07ecd37a747b3a26 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* Adapt examples to use rotation property and quaternion helperSean Harmer2015-11-201-8/+1
| | | | | | | | This covers all examples that can use the standard S, R, T order of transformations with a single rotation. Change-Id: Ief6741f9605742c545d8ef2be9bf8ab65164835d Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Adapt examples to use no args form of Qt.matrix4x4()Sean Harmer2015-11-201-4/+1
| | | | | Change-Id: If289d74601e2244d4175ba6b1ea3eb95df0bd50b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Remove transforms property of QTransformSean Harmer2015-11-177-43/+33
| | | | | | | | Compound transformations are now built up using QMatrix4x4 in both QML and C++. Updating examples accordingly. Change-Id: I03c9abf1f6cdd1b56226dc0e16a7ad5ce84516dd Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Doc: Documentation clean upVenugopal Shivashankar2015-11-061-4/+4
| | | | | | | | | | - Changed 'Qt3D' references to 'Qt 3D'. - Fixed incorrect \inqmlmodule instances. - Fixed broken \printuntil instances in the example docs. - Updated the namespace qualifier for a few class references. Change-Id: I250afe6843b10ed520f9ce5d7465203cc5c212c1 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Rename QOpenGLFilter to QGraphicsApiFilterAndy Nichols2015-11-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | This API change is part of an effort to remove anything specific to one graphics API (in this case OpenGL) from the public APIs. In addition to the name of the class being changed, the QGraphicsApiFilter::Api has been refactored to reference the Graphics API, rather than an OpenGL API. Now this list includes OpenGL, and OpenGLES, but could also include Vulkan, DirectX, or any other graphics rendering API we wish to support in the future. Right now the properties in this class are still reflective of the OpenGL APIs, and may need to be extended with other properties in the future for other rendering technologies. The QGraphicsApiFilter::Profile enum has also been changed to be more more clear. So for now there are enums NoProfile, CoreProfile, and CompatibilityProfile. Task-number:QTBUG-49078 Change-Id: Ib5f9c3b7adee5badec6bce8a12b23683eb43b4cb Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Rename Renderer -> Render throughoutSean Harmer2015-10-1910-10/+10
| | | | | | | | This is for consistency between the C++ namespaces and QML imports and with the other aspects. Change-Id: I73392f138b4e519b12888f52530123e3d0ba445e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Change import name of Qt3D Core from Qt3D 2.0 to Qt3D.Core 2.0Sean Harmer2015-10-168-8/+8
| | | | | | | Makes the QML imports consistent with the C++ namespaces. Change-Id: I8c781a67a9010124bd22bb1fab16c4f1082fd962 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move Qt3DCore into Qt3DCore namespaceSean Harmer2015-10-131-1/+1
| | | | | | | Update other aspects, tests and examples accordingly. Change-Id: Ib1bcf0bdf4f5aec4422dc0c80bfc32b27fb1a317 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move Render aspect into the Qt3DRender namespaceSean Harmer2015-10-131-1/+1
| | | | | | | Updated examples and tests accordingly. Change-Id: I8848a88472de2302aa072fa11f21ea934672b7e6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move Input aspect to Qt3DInput namespaceSean Harmer2015-10-131-1/+1
| | | | | | | Also update examples accordingly. Change-Id: I8d19c3165899e4b7b791deb33098af4fb439f44a Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Doc: Add some docs for the shadow map exampleSean Harmer2015-06-253-1/+239
| | | | | | Change-Id: Iea29c9f654fc57518bf3d428b30fa5955aa1230d Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Move temporary window class to examplesSean Harmer2015-06-111-2/+2
| | | | | | | | | | | So as to avoid public header without a QPrefix. Real integration points will be added later. Also removed it from the Qt3D namespace and fixed linkage. Task-number: QTBUG-46617 Change-Id: I1bea09f45f5fdba3d658b57b86b907ab57164479 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Use Qt3D.Renderer rather than RenderSean Harmer2015-06-118-8/+8
| | | | | | | | | | | This should make the documentation and code terminology consistent throughout. We can rename the source directories at a later date if needed. Task-number: QTBUG-46622 Change-Id: I2737e54192341808f4a0270ad19ba70f6c4af589 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Target path definition for examplesMika Salmela2015-05-241-1/+3
| | | | | | | Added examples.pri to examples folder to help deployment to devices. Change-Id: Ib7b6514d5b5a31dee9a3b7f6f79277550fb77502 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Examples: Remove shared resource library.Friedemann Kleint2015-05-202-7/+2
| | | | | | | | | | Split example-assets.qrc into smaller resource files per directory and add those to the examples as required. Task-number: QTBUG-45990 Change-Id: I0a5a6cee64dc23560e9e093f272ff0d90a6e2e97 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add precision for sampler2DShadow in ES3 shaderLaszlo Agocs2015-04-221-1/+1
| | | | | | | | | As per GLSL ES 3.0 spec there is no default precision for this type, similarly to float. Therefore some drivers (f.ex. newer Mali ones) reject the shader without specifying the precision. Change-Id: Ib5e9a2d47924da84d6a74dde0b9e894fc4b580e4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>