| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It appears that the pointer value for the window could in some cases be
updated meanwhile we were rendering, which resulted in random crashes.
We now save the window pointer to a member variable on startup or whenever the
windowChanged signal is fired and use a mutex to ensure the pointer won't
change while we are rendering.
This also covers the case where the item is destroyed but the cross-thread
signals are not received before rendering happens.
Task-number: QTBUG-63897
Task-number: QTBUG-65407
Change-Id: I5f2797e2210b532f9086ed186959fce27ea9f514
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Propagate the dpr to the QRenderSurfaceSelector in
addition to the the item size.
Task-number: QTBUG-62235
Change-Id: I6555685392334b8edf2327fae97d5d531cffeaae
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
We need to reset the state before and after rendering,
because it may have been dirty before and it might be dirty
afterwards.
Change-Id: Iaa32243aa5721d3e2319b2a58987624f30d6482d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Unregister valueTypeProvider in qtquick_global.cpp to prevent multiple
registrations. The Quick3DColorProvider doesn't seem to cause problems
so leave as it is.
Task-number: QTBUG-56546
Change-Id: I79139d8e8ab80458e72633dd97e15dbf108388e4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Add the missing class for VertexBlendAnimation so that it can be used from
qml.
Task-number: QTBUG-60618
Change-Id: If47dccf5e44d0158053ca3b9122fcef91d73ea93
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the window geometry changes, the Scene3DRenderer was updating
a Qt3D frontend node's property from the QSGRenderThread.
This resulted in the QPostman::notifyBackend being called from possibly two threads at the same time,
resulting in a race condition where the changes would never be submitted again to the backend.
Change-Id: I842aaa54637d85d4d45eb54620749efb36168e2a
Task-number: QTBUG-54900
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Oleg Evseev <ev.mipt@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This is regularly necessary to be able to flip vertically the UV
coordinates on the plane mesh depending if we are using a texture in
model space coords or in window coords. Especially necessary now with
Scene2D which outputs textures in window coords. This property is
necessary to make it usable.
Change-Id: I0fe7d3fdc125f1791492cf39ebe908bbc20f1db2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\
| |
| |
| | |
Change-Id: I02adbc5294f9d5879cb05e75eccad74196ea2a7c
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I72591f43c0e2c4cc6e3e589f8d8e52fbb1041666
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/
|
|
|
|
| |
Task-number: QTBUG-60514
Change-Id: Idc42a21109abef5563e6e8cda1a338147bb8dfce
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Add plugins.qmltypes file for scene2d for tooling
Task-number: QTBUG-60100
Change-Id: I23376960f6cdedd099006ad89132e7e4904e6588
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I3a96ca3a56690ed9c50fb7e70eb9c2aba33357ec
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The invalidated signal is nice since it works in all cases, both with
real QQuickWindows and ones driven via QQuickRenderControl (e.g. QQuickWidget).
With QQuickWidget just relying on windowChanged is pretty bad since the
window change comes way too late due to the diffeerences in widget
handling internals.
Task-number: QTBUG-52132
Change-Id: I8639e4d60514eeeb00fa9dda2329de6088f2a44d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Scene3D can now be used inside a QQuickWidget. There are some
remaining problems, most notably an assert when exiting, but at
least the scene shows up now.
Task-number: QTBUG-52132
Change-Id: Ifc05d859711f5f42342e111c1d7cbea7ba373552
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I8fae537aa38059ff2592c2f49c238408ea27f7e0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/core/jobs/qthreadpooler.cpp
src/core/nodes/qcomponent.cpp
src/core/qpostman.cpp
src/core/qscene_p.h
src/core/services/qservicelocator_p.h
src/input/frontend/qinputaspect.cpp
src/plugins/sceneparsers/assimp/assimpimporter.cpp
src/plugins/sceneparsers/assimp/assimpimporter.h
src/plugins/sceneparsers/gltf/gltfimporter.h
src/plugins/sceneparsers/gltf/gltfio.cpp
src/quick3d/imports/core/qt3dquick3dcoreplugin.cpp
src/quick3d/imports/extras/qt3dquick3dextrasplugin.cpp
src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
src/quick3d/quick3dextras/qt3dquickwindow.cpp
Change-Id: I3566708c6f74a34959e7bb64b64e93647ca3f699
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
importsinput, importsrender, importsscene3d
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I3b2b3ee60e397772bbcebac09b07c059fbd922db
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
None of these is fatal. It is perfectly possible to get input via other
means, for example.
Change-Id: I7880c8f5aa611908d7e09d03fe0c8100f8c8d183
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Category logging is off by default, so explicitly turning it off will
just make it harder to turn it on in the application.
qt.*.debug has special behavior in the sense that defaults to off. Other
categories, like Qt3D.*.debug default to true. Therefore the only correct
way in Qt 3D is to always specify warning-and-up as the default enabled
severity.
Change-Id: I91daf48e049b7a9fcfac9720982138b178ee4804
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
No longer needed as concrete subclasses each provide their own specific
APIs for managing clips or sub trees.
Change-Id: I8e090bcf18ad9bf0d19e36128d7556aaa6cd6edf
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
Required for Q_COREAPP_STARTUP_FUNCTION macro
Change-Id: Icaa66a7f3aa206bf4741a086c75f3d7b79b7af6d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove event forward related stuff as they are no longer necessary after
the mouse event changes.
Task-number: QTBUG-58876
Change-Id: I2c9c52e41d5af3078d04ac9d5cc66753898e0ad9
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-58876
Change-Id: I103125ff15a4b28a67832eb7b86b1abbd2f3fde8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-58901
Change-Id: I1a944da01a948a5e5821ecba307a898d8a0129ad
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add quick3dscene2d module
- Add importsscene2d qml module
- Modify RenderAspect to load plugins conditionally
- change autotests to match the module change
Change-Id: If6596472acbd9a377561b2bfd2094a0585c781ac
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also rename backend type accordingly.
Task-number: QTBUG-58903
Change-Id: Ia1ad670937487dd84768e79d8c2be59ed3b6d0a5
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also rename backend class accordingly.
Task-number: QTBUG-58904
Change-Id: I3a8d3898507e5055c2727e4bb1b19b06fdba988b
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduced an abstract base class for types of animation clip. Also
renamed QAnimationClip to QAnimationClipLoader since it loads data
from files.
Also renamed corresponding backend type and fixed up unit tests
accordingly.
Task-number: QTBUG-58898
Change-Id: I01a96e108cbbcd12e01913693e96610598965018
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I7925df5d4bec59c353e4a07bbbc57f5e0c4ff5ff
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Is now a Q_GADGET value type
Added QBoundingSphere creator functions on QLevelOfDetails and Quick3DLevelOfDetailsLoader
Note: cannot be a nested type on QLevelOfDetails as moc doesn't support it
Task-number: QTBUG-58892
Change-Id: Ic7b6d68c6e1119c1f61a858f49379efc1e9c2104
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-58897
Change-Id: Ie92c26e7b34ea7730461786f484ff50b003f747a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-renamed QDistanceFieldText to QText2DEntity
-renamed QDistanceFieldMaterial to QText2DMaterial
-removed fontScale property
-replace position property by width/height properties
-adjusted manual test accordingly
Task-number: QTBUG-58883
Change-Id: Ieb1aae2ef8f397e3a6a636ad651cf83a5565daa0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-made QDistanceFieldGlyphCache and QTextureAtlas private
-remove dptr on QDistanceFieldGlyphCache
-use a static hash on glyphCaches based on current scene being used
-QTextureAtlas parented by scene root node
Task-number: QTBUG-58881
Change-Id: If51d7dfe75e4233b9e7a36473c71fe530247aef7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This becomes the new base class for QClipAnimator.
Change-Id: I53d38cae8c3cee73e07084d2d58e317ba19ced7b
Task-Id: QTBUG-58899
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We don't need the captureId in the public API so deprecate the functions
which make it appear and create overloads with no such id when
appropriate. Only a pointer to a QRenderCaptureReply is needed to
represent a capture request.
Also the "isCompleted" parameter is unneeded on the signal since it is
always true anyway. If we'd want to do error management it would go via
a status flag property or similar.
Change-Id: I9571ece3e3f82f46db5b3993ccf035e770c9d55e
Task-Id: QTBUG-58877
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding REVISION 9 on all the new properties from this release. Also
registering the extra revisions on the QML side.
Change-Id: Ic7eda36bee8ca19508cd73b61cea534f956c6997
Task-Id: QTBUG-58895
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Put a couple of the types which ended up wrongly at 2.0 with the other
ones. Also applies the decision to go from 2.1 straight to 2.9 to
realign the minor version with the Qt one. Will make it easier to
manage.
Change-Id: I7088b6c493296924a1d313c83107d5755e548ede
Task-Id: QTBUG-58890
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Rename decided during API review in order to match with roughness.
Change-Id: I4b1a13e6028ba410fb31a80e6c64f9539581f8c4
Task-Id: QTBUG-58894
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-rename QText3DGeometry to QExtrudedTextGeometry
-rename QText3DMesh to QExtrudedTextMesh
-rename the depth property to extrusionLength
-removed the edgeSplitAngle property
-updated the example
Task-number: QTBUG-58880
Change-Id: Ib2d1a58e62b34949db12b9245f1474baf9cf9b91
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Too much to fix up for 5.9 so remove and defer for 5.10.
Task-number: QTBUG-58905
Change-Id: Ie5b4f172e57beac12933fa0db5f102b4dc9346fc
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie15dbf44ccbdc09f51cb8525cbe77984d7e29791
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ifd2015207346987be498a63302ec6f352a489fb1
Coverity-Id: 154585
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ia2f4f7840ad68c3868a7dfba9c81689f96ee524c
Coverity-Id: 154584
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: If3bcfe24ebe7ecfb4519e0e400e601819783edad
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I7ad91e31b76b5913b8b102413c2ac47ec481ec3e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
(think some of the qml related files need cleaning up)
Change-Id: Ibf982c0b168ad845966d42f36ecd616cf74732f4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/extras/defaults/defaults.pri
src/extras/extras.qrc
src/quick3d/imports/extras/importsextras.pro
src/quick3d/imports/extras/qt3dquick3dextrasplugin.cpp
src/quick3d/quick3dextras/items/items.pri
src/quick3d/quick3dextras/quick3dextras.pro
tests/manual/manual.pro
Change-Id: I62232cb21495612f31f48a6749a52b68777c4ae3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Modded assimp loader to load animations and to load submeshes into child
entities. Added keyframeanimation for node animations and morphing mesh.
Also added animation group for controlling multiple nodes as one animation
and animation controller to select and play animations.
Assimp loader adds QKeyFrameAnimations targeting an entity as child
objects of that entity, the QAnimationController finds them when the entity
is set and creates QAnimationGroups from based on the animation name.
Change-Id: I7e2e7a4479af49f8023b4a359b2b3118efdaa0da
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/ / /
| | |
| | |
| | |
| | | |
Change-Id: I1a2737c335790507c3b598e274f8dc5f8f82d1a1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|