summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/qt3d.pro
Commit message (Collapse)AuthorAgeFilesLines
* Add new example to demonstrate dynamic component addition/removalSean Harmer2016-04-201-1/+2
| | | | | Change-Id: I9fbf2fbf14c205f834656bc2f16a525af4fdca20 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Merge remote-tracking branch 'origin/5.6' into devLiang Qi2016-01-261-0/+2
|\ | | | | | | | | | | | | | | | | Conflicts: src/doc/src/qt3dcollision-module.qdoc src/render/frontend/qcamera.cpp src/render/frontend/qcameralens.cpp Change-Id: I8a0ae250a6b8e065a1ef3c817968ebb7ef23b20d
| * Added Audio Visualizer exampleTitta Heikkala2016-01-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Link examples against static libPaul Lemire2016-01-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Add a compute shader examplePaul Lemire2016-01-141-1/+2
|/ | | | | Change-Id: I956b647e2218ad3e604bd9e8260b3ea0a90dc84e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Disable the qgltf example to keep the CI runningLaszlo Agocs2016-01-111-1/+3
| | | | | Change-Id: Ic8383e39f368e293d5d97fe7bb78b435538249af Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Lights phase 1: infrastructureLaszlo Agocs2015-11-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QAbstractLight becomes QLight and gets its own backend node. This way we can easily gather all lights for the scene and filter them when building render commands. Both the frontend and backend remain a subclass of (Q)ShaderData but will not be part of the ordinary ShaderData component list. This prevents mixing up ShaderDatas and Lights but allows reusing the same underlying infrastructure so that properties can automatically be transformed for example. It is worth noting that the position property for lights is now removed: the position is determined by the entity's (to which the light component belongs) position. A number of changes are made to ShaderData itself as backend subclassing with different managers is not straightforward. For now the distance between the rendered entity and the entity with the light component is calculated and lights will be chosen based on this distance. A framegraph node for controlling this will be added in future patches. No uniform setting or shader changes are included here. Task-number: QTBUG-48834 Change-Id: I43a6c5f9420d4254d798c558bd58680b2b09eceb Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add a qgltf example.Laszlo Agocs2015-11-251-1/+2
| | | | | | | | | | | | This is like gltf but uses the original Collada asset and generates a glTF model at build time. Now that the qgltf rule is in qtbase we can freely use it in any examples. This does not have the limitations the gltf example has: this will function both with core profiles and ES. Change-Id: I9f04cf8b77337d397e1aecd1ffb22b7ce7e15ef7 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Add a simple example showing how to use the new transformSean Harmer2015-11-201-1/+2
| | | | | | | | | Will be used to prove out the API. Perhaps we can extend this into a more complete example to show how the scene hierarchy leads to propagation of transformations. Change-Id: I06ed5fdd8f38043d1b4a296e9fa8a07c54a736af Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* picking-qml example addedPaul Lemire2015-10-241-1/+2
| | | | | Change-Id: I6b0acff59f98e5daf51ea3cf3ab028728c2dd2ae Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add an example showing instancing using VBO with divisor of 1Sean Harmer2015-10-191-1/+2
| | | | | Change-Id: I710df314902ca592c236e2120119718fc3b90c2c Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* custom-mesh-qml: examplePaul Lemire2015-10-141-1/+2
| | | | | | | Create a Mesh with buffers from QML with JS typed arrays Change-Id: I7f774b311c944a5ef2e2174b0699c430758559f1 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* bigscene-instanced-qml example demonstrating instancingPaul Lemire2015-08-091-1/+2
| | | | | Change-Id: Ie556d85a837ebefbf1d6e053f7985bf791ffdcfb Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* custom-mesh-cpp examplePaul Lemire2015-08-071-1/+2
| | | | | | | Demonstrate how to use the Buffer API to create a custom tetrahedron mesh. Change-Id: Ie30458c8a6dc3e2d8b1c6aef4a95a57f4cc63de9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* MouseInput API and example mockupRémi Benoit2015-08-031-1/+2
| | | | | | | | | | | | | | The meaning of exclusiveFocus is not set in stone for now. We know some kind of exclusive focus will be needed but defining it precisely will be done as the input aspect takes shape. QMouseController -> dispatch events to QMouseInput, specify the camera to be used to perform the picks. QMouseInput -> Component that offers a way to react to mouse events Q3DMouseEvent/Q3DWheelEvent -> Qt3D mapping of QMouseEvent/QWheelEvent Change-Id: I462bea2932d4bad6595d04a75ea1e0a67c7c8ba0 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* clip-planes-qml examplesPaul Lemire2015-07-291-1/+2
| | | | | | | | | | | | Demonstrates use of: -StencilOp / StencilTest -StateSet and nested StateSet -ClipPlane -Multiple render passes with different shaders -Use of layers Change-Id: I2d3f87e99e1fdbf9ed22e81838d6cc1744b6b8c1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add scene3d-loader examplePaul Lemire2015-07-231-1/+2
| | | | | Change-Id: I3f7cfc5459dbb07e395a15920cd80786689cb2e1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add transparency-qml-scene3dPaul Lemire2015-07-121-1/+2
| | | | | | | | Does the same thing as transparency-qml, allows to verify there's nothing wrong with QtQuick 2 premultiplied alpha Change-Id: Ia85a9759eace636e13d2e1b4a0e7f65fb96171e1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add pure Qt3D simple transparency examplePaul Lemire2015-07-121-1/+2
| | | | | Change-Id: Iddf70866fb99e4e4b92e365a55cd84428eeaa1e0 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add gooch material and exampleSean Harmer2015-07-041-1/+2
| | | | | | | Edge inking will come later. So many techniques to choose from. Change-Id: Ibbea66c09c158bebba5d8efaf08d18417fa9b161 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Added plasma examplePaul Lemire2015-06-271-1/+2
| | | | | Change-Id: Id22a7e93989a9ec264e1d6bbc5810ff7ca537ad0 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Merge branch '5.5.0' into 5.5Sean Harmer2015-06-211-2/+2
|\ | | | | | | | | | | | | Conflicts: src/input/qkeyboardcontroller.cpp Change-Id: Ifb0b5af165fb11dbe07849f34d3b93d9cc78eeaa
| * Reshape torus-cpp example to be basicshapes-cppMika Salmela2015-06-101-2/+2
| | | | | | | | | | | | | | | | Leave the cylinder-cpp example to show minimal code for setting up a basic element. Reshape torus-cpp to show several shapes available. Change-Id: Ic9dd7cb54258b5eb442ee0492ef4fc2e4b30f836 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* | Planets QML example for Qt3DTomi Korpipää2015-06-111-1/+2
|/ | | | | | | | | | | + Improved earth clouds - Some weirdness with alpha, easily visible with rings. Might be the textures, although the alpha on them seems fine with image viewer. - Earth clouds seem to have the alpha issue as well. Change-Id: Ibdfa49472790d3fc797e269b52986b71d93876f2 Reviewed-by: Pasi Keränen <pasi.keranen@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Examples: Remove shared resource library.Friedemann Kleint2015-05-201-9/+0
| | | | | | | | | | 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>
* assimp-cpp example addedPaul Lemire2015-05-131-1/+1
| | | | | | | Allow to select a mesh file and load it with the assimp scene loader. Change-Id: I0018fbbdbcf76c65f35b0670c1b1082e304cc9df Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add an example demonstrating inline and in separate file shadersPaul Lemire2015-05-121-1/+2
| | | | | Change-Id: I9ded38f9d65e8b528abc729f0eb6f35558b0ce6d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* anaglyph-3d examplePaul Lemire2015-05-121-1/+2
| | | | | | | Note: you need red/cyan glasses to fully enjoy the experience Change-Id: Ic823831eea0f4658c2ab9116eb1505893847b6e8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Controls exampleMika Salmela2015-05-081-1/+2
| | | | | | | An example to demonstrate how to use Quick controls for model properties. Change-Id: Ia182716fcd5f11ad78b385507f5da783a232d90a Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move the examples under a qt3d subdirLaszlo Agocs2015-03-041-0/+43
| | | | | | | | 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 Qt3D 1.x sourcesSean Harmer2014-03-281-2/+0
| | | | | | Change-Id: Ic6c05d78f617155892b546721946ee2c5c9b660a Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Object animations.Sergey Dubitskiy2012-07-241-1/+1
| | | | | | | | | | Animation tracks for object rotate/scale/translate can be loaded and played. A simple example illustrating this feature is also provided. Task-number: QTBUG-19906 Change-Id: I7a07c214f8ad7065b7f3f48d8929cb7d546af5f3 Reviewed-by: Sergey Dubitskiy <sergey.dubitskiy@nokia.com>
* New qt3d example to demonstrate model loading and rendering.Sergey Dubitskiy2012-03-211-1/+1
| | | | | Change-Id: Ia962df79bbb61374bb18afddc7a1b1a18cb99a01 Reviewed-by: Danny Pope <daniel.pope@nokia.com>
* Remove the graphics view example & support.Sarah Smith2012-01-121-2/+0
| | | | | | | | | | | | | This is not supported in qt5 so remove it. In the future we will encourage putting QML applications on the side of a cube or teapot using the FBO support. But doing this via QGraphics* code which really belongs to both the 4.8 days and the old imperative non-QML way of doing things - not a good idea. We can't recommend that as a viable approach. Change-Id: I70f69f17edd949e313758f930bb75cdaad3c46c5 Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
* Make Qt3D buildable without widgets or opengl.Sarah Smith2011-12-211-1/+3
| | | | | | | | | | | | | | | | Pull out all references to QGLContext, and QGLWidget and so on; and replace with the equivalent from the gui library. Where there is no equivalent, eg the BindOptions enum, then reimplement. Also get rid of the harmattan and symbian packaging goop. This had become completely unmaintainable, and was making it very hard to see what dependencies were being pull in by the various parts of the build system. In order to have any confidence that conditional compilation would not add in some problematic dependency, clean all this up. Task-number: QTBUG-23299 Change-Id: Ied92ca1397076986e455674b064d8540bb13c0df Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
* Refactor packaging.Sarah Smith2011-07-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | Packaging was always not so good. With the arrival of yet another packaging system to support, with QtSDK and Harmattan, it was overdue time to refactor the build system. Factored out all the places where Qt3D and QtQuick3D dependencies were exactly 3 levels below the source .pro file. This catches all of the examples and all of the demos, except for the ones in the tutorials directories. It is fine if those don't appear in packages, since their main value is in examining them in the IDE, rather than just having a package run them for you. It also catches both of the import plugins. Thus we save a huge amount of duplication of packaging information and can place the Qt SDK Harmattan packaging into a couple of variables in a new pkg.pri file. The two deps are now in a qt3d_pkg_dep.pri and qt3dquick_pkg_dep.pri file which include the pkg.pri. Change-Id: I28de17d7faa5ccf9157afad99471079c0b62ee87 Reviewed-on: http://codereview.qt.nokia.com/1191 Reviewed-by: Sarah Jane Smith
* Added example for multiple objects in scenegraphDanny Pope2011-06-071-1/+1
|
* Packaging round one done.Sarah Smith2011-04-041-1/+2
| | | | | | | See QTBUG-17434 for more details. Packaging on a debian desktop system works. Tested with Ubuntu 10.10 which is currently one of few with Qt 4.7.x packages.
* Monster refactor commit.Sarah Smith2011-03-301-0/+2