- Apr 02, 2020
-
-
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>
-
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>
-
- Mar 26, 2020
-
-
Kaj Grönholm authored
Dynamic textures were only updated in Offscreen renderMode. Update them in all modes. Task-number: QTBUG-82621 Change-Id: I66a2f0ab3996e27534d0ceeca54a7d7f104b5a4d Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Christian Strømme authored
Change-Id: I1db82a60ee0a8f98bea4b13718edac886c0adfb4 Reviewed-by:
Antti Määttä <antti.maatta@qt.io>
-
Christian Strømme authored
To make picking easier to test decouple it from the render context interface. Change-Id: I624336d678eb68ca77a96e67a2ab65b5c4ef9f5e Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
Christian Strømme authored
Makes it easier to test the function without messing with the objects state. Change-Id: I0487146e8285c54572fe878bd356613fd1155079 Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
Christian Strømme authored
We only have one layer, so remove code that checks if there's more layers. Also remove weird pointer and reference usage. Change-Id: Ia8042f03950d4f1c29246583a5820c4e07a7533e Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Mar 25, 2020
-
-
Kaj Grönholm authored
This change breaks 4 lancelot tests and quickitems example. This reverts commit 7d23aba8. Change-Id: I83d1fa7f12255ace82c6bc99b9677c30160d9d11 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
Antti Määttä authored
Task-number: QTBUG-83049 Change-Id: Id3488298fbd11cd765a66bb3547f8ee1c96bda0a Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Mar 24, 2020
-
-
Norihito Tohge authored
Change-Id: Ibdc666b5cd1bd983c4510c0a8f7ddff487b241ce Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
- Mar 23, 2020
-
-
Norihito Tohge authored
It is called before and after every draw call to bind and unbind. Now it is called when the VAO to be bound is different from previous draw call and only unbound at the end of View3D render layer. Change-Id: I9372e59269c5248aece66834903dec5d01b2ef38 Reviewed-by:
Antti Määttä <antti.maatta@qt.io> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io>
-
Norihito Tohge authored
Change-Id: I27d127616fc52a01ea6818854a977aa758de424e Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@qt.io>
-
- Mar 20, 2020
-
-
Kaj Grönholm authored
Remove innerConeAngle automatic behavior and instead have valid default values and document those. Task-number: QTBUG-82854 Change-Id: Id20f10e6a3432cd2468b0346600646b4f06d16b4 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by:
Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Laszlo Agocs authored
One important part here is that the cube receives no shadows, meaning no shadow contribution should be visible on its top face. Task-number: QTBUG-82957 Change-Id: Ic79291f588d4168dacbf38bec6a7790a54c04310 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Kaj Grönholm authored
Covers all blend modes so removing separate mode testing tests. Change-Id: I66343ff6a4d52ee485ae40ee80348b0fc50e459b Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Mar 19, 2020
-
-
Inho Lee authored
Change-Id: I99f73542fe0a697ad12748e3e9452bdaa90da1a3 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Laszlo Agocs authored
The compressed texture based version was not following the recent API changes. Do it now. Change-Id: I630a2e16ec3742eb89d62138e3d7b9b7a5c05e44 Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Laszlo Agocs authored
Change-Id: Id5ab54370df40a5a285b3ffb6742ef1ec186f144 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Mar 18, 2020
-
-
Christian Strømme authored
Calling cleanupNodes() in the destructor of the scene manager will cause a crash, as some of the nodes will try to release their GL resources when theres no valid context to be used for that. This change is a simple workaround, a more appropriate change would be to get the destruction correct and clean-up properly, but that's going to be a bit more involved, so for now it's better to accept bad clean-up at exit then a crash. Fixes: QTBUG-82427 Change-Id: I7a2ad8850c27f5544547f6bf207755dd7a1b9213 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Christian Strømme authored
Task-number: QTBUG-82427 Change-Id: I564e09d5b0f1515236f98273f57e28fc5b4dc5d1 Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Andy Nichols authored
The Screen blendmode is defined as: 1-(1-SRC)*(1-DST) Which is the same as: SRC + DST(1-SRC) or in glBlendFunc terms: GL_ONE, GL_ONE_MINUS_SRC_COLOR Output should now be the expected result, but should break the lancelot test. Fixes: QTBUG-77786 Change-Id: I01ef0b1e08389394f1a6dc7019587a3473f22f5f Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Norihito Tohge authored
This solves a compilation error when it is built against older version of Qt. Change-Id: I7e37bdafbe81e34310400d6e721076e4f96299eb Reviewed-by:
Antti Määttä <antti.maatta@qt.io>
-
- Mar 17, 2020
-
-
It doesn't make sense to build any tooling or plugins for the importing of assets on non-development platforms. This tooling is not intended to be used at runtime, so don't even bother building it. Fixes: QTBUG-80572 Change-Id: I442a82df6d299fdd13d9c02faeaeace3f2553e7c Reviewed-by:
Inho Lee <inho.lee@qt.io> Reviewed-by:
Christian Strømme <christian.stromme@qt.io>
-
Inho Lee authored
modifies light stuffs including AreaLight Change-Id: I96c70678f7f8bc9db2174ff2e98243993adc276e 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>
-
Christian Strømme authored
Made the class, subjectively, easier to use and understand. We don't use this class a lot, but we have some good candidates where we could use it in the future, but that will be considered later. Added tests to make sure we have good testing coverage. Change-Id: If31a9f7851c4556d85c64bf2754fb08d53bc7f38 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Norihito Tohge authored
Task-number: QTBUG-82805 Change-Id: I8610f20ddaffd0f6fdffaffafa747552a9051a2f Reviewed-by:
Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Eirik Aavitsland authored
...independently of screen scale factor. Change-Id: Ia026f5df1017b93551e9cb4ed1b12a32bf757215 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Mar 16, 2020
-
-
Not all drivers/devices support all compressed texture formats, so restore the old version of this example that uses jpgs. Copy the current version to the manual tests directory. Change-Id: I2f3f013f915f16aa6903ffef195c942b1ec23306 Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit 9b402cdf)
-