summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
Commit message (Collapse)AuthorAgeFilesLines
* Move the examples under a qt3d subdirLaszlo Agocs2015-03-041-42/+1
| | | | | | | | Modules cannot have their examples in the top-level examples directory because in the pre-built packages all modules' examples are merged together. Change-Id: I80fdbb8f1ec6f3d8fd793e4d856e705000237127 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Remove incomplete bullet and OpenAL aspectsSean Harmer2015-02-191-4/+0
| | | | | | | This can be reverted following the merge from dev -> 5.5. Change-Id: I7b85e64aa91d9ed81e3ef4d866e531056314d72e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Skybox examplePaul Lemire2015-02-081-1/+2
| | | | | | | | | 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>
* enabled-qml: Example to test the enabled property on componentsPaul Lemire2015-01-241-1/+2
| | | | | | | | | | | | | | | Tested on: * Layer * Material * Mesh * Transform * CameraLens This example will be completed later on to test the enabled flag on FrameGraph node. Change-Id: Ia128ea5e5c8624ef2b11d82bd541a635f349727f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a Scene3D item to wrap Qt3D scenes in QQ2Kevin Ottens2015-01-181-1/+2
| | | | | | | | Comes with an example to try the embedding and check that transformations work on the Scene3D element. Change-Id: I93b4690b7fac0c9c90f8a89c53ad6b83aa2c89a6 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* dynamicscene-cpp examplePaul Lemire2015-01-101-1/+2
| | | | | | | | Demonstrate and ensure that dynamic element adding/removing from the scene is working. Change-Id: I83819fe813c3910c9a8e4460ef7147fc56421c74 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Default cpp materials + material-cpp examplePaul Lemire2014-12-311-1/+2
| | | | | | | | | | | | | | | | | | | | | QDiffuseMapMaterial QDiffuseSpecularMapMaterial QNormalDiffuseMapMaterial QNormalDiffuseAlphaMapMaterial QNormalDiffuseSpecularMapMaterial material-cpp is mostly inspired from materials (QML) but nicer :). Note: there seems to be an issue with qrc and QUrl. The behavior is different between QML and C++. -In C++ we need to prefix with have qrc:/ and convert that to :/ (passing :/ directly returns "" when QUrl toString is called) -From QML no prefix is needed. -For QImage path, :/ should be used. Change-Id: Ib56fb9546c95c2872686a46ed048a290ab4a5b6f Task-number: QTBUG-41548 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a new EntityLoader elementKevin Ottens2014-12-171-0/+1
| | | | | | | | It also come with an example where we swap between two entities loaded from QML files. Change-Id: I09d5c5852ad5ea1e85d2acfffd51413de437ce22 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add an animated ribbon/wave exampleSean Harmer2014-12-151-1/+2
| | | | | | | | This is an example that shows how to make a nice backdrop in the spirit of the PS3's XMB background. Change-Id: I32e83d92246b65ffb143884a1bac7a9b869c7989 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* keyboardinput-qml examplePaul Lemire2014-11-141-1/+2
| | | | | | | | This will help test the keyboard inputs as the QInputsAspect gets completed over time. Change-Id: I8f8fe5dcd0ccf4c83f75297c2dcb95bb9e9eddb7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add an example demonstrating more materialsSean Harmer2014-11-131-2/+2
| | | | | | Change-Id: I02c17262812fbfbd94287a0449027d985a2fe7ae Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add bigscene examplePaul Lemire2014-11-021-0/+1
| | | | | Change-Id: I03be69b5f0307cc15158ecd8b150c24fedb53f40 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a shadow map QML exampleGiuseppe D'Angelo2014-10-031-1/+3
| | | | | Change-Id: Idb1c8e8b5f6f5ad1dd0124a4abb9cc625d577a00 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add simple-cpp exampleGiuseppe D'Angelo2014-10-021-0/+1
| | | | | Change-Id: Ifb3725ddd43e6feae6814feba18b84bcecb2f42e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a simple-qml example backGiuseppe D'Angelo2014-10-011-0/+1
| | | | | Change-Id: Ic2bb7f9dffdb4804bc95d620139bf7dcf1044f10 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rename simple-qml to playground-qmlGiuseppe D'Angelo2014-09-291-1/+1
| | | | | | | Because it's a playground and not simple at all...! Change-Id: I9c40972695583b761f035e3f62b54cf3772dae9f Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Simplify examples.pro's dependency managementGiuseppe D'Angelo2014-09-291-79/+24
| | | | | | Change-Id: I3c5a01472a8fa636a339160227578bdba14d77c2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added C++ Deferred Renderer examplePaul Lemire2014-09-281-1/+1
| | | | | Change-Id: I5d5874810da433d608425b7eecff2d4f8cc156b2 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Renamed deferred-renderer example to deferred-renderer-qmlPaul Lemire2014-09-281-5/+10
| | | | | Change-Id: I7005c0a58b48e444f08a771684bde13072863db5 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add the cylinder meshKevin Ottens2014-09-281-0/+10
| | | | | Change-Id: Ic19e480dc3682a7bbc5088f7700a99cc5f588b86 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add an example to exercise tessellation shader supportSean Harmer2014-09-211-1/+6
| | | | | | | | | | | | | | Also extended Renderer and friends to support setting the number of vertices per patch with glPathParameteri(GL_PATCH_VERTICES, n). To support this QMeshData now also stores the vertices per patch. This demonstrates how to tessellate using quad tessellation mode. Follow-up commits will add objects to show triangle and isoline modes. Change-Id: I68afb31815db430d0b4d8d9cc525efcfb9a216fc Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add a wireframe example to exercise geometry shader supportSean Harmer2014-09-211-1/+6
| | | | | | | | | | | | | | | Needed to extend the set of standard uniforms to include the viewport matrix. We also don't seem to get the type information for uniforms from glsl but rather infer it from QML. In this example it resulted in a bug where the line.width was being set with glUniformi() instead of glUniformf() when we used whole values such as 1.0 in the Parameter of WireframeEffect.qml. Worked aroudn by using a typed property in WireframeMaterial.qml for now but this needs fixing. Change-Id: Ie07a81b1b0b6c176e188d9e489643b22e339192a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added Deferred-Renderer examplePaul Lemire2014-09-151-1/+5
| | | | | | Change-Id: I3e74c362a42a0da9f9fffa3f2037dc12cedccc7f Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add rollerball example to show rendering and physics basicsSean Harmer2014-07-181-0/+8
| | | | | | | | At present it only exercises the renderer but it will be extended to also cover the physics aspect too. Change-Id: I83217f09eeb3471b8a508fa8a8948410ad1e1d58 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Build as much in parallel as we canSean Harmer2014-07-181-10/+46
| | | | | | | | This introduced correct dependency trackign between targets Change-Id: I7d312d55a8066130db80a4102a4fb988222de225 Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Skeleton example for loading (big) models from the command lineGiuseppe D'Angelo2014-06-071-1/+2
| | | | | | | | Unfortunately the Instantiator doesn't work yet (that is, dynamically updating the scene has no effect) Change-Id: I940c192440c9fb65e94e3b20a474022d2164bcda Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a minimal C++ + QML shape example (showing a torus)Giuseppe D'Angelo2014-06-041-1/+3
| | | | | Change-Id: I04fcbdd28c5c05697fb04f6dfc809a2d8b8de5c7 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Added multiviewport examplePaul Lemire2014-05-301-1/+2
| | | | | Change-Id: I04f20d6c46891ebd3a7b550c181a3e554f30a384 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Qt3D C++ API examplePaul Lemire2014-03-251-1/+2
| | | | | | | | | At the moment, this example needs to be compiles against the QML module. In the future a Window dedicated to C++ scenes without QML dependencies could solve that issue. Change-Id: I22624d275ff345c581dd1070f6598aabc0a4e40e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added assimp examplePaul Lemire2014-03-241-1/+2
| | | | | Change-Id: I3723e236e1b7bc7ad501b5874446611101ddcbf4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Import initial examples and export symbols from libSean Harmer2014-02-251-0/+10
| | | | | Change-Id: I6eb7c66cb96956e3cb3e1d319a82a08a0fd3c37a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Disable demos, examples, tests, tools temporarilySean Harmer2014-02-101-3/+0
| | | | | Change-Id: Id7240632c7a4d6e59666488858b23a3fead389cd Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-091-1/+1
| | | | | | | | Change-Id: I53de6de78a982968c31a9c8d17628d1cddb63a14 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Make it possible to compile Qt3D without QML/Quick.Casper van Donderen2012-07-061-1/+2
| | | | | | | | | The C++ implementation of Qt3D could not be compiled without also having installed QtQML and QtQuick. This change allows the compilation of the non-QML part of Qt3D separately. Change-Id: I791a03a0f0e1118f3ec20b77be327786148b8923 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Monster refactor commit.Sarah Smith2011-03-301-1/+1
|
* Add files ported from research/qt3dSarah Smith2011-03-091-0/+2
Fill repo with some of the files from the research/qt3d project. At present the new project builds under MacOSX. To-dos include getting it building under linux, windows, harmattan and maemo/meego; updating the documentation to reflect the new QtQuick focus; and fixing the issues with private headers.