- Apr 21, 2020
-
-
Andy Nichols authored
The math was a bit busted, and QML needed to QQuick3DNode to be registered. Quaternion.lookAt(...)'s function signature changed a bit to accommodate some default arguments. The return of this function is the relative transformation that needs to be made to get the correct lookat value, so to use it you either need to use the default forward/up vectors to get the global rotation, or the current forward/up vectors to get the relative change. Implement QQuick3DCamera::lookAt() using Euler angles to avoid rolling the camera. Fixes: QTBUG-83620 Change-Id: I48640f8b09e13b2b3f669c6d65aa7c1f9af9730f Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Liang Qi authored
-
Antti Määttä authored
The tangentFrame is not orthogonal otherwise. Task-number: QTBUG-83485 Change-Id: I161e7188d15f209ac0537d9523c77dafc638ad89 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
Antti Määttä authored
Use blinn-phong bsdf. It is recommended by the gltf2. Task-number: QTBUG-83485 Change-Id: Ib5d49f598545b1a115991d01ec9f761819166f30 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Apr 20, 2020
-
-
Liang Qi authored
Conflicts: src/plugins/assetimporters/assetimporters.pro Change-Id: Ifbb130cddbd4ed67cb2b63c7a6c5ad49924ced05
-
Kaj Grönholm authored
When Quick items are used as textures, they should have transparency flag set to get blending also in SourceOver mode. Task-number: QTBUG-83650 Change-Id: I8b048ddee33316c778b5b3ec3821b318a3cbb767 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Apr 17, 2020
-
-
Laszlo Agocs authored
Change-Id: I7c96df43bd37f0fd1c8516fcbfa378e18bf1f9c3 Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io>
-
Andy Nichols authored
Applying a value of 35 created a very diffuse shadow with many artifacts rather than simply bluring the edges a bit to create a softer edge to shadows. A value of 5 will provide significantly harder shadows, but still with some softness (not pixel aliased, but will show polygon edges for low-poly meshes). This is a more sensible default that will look better in most scenes. This is a behavior change, but since shadows generally didn't look correct before, most "real" scenes manually adjust the shadowFactor already. Change-Id: Ida38d6c581ee66005ee262b31171fbf2446e880e Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Apr 16, 2020
-
-
Kaj Grönholm authored
Combining sourceItem Textures and blendmodes which set blend equation caused GL state issues. So reset blend equation if needed. Task-number: QTBUG-83462 Change-Id: I9d852dabadf8da59f023e29b62702552a60137be Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Jere Tuliniemi authored
Change-Id: I7057e0a0ffa9a10828978c3a19d3f80735f50bf7 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Jere Tuliniemi authored
If using scene bounds creates a smaller shadow map camera frustum, use that. Task-number: QTBUG-83362 Change-Id: I77b261cfe07aca9a238b907ece842d6f5266a395 Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Change-Id: I3a84983cbdd50fc0cc3cfec2a1ff156325e99b91 Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Change-Id: I49c6b6b91c527784763b5337c77dc9fc8382d9a7 Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Andy Nichols authored
Change-Id: I6608a95c61b2c92755d47288b27409f4b095fc68 Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Kaj Grönholm authored
When Texture is used with Quick Items, flip them automatically so user doesn't have to. Update tests & examples to not flip anymore. Also fix size changes of sourceItem with scale and tilingModes, need to make sure texture shader updates sampler parameters. Task-number: QTBUG-83463 Task-number: QTBUG-83464 Change-Id: I289285bc41cbe0b0099862737fab5665d3bbb364 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Paul Tvete authored
Some materials are translucent or refractive, so we need something in the background to test them properly. Change-Id: I51a59cc461822643b411671c34cf82e7fc013d02 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Apr 14, 2020
-
-
Eirik Aavitsland authored
Change-Id: I14b9e85a75b9a42b256190be656112c9a5717c28 Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io>
-
Jere Tuliniemi authored
Define QT_QUICK3D_DEBUG_SHADOWS to render the shadow depth map on the screen in realtime. Task-number: QTBUG-81776 Change-Id: I0fb2d95a1b53136d88562fbdb994144ce8e679b9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Paul Tvete authored
Make sure the macros do what the comments claim that they do: propName##Info should be a uniform. Change-Id: I7d5d841da4d27189cd50639dbfe7bbba78dbf431 Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Apr 09, 2020
-
-
Antti Määttä authored
Change-Id: If70d4e1ac37ed9c43988787e863b248a8e8c3cab Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Apr 06, 2020
-
-
Antti Määttä authored
Add spot light direction when separate uniforms are used. Task-number: QTBUG-83292 Change-Id: I9de4dc33e15baccd0b8e95f671d4030be0568d73 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Apr 03, 2020
-
-
Antti Määttä authored
Copy most of the implementation and logic from qt3dstudio-runtime. Allow exporting generated shaders into a file and importing them the next time the view3d is created. Add manual test, which uses the feature. Task-number: QTBUG-80464 Change-Id: I40434d23dde419612dd29ca26fcf63a17890f940 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
Remove extra stuff and have separate tests for reusing, animating, and dynamically creating/removing elements. Task-number: QTBUG-83213 Change-Id: I13763d0744417ba0dbfbc3a372ee969425360231 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Apr 02, 2020
-
-
Christian Strømme authored
The function was returning the local position instead of the global/scene position as expected. Change-Id: If8d63f85c026e7c4cdbf09b22b3c7eee7859bc12 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Change-Id: I3183d38727b2ddc95be0a3fade2ef475717d6f45 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Optimized the intersection code and delayed calculation we don't need until later. This should make it much faster when working with many bounding volumes per pick, e.g., if we introduce bounding volume hierarchies. Change-Id: Ib47a6de384ec257315ca96046ba8f3cf20ac0bfb Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
Update when and only when content of QQuick3DTexture changes. Similar changes were already done for QQuick3DItem2D. Fixes lancelot qml stream tests. Task-number: QTBUG-83213 Change-Id: I9ef62b1b8ace404c7b038ae23303469ecf56afb5 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
This test combines importScene with nodes directly inside View3D. Also append the documentation of importScene. Task-number: QTBUG-83136 Change-Id: I4cca0c14206ef47cdd4366589ca15118d44739bb Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Mar 31, 2020
-
-
Miikka Heikkinen authored
Change-Id: I85bc47c126ed58597a12bbeb9af29571cf84b9f8 Fixes: QDS-1877 Reviewed-by:
Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by:
Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Mar 30, 2020
-
-
Kaj Grönholm authored
When importScene is used directly with external component, don't add content as children again. Task-number: QTBUG-83141 Change-Id: Ibe92c9fede694bd2df5b474d2f0132f117eb5b97 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
These render incorrectly currently, to be fixed. Task-number: QTBUG-83136 Task-number: QTBUG-83137 Change-Id: Ied4ef8c9a417bc3c4784474eb8dee16ad5523082 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Allan Jensen authored
To avoid collision with other assimp detection, since this module requires a higher version. Change-Id: I82e00c9141a4c3533bd35456f37bd67ed9f29812 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Change-Id: I0e348b91af90d897bbd42f100f0c5fa2ece5df44 Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Change-Id: I0261d975cb0a35ef1d6f1c93965819ab960c8a0c Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Change-Id: I05b1c7fa5bd243f0db0c1f0943d9819c02ef39cc Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Change-Id: I87a064a854b8ff2bab0714c55bd5b7ca4ea7e2e1 Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
This example demonstrates and documents the usage of Quick Items on Quick3D scene. Task-number: QTBUG-83009 Change-Id: If9fb05d5fe830641bacd0022853c8b42387727e5 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Mar 27, 2020
-
-
Miikka Heikkinen authored
Since the orientation has changed to right handed, z-value needs to be flipped to make default position of cameras sensible. Change-Id: Iff4bee5266fe81cdb519e3bf68e6f363bc7fd4ef Fixes: QDS-1815 Reviewed-by:
Mahmoud Badri <mahmoud.badri@qt.io>
-
Miikka Heikkinen authored
Fixes: QDS-1846 Change-Id: I0b23d868be142037a5bc8e1a9e52babff8338172 Reviewed-by:
Mahmoud Badri <mahmoud.badri@qt.io>
-
Antti Määttä authored
The value should be greater than one. Task-number: QTBUG-78849 Change-Id: If2a13b131580facd371cdced611a939ac02033b3 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-