| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QT3DS-2423
Change-Id: I432e53d48e2f135c7411960c01185a74720d2b7a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
In the threaded case, we need to release the semaphore for the next
frame data. For the non-threaded case, we need to make an offscreen
surface current before the resources are released.
Change-Id: I9df38614eb66e7164651e062a32165fe11259639
Fixes: QT3DS-2530
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: Ifa546ed6c46102a5c8a76d85ac6a6399a49b54a5
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Q3DSSceneManager::buildScene() is called for both main presentation
and sub presentation(s). To not disconnect stereoscopic mode
switching with subpresentations, move it into better place.
Task-number: QT3DS-2738
Change-Id: I5ecc9260c28ea1d42ba43aee2111f46a1ef9b607
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API will not make any sense in the future, when there is only one
aspect to choose from. The Dragon render aspect can in the meantime
be enabled by setting the environment variable Q3DS_DRAGON to a non-zero
number (like 1).
Change-Id: I9e95347a1eb9d75bbeaa6f813260ce5e718230b4
Reviewed-by: Svenn-Arne Dragly <svenn-arne.dragly@qt.io>
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Change-Id: If526b54e3c2b42132a465742a8dab86f96559dce
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Change-Id: I82163e450801f664067572413e5287c6684f328b
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Setting it is not strictly necessary, because we always get the
default-constructed value using operator[], but it makes the code
a bit more readable.
Change-Id: I72aaeca93d60162da88f63044682f8155d91a8c8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Don't generate dynamic kf on first entry to a slide, since there are
no "from" values yet.
Task-number: QT3DS-2209
Change-Id: Ib4e59968d9099b77ea6d11f1b627b77cad194a23
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also don't leak previous Q3DSViewportSettings.
Task-number: QT3DS-2705
Change-Id: I37ec0ddfeed21eedae49211d7f99655595d1b759
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: Ib46f4e753964eaad02f455f80962321fb64496c4
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
Will not productize this in 2.2.
Change-Id: I6be378671efba1e99f289955a230ac95bdc91a8d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-2671
Change-Id: I7d72a05671c8fe3dfe958df222f7e49192d8bfcc
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QT3DS-2644
Change-Id: I19d3b8e77d50e4817b83c528383bbe0e1931fdc9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-2586
Change-Id: Icc9017acf9222853f6345612906288cf4fd79348
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
UIP version is upped so that old editors are not used to edit projects
with the material container containing materials read from the
.materialdef files.
Task-number: QT3DS-2612
Change-Id: I8883a86569d7534a4339aa17d5c4f66ddbd4a8ce
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Do not gather parameters for render views that are not drawn. Also,
since we do not track changes, we can simplify the code by using QHash
instead of ValueContainer. The source file is also cleaned up by removing
old comments.
Change-Id: If573c84ff2ef0e43b411501207535f61d6e324d4
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
| |
There is no reason to warn about the missing feature if the user is
not trying to enable it.
Change-Id: I2b9b410c7c738e5589f03938489bc79b9f972bfe
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
Needed by Studio3D because it has access to backend objects.
Change-Id: I4c06f7463e2854e6dce39756fe2833e2c362bab8
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
| |
- Move TextureProperties and TextureParameters into a separate file.
- Reduce the number of #include's by adding forward declarations.
- Remove mis-placed LoadedTexture in wrong namespace.
Change-Id: I119cbaecf977dcba7fcdc5eb504bfa75829bf2a0
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
| |
Only reset states when necessary. Combine states between commands
and view in jobs and not on the render thread.
Change-Id: I2c45a794f56d5ca220190410814a9c0893fa4b7f
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
This part got lost in the transition from Qt3DRender.
Change-Id: Ib594b8117c1fa19983cda2ab54636fdce89ffcff
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
| |
Change-Id: I57a3b53ee5b520337efc2bf80d6f729614939fa8
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Remove commented-out code, comments, and TODOs.
- Remove references to async loading, which might however be implemented
later.
- Add warnings when features that are not available in Dragon are used.
Change-Id: I1d2dcffc15438a2c3ba96fd928f19d5d0c436899
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Simplify LoadedTexture and LoadedTextureImage by not copying generator
from Texture and TextureImage, respectively.
- Remove code referring to asynchronous loading. This might be re-
introduced at a later point, but is currently non-functional.
- Clean up the code in loadTextures and loadTextureImages by removing
old comments, commented-out code, and references to async loading.
Change-Id: If07cbf26109cc83191f95c4abc53d28dae055c5f
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
| |
Change-Id: If59a7f9bff1bb1eb978e18c38d196125851e268d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
| |
Change-Id: I585b0f914ca02c12b3f8a0460ce2eb04e2861763
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
| |
Change-Id: Iedece863f679daacd99ee91193b719b96006dd0c
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-2642
Change-Id: I555999d215d803d11145625511c1dcdd20e03703
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
| |
Stereoscopic QParameter is per-layer.
Also move some logic from engine into scenemanager side.
Task-number: QT3DS-2561
Change-Id: I2c426a8511edc0cdbaae8760578651915a05dd28
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Notifying property changes was delayed until the track starts, but
if there's no tracks this will never happen, so instead we now
delay the calls until the slide animator (always present) is first
called, which happens even if the slide is initially paused.
Task-number: QT3DS-2596
Change-Id: I3fd49977b90ac370680446ecbfc7b3301130de34
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This commit is introducing to many regressions at this point,
so the best option is to revert it now and re-apply once the remaining
issue are resolved.
This reverts commit 55b43d3e1c3a100f4ad41d94c132afd2a0d029b3.
Change-Id: If2733c506aa64a242a4605d81d69f66e2f7aae41
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I02d0b6cbbaea4e474319f0fad9dafd2a7dce973a
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Reparent selectors instead of viewports so render tree is cleaner.
Remove viewports disable/enable as that's not useful. Also keep
mono selector always enabled as it's needed also in stereo.
Task-number: QT3DS-2591
Change-Id: Id797deb0da804e5ac46c03713ea7421b5fb4f57e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
When in mono mode, left & right viewport trees are not required
at all and vice versa. So reparent subtrees when stereoscopic
mode is changed instead of just enabling/disabling cameras.
Task-number: QT3DS-2591
Change-Id: I23bae7b9808fb786c59549a1afad8ee49fde533e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
If "Use ktx textures if available" option is set for the presentation
from presentation settings dialog, try loading the given image file with ktx
extension first.
Task-number: QT3DS-2505
Change-Id: Ib1876fb810287beb943d8138b8fb2755853e6f3e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding the dummy first/last keyframes should be postponed until after
the first keyframe is updated by the dynamic keyframe logic.
Add also the test scene from the report: clicking the rectangle should
only start moving after 2 seconds (assuming you click fast enough after
opening the scene)
Task-number: QT3DS-2577
Change-Id: If768179c8aafd541798af21d397e1e93164354db
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-2585
Change-Id: I8d1b472097bc1edda5e3a7fd2ed3a6e627d77bfa
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
As we should demo the case where View3D's are inside a ListView's
delegate.
Will crash eventually when scrolling. That needs to be fixed separately
in the engine.
Change-Id: I32fd35608c98e182b7e22a92f4f5f9b69a387c5d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
| |
The BackendNode in the Dragon renderer was missing a virtual dtor.
Change-Id: I7b30bc5b004f9f7ce8c9108b0c07a80f810dc843
Reviewed-by: Svenn-Arne Dragly <svenn-arne.dragly@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
float -> double
Change-Id: I677936751ee5cebbfaffe8a17e77ac12dba1dbaa
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
... the names Slide and ComponentSlide doesn't make much sense.
Change-Id: I19d76012625d4d5c2eb4ed379305c21586678455
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Since the names aren't unique the output ends up being less then
helpful.
Change-Id: I7ba5270dcff0c191638ff591bbabdca7f64a62aa
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I6472bc685562382328fcf0a6777271100bb2fcc8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
This is just to make the output more readable.
Change-Id: I631cb974bc584b6baa5800ceb914de72a477f66f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
This is just for convenience to avoid the need to look up the values
each time.
Change-Id: I4a2ebc0ba8e8dda16a71c555a51b4d411f3d03c4
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an attempt to clean up and make the state changes more sane,
i.e., by trying do everything once and in the right order. There are
still ugliness in this code, but it should be more easily to follow now,
aided by extra inline commentary. This change should also improve some
of the flickering seen in some examples when changing slides, as we try
avoid re-setting stuff when we don't need to.
Since time updates for the new slide is deferred until the first time
callback, some of the test needed to be changed to their QTRY_* version.
Also, there's now a clear distinction between stopped and paused, where
paused means the slides progress is stopped at time t, as expected and
stopped means the slides values and state is reset to it's initial state.
Task-number: QT3DS-1866
Change-Id: I7a9b61ee3ad4a976e0e8d4de386704dcf0d526bf
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: Iab2fec467f334e63be0f21cc1b0a0f285f213744
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
| |
Generate custom advanced blending shaders when stereoscopic
mode is on.
Task-number: QT3DS-1023
Change-Id: I72a1f9eced6d3f60a0707e8ccb76ea4f587122e5
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch provides stereoscopic rendering support for Qt Studio
qt3d-runtime.
Contains API to switch between stereo modes (mono, top-bottom,
left-right, analyph red-cyan & green-magenta) and to control
eye (camera) separation. Adds menu into Q3DSViewer for these.
Task-number: QT3DS-1023
Change-Id: I3da3d34606a07178978eba83236ca6cb6360e893
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|