| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This should make the documentation and code terminology consistent
throughout. We can rename the source directories at a later date if
needed.
Task-number: QTBUG-46622
Change-Id: I2737e54192341808f4a0270ad19ba70f6c4af589
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|
|
|
|
|
|
|
| |
Leave the cylinder-cpp example to show minimal code for setting up
a basic element. Reshape torus-cpp to show several shapes available.
Change-Id: Ic9dd7cb54258b5eb442ee0492ef4fc2e4b30f836
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
gltf/LICENSE.md is from 4fb289da,
https://github.com/KhronosGroup/glTF/blob/master/LICENSE.md
(excluding third-party licenses - only glTF graphical assets
are used in the examples).
Task-number: QTBUG-45612
Change-Id: I66c7d7d3ef2ae8ad10feb74a1e7be41d6ac281ad
Reviewed-by: Sami Makkonen <sami.makkonen@digia.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Added examples.pri to examples folder to help deployment to devices.
Change-Id: Ib7b6514d5b5a31dee9a3b7f6f79277550fb77502
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Split example-assets.qrc into smaller resource files per
directory and add those to the examples as required.
Task-number: QTBUG-45990
Change-Id: I0a5a6cee64dc23560e9e093f272ff0d90a6e2e97
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I22389f9a904f203b91ee291f1fc7e9e8e059f31b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Enable the examples to run stand-alone (when launched from
Qt Creator's welcome screen).
Task-number: QTBUG-45990
Change-Id: Idc53d8342e75faf962410a91c3b2fe26a02610e5
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
| |
Allow to select a mesh file and load it with the assimp scene loader.
Change-Id: I0018fbbdbcf76c65f35b0670c1b1082e304cc9df
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I9ded38f9d65e8b528abc729f0eb6f35558b0ce6d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Note: you need red/cyan glasses to fully enjoy the experience
Change-Id: Ic823831eea0f4658c2ab9116eb1505893847b6e8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
An example to demonstrate how to use Quick controls for model properties.
Change-Id: Ia182716fcd5f11ad78b385507f5da783a232d90a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
Also fixed QTransform to copy proper transformation matrix to work when loaded
in the backend and sent to the frontend.
Change-Id: Iec417fd49092b5e3d7971784327ff4bbfb75549b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
As per GLSL ES 3.0 spec there is no default precision for this type,
similarly to float. Therefore some drivers (f.ex. newer Mali ones)
reject the shader without specifying the precision.
Change-Id: Ib5e9a2d47924da84d6a74dde0b9e894fc4b580e4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a skeleton version of the example documentation for each example,
create a group page for them and link to it from the module landing
pages.
This allows browsing the example code from the docs and also enables
listing them in Qt Creator's Welcome mode.
Change-Id: I1ba16399b115bb8c5503bc91d2a8dee46417cd01
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not having the headers is fine since the built-in shaders do not have
them either, neither in Quick nor in Qt3D.
The main issue with ES is that in ESSL3 the spec states that the version
directive is only allowed in the first line and no comments are allowed before.
This is not true for standard GLSL where the spec states the comments and
whitespace are allowed before.
Mesa does not seem to enforce this, but we have already found at least one
GL ES 3.0 implementation which does.
Change-Id: I6ac3f949eeb44a005f69cc03f7d6f6eb5b577f2e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Modules cannot have their examples in the top-level examples directory because
in the pre-built packages all modules' examples are merged together.
Change-Id: I80fdbb8f1ec6f3d8fd793e4d856e705000237127
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
| |
Change-Id: Ic6c05d78f617155892b546721946ee2c5c9b660a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/threed/scene_ai/qailoader.cpp
src/threed/scene_ai/qailoader_p.h
src/threed/scene_ai/qaiscene.h
src/threed/scene_ai/scene_ai.pri
Change-Id: I4132b51ddddb43319a7fc1b4b9a8df692dc22411
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replaced old Nokia copyrights with Digia copyrights.
Removed "All rights reserved" strings without leading copyrights were
removed (for example, 'Copyright SomeCompany, all rights reserved
remain untouched).
Did NOT touch contact details, will change them later.
Excluded folders that have '3rdparty' in path.
Used command:
find . -path '*/3rdparty/*' -prune -o
-exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; |
tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/
\1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I')
>(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I')
This excludes binary files and retains whitespace and #* characters in
the beginning of the edited lines.
Change-Id: Idbe2a510335385929a282bd70606b8841dff36a8
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
qmake now add CONFIG+=depend_includepath by default, making manual
DEPENDPATH setup unnecessary.
Change-Id: I8f7144bbd53741a2e57f2b90a41a13aa16efc53e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
qt is already added by spec_pre.prf, warn_on by default_pre.prf.
Change-Id: I362942adad909b718c0af7c7e44cd0c8688901c2
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Depends on patch Ie4424ec15fbdef6b29b137f90a2ae33f173edd21 in qtbase.
Change-Id: I1c6c8a15f379768e0187d8dffd015cdb82c90c93
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Change copyrights and license headers from Nokia to Digia
Change-Id: Ib09067b91869c2840710bffee104bc63c76b0bf7
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit changes the API of all classes in this module to use float
rather than qreal. This makes the API consistent across platforms and
improves floating point performance.
Change-Id: I95ae65cb31428748e066d5efca059ce24087fafa
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Sarah Jane Smith <sez@storybridge.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduced by qtbase:
51d40d7e9bdfc63c5109aef5b732aa2ba10f985a .
Fix warnings about truncation from double to float.
Introduce qFuzzyCompare() and mark some tests as
insignificant.
Task-number: QTBUG-27189
Change-Id: Icc2038df5c4c25a7fa9a89ed906a934c2af60cec
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fixed usage of "Qt 3D" according to the Qt 5 product guidelines
- created links
- "Qt3D" -> "Qt 3D"
- Renamed titles and used the titles for linking
- previously linked to the .html files
- Renamed the main page to qt3d-index.html for easier visibilty and
to be consistent with other Qt modules
- whitespace fix
Change-Id: Iac794e5f2ded9d59e3c9e7407a60b430acc45665
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
|
|/
|
|
|
|
|
|
|
|
| |
Animation tracks for object rotate/scale/translate
can be loaded and played.
A simple example illustrating this feature is also provided.
Task-number: QTBUG-19906
Change-Id: I7a07c214f8ad7065b7f3f48d8929cb7d546af5f3
Reviewed-by: Sergey Dubitskiy <sergey.dubitskiy@nokia.com>
|
|
|
|
|
| |
Change-Id: Idb9eaa260bbac4f7a1281900e683f97d74cadcb5
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating Qt3D's packaging and deployment: remove some platform specific
packaging references. These can be hidden away in the build scripts for
those platforms and do no need to be in the generic package logic. To
support this approach begin fixing qmlres and the main.cpp's.
Fix and streamline the pkg.pri file, and add some much needed comments.
Note that this change *will* break current packaging scripts - those can
need to be fixed in seperate commits.
Change-Id: I05c2081f61b91bc91673668f6e423a206ac026d5
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia962df79bbb61374bb18afddc7a1b1a18cb99a01
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of these unit test problems were not just windows, but the issues
manifested most badly on windows.
Create a mock view object that is similar to the real QGLView, but more
specially designed for unit tests, and setup with sensible defaults. Use
this for the main failing unit tests.
This fixed some of the issues, but there is also a problem with window
geometry on windows, and it is not going to be fixed as part of this change.
See https://bugreports.qt-project.org/browse/QTBUG-24539 for more.
Also fix a few other minor breaks including tutorials not being packaged
properly, and places where literal strings were used.
Change-Id: Iddd5058bc0aa4e20c4c8adc087e890e5fb5d1346
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Phase Two:
Fix all C++based demos/examples/tutorials.
Call cleanupResources() for all textures created.
Task-number: QTBUG-24043
Change-Id: I4bef23f7fe56e092de79bb91b41d6d691329b2cf
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This doc change by 'integrating into Qt5' also made some changes to the
build system, so that now you need QT+=3d everywhere (instead of
QT+=qt3d as it was previously).
We have been asked to make this change, and it seems it is required for
this doc system to work, so lets get it done.
Note that the original change had a docsnippets target but that did not
work at all and will have be done in a later commit.
Change-Id: Icf4bc6b4be9494f1752e18ca1f5198c8fe8ecf53
Reviewed-by: Peter Yard <peter.yard@nokia.com>
Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Phase One:
1.
fixed lots of memory leaks related to Texture2D's not being deleted.
2.
Texture2D now prints warning in destructor,
if cleanupResources() was not properly called before.
Task-number: QTBUG-24043
Change-Id: Ia6a8bbe38ad66778a38705e0a4464f24373d8846
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib3681004af81271994c467e477b2ee0969cf07fe
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
| |
Icons updated to the newer style - needs on device testing.
Change-Id: I9ff198b378e1d00a7d6a4c91cc60b1d0e60e9237
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
As in the past, to avoid rewriting various autotests that contain
line-number information, an extra blank line has been inserted at the
end of the license text to ensure that this commit does not change the
total number of lines in the license header.
Change-Id: Iaddf1e489f97d2b08894827c90e9e58cd02d2ef2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
| |
Replace Nokia contact email address with Qt Project website.
Change-Id: I36e7a01dc458ad25afef2de46a5807f2983fac43
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not supported in qt5 so remove it.
In the future we will encourage putting QML applications on the side of
a cube or teapot using the FBO support. But doing this via QGraphics*
code which really belongs to both the 4.8 days and the old imperative
non-QML way of doing things - not a good idea. We can't recommend that
as a viable approach.
Change-Id: I70f69f17edd949e313758f930bb75cdaad3c46c5
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I6e681df7e4fac972a604531cecd9850cd9710935
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
| |
Update copyright headers from before 2011.
Change-Id: Id5a16806e69c595b12cc761acfa0a0eaf0b99d72
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pull out all references to QGLContext, and QGLWidget and so on; and
replace with the equivalent from the gui library. Where there is no
equivalent, eg the BindOptions enum, then reimplement.
Also get rid of the harmattan and symbian packaging goop. This had
become completely unmaintainable, and was making it very hard to see
what dependencies were being pull in by the various parts of the build
system. In order to have any confidence that conditional compilation
would not add in some problematic dependency, clean all this up.
Task-number: QTBUG-23299
Change-Id: Ied92ca1397076986e455674b064d8540bb13c0df
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
| |
Change-Id: Icd7709d4fd91fc972d503f8e3f9de0e47f56ff96
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib648c9fbd613be1548c194fe6afd3d791c1ae368
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic8820362cdbc8fa662a5e97db841656cf38d1baa
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
| |
- Fix missing library specifications
- Fix g++ string conversion warnings.
Change-Id: I48f19ac0f33bea1154c31c9aeab1bbd83f8f3d84
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
|
|
|
|
|
|
|
|
| |
In Qt4, qtquick3d had to reinvent a lot of Qt's own build system logic.
In Qt5, modularization makes this unnecessary, so remove it.
Change-Id: I683acba659c1a3842e927262cacd9377cdac7c35
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Under qt 5 what seems to have been a long standing bug was exposed
where glViewport was called with the first two arguments set to
the x, y origin of the window. These have always been 0, 0 apparently
but under xcb that is not the case and dragging the window of a running
qt3d app across the desktop was causing the gl to scroll across inside
the window. Looked pretty weird. Now set to 0, 0 as elsewhere and seems
to have fixed the problem.
Also fixed quit not working, and put a test for the new quit enabled
viewport into basket app. Will need to be added to other apps also.
Change-Id: I85651cc0df2fdbef466f843e12c046986f495b29
Reviewed-on: http://codereview.qt-project.org/6505
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the qt5 refactor branch going in the ability to get a QPaintDevice
has gone away - this was really a "relic from the desktop days".
Painting still applies for FBO's and so on, but in the case of QML we
are on an SG view and there is no paint device there.
So move the QGLView to using a QWindow and QOpenGLContext as well to
follow suit and replace all the logic in surface stuff to cope with
that.
Also update all examples, demos, tutorials and tests.
Change-Id: Ie8dbeb97c87ef0821326fb7ccf5d5d4b1f90fd06
Reviewed-on: http://codereview.qt-project.org/5900
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I8e4f56577f708eea208c51538c77fd4b2c4fefb5
Reviewed-on: http://codereview.qt-project.org/5219
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
|