| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I91dd69fc205401b12f333a9a0534d9612c8e24f8
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|\
| |
| |
| | |
Change-Id: Id669d5c1aab29965eac0dabd1cb497e908dac23e
|
| |
| |
| |
| |
| |
| |
| | |
Calculate specularMipLevels only once, on the CPU.
Change-Id: I694e3d5e45ea369875ac3ecff36f885b3f669bcf
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
Was used by old node init API
Change-Id: I7b68f25634ee7aaccefab6f499ac074fcfb9a7f4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|/
|
|
|
|
|
| |
Mostly old messaging API
Change-Id: I17eb2206b2ede56d2f7d36375d5e711d6149019f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
By default the QRenderAspect will try to load this plugin
Change-Id: Ie55e207fb8e6d0b64f717bbb99699eb669eaa3f2
Task-number: QTBUG-61151
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|
|
|
|
|
| |
Fixes: QTBUG-73095
Change-Id: I843b0376ed0e4ece6ef949acb596a0303aac977d
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
|
|
|
|
|
| |
Remove include statements for classes that are no longer used. Makes
it easier to find remaining use cases that need addressed before
complete removal in Qt 6.
Change-Id: I60529ba1929ad64b162d3847d5df47cde2a60dad
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I5efde51f6cadd5e4b6faa28e8b97e2cf2e14706f
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|
|
|
|
| |
Change-Id: I4f89fa7609ef84a9e2795dc81e8232c895177e9f
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|\
| |
| |
| | |
Change-Id: I7d7274866129a3c8a3ed3788680a46368120d20d
|
| |
| |
| |
| |
| | |
Change-Id: Ia6e6ca65469c7c04914fbb6a73f796ec86436577
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\|
| |
| |
| | |
Change-Id: Id2885cdbb45f8aa701e218b6201f0a3732b7ef11
|
| |
| |
| |
| |
| | |
Change-Id: I8d56836f1f075c7239b262454131062c10058026
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Iae5fa92dfdf8012315c043e20950368e42451e20
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds missing C++ and/or QML documentation for:
* enum QBuffer::AccessType
* QBuffer::accessType()
* QBuffer::dataAvailable()
* ForwardRenderer::externalRenderTargetSize
* enumeration Qt3D.Render.Light::type
* Qt3D.Render.Light::color
* Qt3D.Render.Light::intensity
Fixes: QTBUG-73071
Change-Id: I48b13cb8001558b20bd801b6f96f5b5933144d82
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I42affdd02bddb5205b9f2455f0c5e5efbd414dd8
|
| |
| |
| |
| |
| |
| |
| |
| | |
This avoids running these jobs when lights / renderables have
not changed in a frame
Change-Id: I604180fe3442ab67648c4ba5d9effb8639c68ef7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Qt expects the export macros to have Q_ prefixes, otherwise the symbol
versioning script won't find them and mark them.
Also remove non-exising QT3DLOGIC_PRIVATE_EXPORT macro from
src/doc/qt3d.qdocconf
Task-number: QTBUG-74752
Change-Id: I71b9e85ff09c002fb283824aa51a5a8f50e937f4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
This makes future ES2 PBR implementation possible as textureSize()
is not available on ES2
Change-Id: Ibf2b36240778a3f30f4316a67819f9052e46bdf1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
| |
Which resulted in incorrect specular texture bookkeeping.
Change-Id: Iceed7e44e791f373f04c35f1a46f5c9ba97d012d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes multiple QDoc warnings for Qt 3D Render that are
related to how Clang parses the source code and the \fn QDoc
commands. A number of changes are related to preventing documentation
for private classes from generating warnings.
We still have a number of 'No documentation for ...' warnings left -
those are not addressed in this change.
Change-Id: Ic92a729496a81e7869060811ed7dd23408cff833
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I248aa369ba98659a61e563fd29cc811c76ea1e2d
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
src/animation/backend/handle_types_p.h
src/extras/defaults/qtexturematerial.h
src/render/backend/entity_p.h
src/render/backend/handle_types_p.h
src/render/backend/renderview.cpp
src/render/io/scenemanager.cpp
Change-Id: Ic145062cc98360e9067fd60f0992c7a6b51e41bb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The convention <QtModule/QClass> should be used. Among other things,
this makes generating Python bindings possible.
Task-number: PYSIDE-487
Change-Id: I32f114377dd70d27dee71a44b05c81474eb5dac3
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia80d1cb9cc96d76f8b367caa725c59a70ae0a4d5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/ /
| |
| |
| |
| | |
Change-Id: I92c955068e233c50043ad7d06a32300dd386c24d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\|
| |
| |
| | |
Change-Id: Ic4220f9957266c374f751d3612c60b81e9cea193
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qabstractlight.h:65: warning: No documentation for 'Qt3DRender::QAbstractLight::Type'
qspotlight.h:64: warning: No documentation for 'Qt3DRender::QSpotLight::attenuation()'
qshaderprogram.h:78: warning: No documentation for 'Qt3DRender::QShaderProgram::Status'
qshaderprogram.h:121: warning: No documentation for 'Qt3DRender::QShaderProgram::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)'
qpicktriangleevent.h:57: warning: No documentation for 'Qt3DRender::QPickTriangleEvent::uvw'
Change-Id: Iedb73cc73bc28a5e9dd3498a0bb6547eb1a96ffc
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|/
|
|
|
|
| |
Change-Id: I017d83acc576aaad921f62b2ae0e858660f15259
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
Was found when Nathan tried extending QCamera.
Probably good to go through other parts of Qt3D.
Change-Id: I317acaa36ffe3fd0b1ac0bbf4af70eabb1111ab7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
This is a better API to set the environment lighting than what we
currently have on the metal/rough materials. Still needs to be
integrated in the renderer and to adjust the materials to make use of
it.
Change-Id: Ie1e46a0fa67916460147200c9cbbfbab8b037cee
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a combination of 60 commits.
qlockableobserverinterface_p.h: add LCOV exclusion comments
qobserverinterface_p.h: add LCOV exclusion comments
qpostman_p.h: add LCOV exclusion comments
qsceneobserverinterface_p.h: add LCOV exclusion comments
qscene_p.h: add LCOV exclusion comments
qnodeid.h: add LCOV exclusion comments
quick3dshaderdataarray_p.h: add LCOV exclusion comments
quick3dshaderdata_p.h: add LCOV exclusion comments
qquaternionanimation_p.h: add LCOV exclusion comments
qabstractphysicaldeviceproxy_p.h: add LCOV exclusion comments
qmouseevent.h: add LCOV exclusion comments
qmousedevice.h: add LCOV exclusion comments
qaxisaccumulator.h: add LCOV exclusion comments
qtextureimagedatagenerator.h: add LCOV exclusion comments
qtexturewrapmode.h: add LCOV exclusion comments
qabstracttexture.h: add LCOV exclusion comments
qtextureimage.h: add LCOV exclusion comments
texture_p.h: add LCOV exclusion comments
qtexturegenerator.h: add LCOV exclusion comments
qsortpolicy.h: add LCOV exclusion comments
qrendertargetselector.h: add LCOV exclusion comments
qsortcriterion.h: add LCOV exclusion comments
qclearbuffers.h: add LCOV exclusion comments
qrendercapture_p.h: add LCOV exclusion comments
uniform_p.h: add LCOV exclusion comments
triangleboundingvolume_p.h: add LCOV exclusion comments
qgeometryfactory.h: add LCOV exclusion comments
qbuffer_p.h: add LCOV exclusion comments
qbuffer.h: add LCOV exclusion comments
qgeometryrenderer.h: add LCOV exclusion comments
qbufferdatagenerator.h: add LCOV exclusion comments
qattribute.h: add LCOV exclusion comments
qsceneiohandler_p.h: add LCOV exclusion comments
qsceneloader.h: add LCOV exclusion comments
qrendersettings.h: add LCOV exclusion comments
qcamera.h: add LCOV exclusion comments
qcameralens.h: add LCOV exclusion comments
sphere_p.h: add LCOV exclusion comments
shaderdata_p.h: add LCOV exclusion comments
qshaderdata.h: add LCOV exclusion comments
qgraphicsapifilter.h: add LCOV exclusion comments
qshaderprogram.h: add LCOV exclusion comments
qpointsize.h: add LCOV exclusion comments
qblendequation.h: add LCOV exclusion comments
qstenciltestarguments.h: add LCOV exclusion comments
qalphatest.h: add LCOV exclusion comments
qstenciloperationarguments.h: add LCOV exclusion comments
qdepthtest.h: add LCOV exclusion comments
qblendequationarguments.h: add LCOV exclusion comments
qfrontface.h: add LCOV exclusion comments
qcullface.h: add LCOV exclusion comments
qray3d_p.h: add LCOV exclusion comments
qboundingvolume_p.h: add LCOV exclusion comments
qabstractcollisionqueryservice_p.h: add LCOV exclusion comments
qpickevent.h: add LCOV exclusion comments
qabstractlight.h: add LCOV exclusion comments
light_p.h: add LCOV exclusion comments
qt3dquickwindow.h: add LCOV exclusion comments
scene3ditem_p.h: add LCOV exclusion comments
qgraphicsapifilter_p.h: add LCOV exclusion comments
Change-Id: I3af0e2a4d85685c919dbfaa8b3f384777f026542
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
| |
The spot light local direction was being normalized in the fragment
shader which is a lot of work. Much better to normalize it once on the
CPU side when it is updated.
Change-Id: I87045462b6b09fad4262f5755493b87595d29f11
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I62751e0f8460ab4680a7bd80eda0cc2a8011b1ef
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
This is a local direction, so it needs to be marked to be transformed
into a world direction on the backend side.
Change-Id: I204608fb3b3b8bd30ae3687fdb53d4d4c7270219
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-46037
Change-Id: I045b7ff77827de2410fc785c16508ff1429f14fb
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Forces them to be initialized so they exist when the property reader
is used for later updates.
Also use correct type in default value setting of uniforms.
Task-number: QTBUG-53585
Change-Id: Id594670ea75385c1d54f06d4d7c6241d77403ce6
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Without this, the default was 0 for the constant attenuation factor.
This is bad because if the user only sets the linear and/or quadratic
constants, then when the distance gets small, the denominator in the
lighting equation gets very large causing a lot of saturation of the
renderered meshes.
Change-Id: Ie1b8b2d24702090879cb1429912eb51aeb002f68
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I2d80f964c4de6ef6cef144ca50fa12ffb3eb540c
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By making the destructor (usually the first non-inline, non-pure,
virtual function, and therefore the trigger for most compilers to
emit the vtable and type_info structures for the class in that TU)
out-of-line, vtables and, more importantly, type_info structures for
the class are pinned to a single TU. This prevents false negative
dynamic_cast and catch evaluation.
It also allows to add code to them later, if necessary.
Change-Id: I0da301cd788162abba6cdbbb21910090a22adb9a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Change-Id: Iaa91d6248cbc3822ed3380e360d2880d4894446d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-51494
Change-Id: Ic326499f80b5a91b2d19c09770de926f220cc805
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Implemented a few missing initializeFromPeer() implementations along
with the corresponding frontend node creation change creation functions.
Adapted unit tests.
Change-Id: I571e53a7b68a5544bd0e308df0baf7e52533306e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
from QBackendNodeMapper and subclasses. No longer needed now we have
disabled cloning.
Change-Id: I261fa7bccfa9a4019d479079e2ff7c19154e5e72
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-52736
Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I4def54a11de0f9c676ef6b2d7bd8e723ded25ab9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
On the shader side this is always named "direction" whatever the name of
the property on the frontend object.
Change-Id: I01bb8c34c687727eb018d4ce90bcadf00d9707fa
Task-number: QTBUG-52710
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are turning the relationship between QAbstractLight and QShaderData
from a "is-a" to a "has-a". For that we relay all the properties of the
light to its internal shader data dynamic properties.
Interestingly it also removes a couple of special handling for lights
which aren't needed anymore.
Change-Id: Ia937b8934f94ce318e02901d90ac340e172cbc75
Task-number: QTBUG-51489
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ib560ebc982e763413d16afa9c61aa036dcfc695e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|