| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QT3DS-2903
Change-Id: I0674abbdcd11395869cdc7c196c9c1aef3b484f3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Materials no longer have name property, the default value is obtained
from MaterialBase. Changed the property parsing logic accordingly.
Change-Id: I40653eeefcbeb1c4e293b75b328ebc4a66f2b2de
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-2526
Change-Id: Ia46bfbcbd4f50bcaf3e27c3e116d0e117105dcb2
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The bump map shader used Lod functions even though mipmapping is not
enabled. Use no lod version instead. Texture size was also 1x1 always,
so the size had to be fetched with Q3DSImageManager.
Task-number: QT3DS-2284
Change-Id: I5c49911dc13738797428491f107b4fedd37535c1
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a boolean property. If it is true, the fov value will be
interpreted as horizontal angle.
Since there were change to MetaData.xml, it was was updated to
match editor version.
Task-number: QT3DS-708
Change-Id: I68ac43c497a344a1f7bfcf25505f0dc4eb4cd6b5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Roughness is never used for the diffuse so the Oren-Nayar function with
branching is not needed.
Task-number: QT3DS-2010
Change-Id: I8d81adabbf254cb5af4d7ae6d6aec9da8ad89bc5
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
I want to be able to set this code up in runtimes other than the
viewer, so it makes sense to move this into the runtime library.
Change-Id: Idd66d852b597d34b3de9faebbeacc2c9923fd562
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix FOV equations. Also, fix case for FOV of 180 degrees where image
lighting map was used in wrong orientation. With this fix, the negative z
axis passes through the center of the lighting map, with edges of the image
wrapped around the scene, i.e. with default camera settings the center of
image is in the direction of camera. This holds true for both cases of FOV = 180 and
FOV < 180 degrees.
This fix must be replicated on editor side for results to match.
Task-ID: QT3DS-154
Change-Id: Idb8071dcd74cc3d5b17c964239bec9a52b4fe6b8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-1891
Change-Id: Ife6fb61b7f0f319366bde9f1e270de44e1bfa7f5
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Text still might not look smooth, but at least now it will be unsmooth
in the correct location.
Also I updated the MetaData.xml file to match Q3DS1 since they changed
the default text size from 24 -> 36
Task-number: QT3DS-1823
Change-Id: Ibfe62a60a39ac6597462937c930fdf74f577b3c4
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I410c57e52659e7ee7875be127d01837a56992c3a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I1ab6cc51f1cf1eddd2f0d197b300a1719960d795
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-670
Change-Id: Idef2a0a2a23df5213cee3da5a23d9203a5393324
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-1765
Change-Id: If398f95fba9ed409761602937c49fc2d93fe46f6
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-1714
Change-Id: I6e54bd90756276ce01f30254f7f8b3721366adec
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
| |
The builtin lights for Qt3D use the uniform lights[], which is the same
name as what we use by default. We can avoid Qt3D trying to overwrite
our parameter values by using a slightly differnt name.
Change-Id: Ie5c1a36ec3c13ad63ed515b8f78a4edd3528d97e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Adds effectlib changes from 1.1 runtime.
Change-Id: I1314974d03af37d0c8d78c5832812915e1d45884
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Can run (no animation yet) simple single-pass effects like sepia.
Task-number: QT3DS-793
Change-Id: I7eae7ee4c4f43363a54141a1b3bbb61126ec6e54
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
There were not too many differences, but some notable ones are:
Copyright headers are back.
UIC -> QT3DS renames
Removal of (f) from float literals (which was not valid GLSL)
Task-number: QT3DS-367
Change-Id: Ieb21f0e5a46c9513f166d8fe3944af3271770acd
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I15290541bfb58bb194d70cfe9004af1033bb8fb2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shadow map resolution is the only property that can cause this in practice
and that value unlikely to change (esp. since now we mark it as
non-animatable to follow 3DS1)
Nonetheless the logic is more straightforward this way.
Fix also the depth-stencil buffer logic. Lights can reuse the same buffer
only when the desired size is the same. They need their own otherwise.
There are also some important lessons & patterns in here when it comes
to parenting QNodes.
Task-number: QT3DS-428
Change-Id: I7cfec5a8ee6c065b10b2dc6b37b89afa46ace020
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the missing default to the metadata xml as well. Likely an oversight
on the application side. While we are at it, add default values in C++
too for lights, like we do for other classes. This is not really necessary
for fields that have a default value in the metadata, but as we see the
defaults can come and go, potentially leading to uninitialized variables.
Better avoid this.
Task-number: QT3DS-299
Change-Id: I4253a5d0bd2d6120fd7c627d072459cc8c0dec28
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
| |
Plus take the always-show changes for shadow properties from 3DS1 (not that
it matters for the runtime).
Task-number: QT3DS-300
Change-Id: I46eec1b2e03475e3ba0343b97909f904c54d5fd8
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
A.k.a. Qt 3D Studio Runtime 2.0
Change-Id: I459564fe47dc3d4b294346a42b1b387c21bb4088
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|