| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The enable state name is CullFace and not Culling.
Change-Id: I9b5240639adcc805b4c34ac71547ac5afe524a43
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The buffer manager needs to use resolved paths for each image loading
function. Also convert to use QString to avoid unnecessary string
conversions. Also fix image loading task to use resolved paths.
Task-number: QT3DS-4177
Change-Id: I79fae56a8f49ccbdcaed1fa9eb9a9d875583d0dd
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5f8471a92868a06298ef0e0f1047d20491ac7f46
as it causes issues with existing projects.
Change-Id: I903b104c325323d1b6fb53c1313921ee593c156b
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
When doing multiple slide switches at the same frame, activity
(visibility) didn't update correctly because even empty elements
caused activity changes.
Task-number: QT3DS-4169
Change-Id: Ib2dec31ee6b33487261b73cf5550a090ce91513e
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QT3DS-4176
Change-Id: Ib1bcdd201a973122a36550971d9ce16148ef8d28
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When attempting to change time check if the parent becomes active.
If an object is inside a group or is a child object the parent is
the one which becomes active.
Remove the first activity check. This is already being checked once after.
Checking too early doesnt allow moving objects and changing slide in the
same frame.
Task-number: QT3DS-4166
Change-Id: I5f64828605c11756e61026ffc60a3b73b3a1f197
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first 3 paths in the searchPaths are for finding the other
things we need to search for, the last ones are for source paths.
Reversing the order drops the required search count in a usual case
from 4 attempts to 1 or 2.
Task-number: QT3DS-4172
Change-Id: I0d7665566be6b8a9d5e7b918f7596f70126ad958
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I03537c60337f8cdb4183ca8e50e9f68d7a7b8148
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Add signal object type and use it instead of dummy group in
activateactions autotest.
Task-number: QT3DS-4165
Change-Id: Id10fcc95e3a8f9009db71e6c2d640a593e633d67
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
There are several fixes done to source paths before their usage, but they
are done in different places. Put these all into function and call this
function before using the source paths.
Task-number: QT3DS-4162
Change-Id: I0d3e3fd2db0cb11c6e9cb28fb3054568884059db
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I686f6e333e2b1d918de111201c4a600dce1f9688
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Change-Id: I9b57152d059b7e2ea8eed6ce3fbb47e4005e735a
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new Action types onActivate and onDeactivate. When assigned, these
will get triggered at object timeline start and end times. Using these
it is possible to trigger events at specific times during animation.
Example and autotest case included.
Task-number: QT3DS-4128
Change-Id: Ib973b479a1de47745089d41c5764c2a1747ec95e
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use only filepath as the key for textures. Removes double loading of
textures accessed in different style.
Task-number: QT3DS-4154
Change-Id: I46dbfcef35944b61d74c821374d103a0d1b65134
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Delayed loading ignores files not listed in UIP, try loading
them if not found from the texture map.
Task-number: QT3DS-4159
Change-Id: I32011390976493e9c43126b6d162516fa24bca6a
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disabling depth prepass in the editor never actually disabled the prepass.
Flipping inEnableTransparentDepthWrite boolean corrects the if statement.
Transparent objects were placed behind opaque objects when
disable depth test was enabled in the editor. When disabling depth test
objects are now drawn in a single pass with alpha test off.
Task-number: QT3DS-4011
Change-Id: Ifb85520a3f9fd20d29e24c721623fd103b5b3797
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Change-Id: I4364061173a1dfcb23922fd662a0c1d46883a37d
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
When RGBE map is set into the specular reflection map, it needs to be read
in shader as RGBE instead of RGBA.
Task-number: QT3DS-4160
Change-Id: Ib4baf0cf775d779a5b679ff131f89b9c893bbec7
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
DepthWrite variables were in the wrong order which could cause
unwanted behavior.
Task-number: QT3DS-4158
Change-Id: I39ba2015dfeb3530d12af696d23ba0feab21ea21
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Transparent objects alpha test was set to true when its opacity was 100%
which caused problems with screen blending mode.
Task-number: QT3DS-4110
Change-Id: Ie12e36e442fb265cad6141022200e99b28a9c4cc
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-4157
Change-Id: I4002368dd9b1f9267930e98319d31b3c8bb8b1fb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using setAttribute() it is now possible to give filename
without the extension and engine automatically locates the most
suitable existing file. If preferKTX is set, compressed texture
formats (ktx, astc, dds) are preferred over non-compressed ones
(e.g. png, jpg). The behavior is similar to Qt Quick Image
automatic detection of file extension.
Includes autotest to confirm the behavior.
Task-number: QT3DS-4059
Change-Id: I1d4ab0d86b34f5deb704d450e5c36e86afde7d3b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
| |
Set correct parent node for left & right eye cameras.
Task-number: QT3DS-4152
Change-Id: I08d80525360b9925c896320f17842bc4be486991
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Run render tasks also before prepare step so that the images are loaded
for it. The prepare step doesn't work properly if the images have not been
loaded and generates wrong materials for first frame.
Task-number: QT3DS-4131
Change-Id: I7a3f5fb08f915a31dd291c3c147d8f078ecee908
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
| |
Add back the name for the argument.
Fixes: QT3DS-4153
Change-Id: Ifee13fe048069298aeeda519c2bfd8ef15ffc6f5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Viewports of subpresentations should not be reduced in
stereoscopic modes.
Task-number: QT3DS-4141
Change-Id: Ie96ff296bec2d11b215f36e08df23911f18fbba2
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The subpresentation layer textures are stored per instance basis so the
getter needs to use the correct main presentation layer to get it.
Getting the subresentation texture id from images already work by
using "subpresentationId:elementPath" in the getter.
For subpresentation layers the getter needs to specify also the main
presentation layer using the subpresentation. The elementPath needs to be
specified as elementPath::subpresentationId:elementPath.
F.ex. "Scene.Layer2::subpres:Scene.Layer"
Task-number: QT3DS-4127
Change-Id: Ifeb654838e6cc97ac8f95841e080e3c35fc76ad7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QT3DS-4144
Change-Id: Id1bd2387538a6cf865c59830730d80eb5f93652f
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Reduce allocations by reducing std::pair usage.
- Reduce allocations by not caching parents.
- Some smaller optimizations
Task-number: QT3DS-4151
Change-Id: I0bf770069b23ca4715f5f98ab3b35001156fe8fc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Transparent objects would always be rendered on top of opaque objects
since their depth test was disabled in ordered groups.
Task-number: QT3DS-4126
Change-Id: I3ddb1f14c97e4176f8a979a952aba3914e45171f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
| |
The slide has to be rolled back so that elements from the slide don't
stick around in the next one.
Task-number: QT3DS-4146
Change-Id: I18dbf2b974fb55d4fe22b014c06f54f37df02e13
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|\
| |
| |
| | |
Change-Id: I72499b82b0238c09486177f7c022f5d27896a2c8
|
| |
| |
| |
| |
| | |
Change-Id: Iac363eb60ad2d046e61d1d6d05cf80e6faf7e634
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QT3DS-4134
Change-Id: I02c4e5e0cefc04c60a52bdc1ffaed9e567b84631
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This will work if text mips64 is in the host architecture.
Task-number: QT3DS-4134
Change-Id: I5024d12c8d79656d30c8e632be50843a5511ab86
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Fixes: QT3DS-4132
Change-Id: I40460d740dcc6fa9be0d53695b9860afead717f9
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QT3DS-4129
Change-Id: Ic61a3d62cd6a831a93c42b9ead8675d529f6ea58
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was no load point for these textures, so add force load flag,
which forces loading textures, which are used by custom materials
and effects.
Task-number: QT3DS-4114
Change-Id: Ie4447c9a9bbb911d6e2e18ded7a039fb45ba459f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QT3DS-4113
Change-Id: I476fc77f79149d6af3146f23679fea4b28f3c8da
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initialize data inputs and outputs every time a presentation is loaded.
Task-number: QT3DS-4105
Change-Id: If2e9a6d95cc40109cb48f4d4d8b5dc88f963fb74
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add project path to the custom material image path and check if the image
path contains ../.
Change-Id: Iab436ffa304c94cdc8235dc9fbf06abd9c060e71
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QT3DS-4102
Change-Id: I2dc4ab64715ffa3c2a13309b716ca4ffcdd51b3e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The runtime contains unused viewport parameters. Remove those and fix the
editor by reading the scissor rect from render list instead of render
context, which contains wrong scissor rect.
Task-number: QT3DS-4103
Change-Id: I8b443c3a5e8d7ac84eb211633cea2afeed6da30b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Time-activation is not done for child elements in all cases. Add check for
it in the activation handler.
Task-number: QT3DS-4100
Change-Id: Ib34777afc35db7a0ce6748da01e6feec1de37f5e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie3dec5105059cbbfe1bf104dac4458020e75538b
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Custom materials using subpresentations would have their textures loaded
as images and failing because of the invalid path.
Task-number: QT3DS-4094
Change-Id: Iadcf5237dc26c5666c8b54cdee0fed3a01434d77
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QT3DS-4049
Change-Id: I655de11b904a8828d7c428f91c0874e74106fdf5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The custom material/effect default textures are added to the graph object
attribute list so that they can be loaded when delayed loading is enabled.
Task-number: QT3DS-4037
Change-Id: I88219b49a6d696de7ca45b900aa3628d48de701e
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If using scene bounds creates a smaller shadow map camera frustum, use
that.
Task-number: QT3DS-3273
Change-Id: I87d8baac11610c03d70ec9207381aa8b96c62195
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
| |
| |
| |
| |
| |
| | |
Fixes: QT3DS-3906
Change-Id: I14d48ad5f18f1add83829290605a22e39a2d4e25
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|