| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QTBUG-74602
Change-Id: If9cf0795e887a0b3cdfed0a6f5e7798116ef137d
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
| |
This allows to remove dependencies and reduce deployment size when a given
aspect is not required.
Change-Id: I5aa90e4825b375cd446c47727aa11d03c40703c9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This can be reverted following the merge from dev -> 5.5.
Change-Id: I7b85e64aa91d9ed81e3ef4d866e531056314d72e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Demonstrate and ensure that dynamic element adding/removing from the scene is
working.
Change-Id: I83819fe813c3910c9a8e4460ef7147fc56421c74
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I02c17262812fbfbd94287a0449027d985a2fe7ae
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I03be69b5f0307cc15158ecd8b150c24fedb53f40
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Idb1c8e8b5f6f5ad1dd0124a4abb9cc625d577a00
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ifb3725ddd43e6feae6814feba18b84bcecb2f42e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ic2bb7f9dffdb4804bc95d620139bf7dcf1044f10
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Because it's a playground and not simple at all...!
Change-Id: I9c40972695583b761f035e3f62b54cf3772dae9f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I3c5a01472a8fa636a339160227578bdba14d77c2
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I5d5874810da433d608425b7eecff2d4f8cc156b2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I7005c0a58b48e444f08a771684bde13072863db5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ic19e480dc3682a7bbc5088f7700a99cc5f588b86
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I3e74c362a42a0da9f9fffa3f2037dc12cedccc7f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I04fcbdd28c5c05697fb04f6dfc809a2d8b8de5c7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I04f20d6c46891ebd3a7b550c181a3e554f30a384
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3723e236e1b7bc7ad501b5874446611101ddcbf4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I6eb7c66cb96956e3cb3e1d319a82a08a0fd3c37a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Id7240632c7a4d6e59666488858b23a3fead389cd
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
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.
|