- 10 Jun, 2015 - 1 commit
-
-
Pasi Keränen authored
Changed Planets example to use the BufferedGeometry that is more optimal as it keeps all data in the GPU. This increased performance on iPad Air 5% Change-Id: I38d01065f5d34ec74df3217d4baccec474c6bb32 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 01 Jun, 2015 - 1 commit
-
-
Pasi Keränen authored
Change-Id: I9a2c5c684b6d0f31c18a4eae23f08f60cf6cca3a Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 29 May, 2015 - 2 commits
-
-
Miikka Heikkinen authored
Qt Quick compiler builds failed to load the images if everything was under the same qresource tag. Possibly some generated structure got too large. Change-Id: I17494189658fa7fee3a5ae82f56ca622d0a91098 Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: If72f2e7f7110d4ac58862cde019fa25b3cf5fdca Task-number: QTBUG-46370 Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 28 May, 2015 - 3 commits
-
-
Tomi Korpipää authored
Change-Id: I10d2202468518e85b4cea850a9a335bb70937856 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
Change-Id: If7134c579aea73e43cf6e8f98ee1c888dc1b5c8b Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
-
Pasi Keränen authored
Change-Id: If482e713c834fdbaf14c63281984309cc23ad48e Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 May, 2015 - 6 commits
-
-
Nico Vertriest authored
Task-number: QTBUG-44180 Change-Id: I3c6b10354435716e503254cbea0dd75901234242 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Image link corrected. Change-Id: I6edb60d0aae6ef92f5ac5457042c71ece5fcc3e1 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
Change-Id: I4bc2add33b39ea562d0ecbccbc4badb026037a51 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Change-Id: I6377e0f845cac98e8933e8ef503779a6bb6565a1 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
The shininess of the planets in the example were left to the default 30.0 which is quite shiny. To achieve more realistic look'n'feel the planets with specular texture (earth) are tweaked to be a bit more shiny and the planets without a specual texture (the rest) are tweaked to be not shiny at all. Change-Id: I01acf6789cc632c8fba9be80a0792ae9170d05fd Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Now examples compile with Qt Quick compiler. Change-Id: I389c163fb25cdb0afc3f62fc39a670e206f78b63 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 26 May, 2015 - 3 commits
-
-
Titta Heikkala authored
Change-Id: I80d0e39b319a2727e4132e50d5b6a5dca2d1362c Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
ImageCube can now be used with swipe gestures to control the visible information in the example. Change-Id: I9cdc2d2049346e994cb68d7ca667492c992830cd Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
Pasi Keränen authored
Three.js examples were placed in the root of Qt examples folder, this moves them to be under canvas3d as they should be. Change-Id: I506685d8a147975bc137fbac3b22d8ce28639631 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 22 May, 2015 - 2 commits
-
-
Titta Heikkala authored
Change-Id: Ia7900610debde06d9ddf37319f58dd48cb6fc4a1 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Added example that shows how three.js can be used with QtCanvas3D. Documentation will be added in separate commit. Change-Id: I9557fefebd4c1a749af95bef3952560b03b3320f Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Sami Makkonen <sami.makkonen@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 May, 2015 - 1 commit
-
-
Miikka Heikkinen authored
Fix depth enum usage in examples. Remove the TODO comment about depth enums being commented out. They are commented out because stencil defines the same enums. Change-Id: I516b60f36a54775e5af504e70e9e9dab9fe5ab54 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 19 May, 2015 - 1 commit
-
-
Miikka Heikkinen authored
There should be no API impact for changing the names of uncreatable types. ContextAttributes3D is creatable, but most likely nobody actually creates it, so it was deemed safe to change. Some of the old type names differed from the documentation, which is now also fixed as a side effect. Change-Id: I3ec36d69e324fee22afa09a8db218f8e5beb93dc Task-number: QTBUG-46105 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 18 May, 2015 - 1 commit
-
-
Miikka Heikkinen authored
Prettied up example UIs a little bit and took new screenshots for docs. In case of jsonmodel example, this also fixes the "shaking" problem that happened with some graphics cards. Task-number: QTBUG-46101 Change-Id: I5bcc446568b9315ce516441625e482df3cf1f980 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 07 May, 2015 - 1 commit
-
-
Pasi Keränen authored
OneQt example had an extra picture file that is not used by the example. Change-Id: Ib12a914b19bc9242c80d2706b62d4d165c2c8dcc Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 05 May, 2015 - 1 commit
-
-
Pasi Keränen authored
Moves the Canvas3D examples from main examples"folder in the Qt builds to Canvas3D subfolder. Change-Id: Ib033db671a6ac790a1d7f659bdb13755fe7806ea Task-number: QTBUG-45948 Reviewed-by:
Topi Reiniö <topi.reinio@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 28 Apr, 2015 - 1 commit
-
-
Pasi Keränen authored
Updated three.js library to have the latest build. Change-Id: I3a5042e511c246b2c40463aa17798a1c249935ce Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Apr, 2015 - 2 commits
-
-
Pasi Keränen authored
Fixes the look'n'feel of the examples to be in line with the new Qt logo and website. Instead of changing the simple texture and light example it was decided to add a new example that shows how to combine QtQuick 2D UI with three.js based 3D rendering. Change-Id: Ie3a21b03f8aa850ceae93252a764bd0d3264e229 Task-number: QTBUG-45696 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
The models were too optimized. Since each face converging at one vertex could have different texture coordinates, we need to make vertices of each face unique, so that we can have unique texture coordinates for each of them. Naturally this increases the rendered vertex count significantly, but at least the textures are now mapped correctly. Change-Id: I72b4705de5dd11263898eaf6c88f66a7dc232e1d Task-number: QTBUG-42641 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 23 Apr, 2015 - 1 commit
-
-
Titta Heikkala authored
Added 3rd party three.js and QML ControlEventSource. Change-Id: I4d14df0a1cf9d36f2e206cf4eef1b9d3598bb61b Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Apr, 2015 - 1 commit
-
-
Pasi Keränen authored
Names of the initGL and renderGL signals have been changed to initializeGL and paintGL in order to unify the naming of the API methods with QOpenGLWidget component. Change-Id: I074a7609347a3297dabcc4295fb92b9193cf00ed Task-number: QTBUG-45665 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 17 Apr, 2015 - 2 commits
-
-
Pasi Keränen authored
Single signal to JavaScript side added (resizeGL) for uniform handling of resize events. Added guards against multiple needRender calls getting queued for single repaint cycle. Postponed deletion of old FBO objects until updatePaintNode() has been done. Change-Id: I4da50b8bd0bb4b888c9e8233a45d58ec8aa9dcb6 Task-number: QTBUG-45657 Task-number: QTBUG-45658 Task-number: QTBUG-45648 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
Pasi Keränen authored
Moved the 3rdparty folder containing the files needed by examples to the examples directory so that the files are bundled with the Qt 5.5 release. Change-Id: I544075c345efd329e853ae52dad31accfdfb388a Task-number: QTBUG-45472 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 01 Apr, 2015 - 1 commit
-
-
Topi Reinio authored
- Use 'Qt Canvas 3D' as the module name throughout the documentation. - Replace unnecessary use of \group with \page commands - Fix example group page not being generated correctly - Add QML types to the correct module, remove their use of \ingroup - Replace 'indexes' variable with 'depends' as this is no longer a module external to Qt. - Fix broken 'exampledirs' - Add correct dependencies and ensure linking to other Qt module docs works. - Style and language fixes - Limit line width to 80 characters in .qdoc files Change-Id: Ib4f4ca59e250db3a5d60c4988701a8fb209438c1 Task-number: QTBUG-45247 Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-
- 09 Mar, 2015 - 1 commit
-
-
Pasi Keranen authored
Fixes QTBUG-42640 Change-Id: I51e9d1d866905b858483bbf539dc2d60d84c5b44 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 08 Mar, 2015 - 2 commits
-
-
Laszlo Agocs authored
There is no such thing as DEPTH_WRITE. The correct enum value is DEPTH_WRITEMASK. In addition, there is no point in these calls. Depth write is enabled by default according to the spec. Change-Id: Icc0400f4e25e4c011c1ec2a33f1986161bbe71b8 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
Calling glGenerateMipmap before specifying the texture (glTexImage2D) is wrong and will fail. Change-Id: Ie9adc3f9b04807caae06b88d2d1b9b8bdb955ef4 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 03 Mar, 2015 - 1 commit
-
-
Sergio Ahumada authored
The replace from LGPL to LGPL21 was wrong, it was supposed to be LGPL3 This change amens e104354a Change-Id: If542af9214d9cd109ae6af71bfaaab84d20f4172 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 28 Feb, 2015 - 1 commit
-
-
Laszlo Agocs authored
We have an alias for gl-matrix.js in the qrc so we have to match that. Right now gl-matrix.js is not loaded and thus mat4 is not usable. We have to have the absolute path since otherwise we are relative to the main qml file which is in a qml subdir in case of this example. Change-Id: Ie16f9e44a0a9d0498dd34270e2eb8df9efe4a92d Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Feb, 2015 - 2 commits
-
-
Pasi Keranen authored
Added storing and restoring of currently bound texture, clear color and framebuffer when recreating the FBOs. When FBOs are created they are now created with new id's to avoid changing FBOs and textures that are being used in the CanvasRenderNode. Change-Id: Ib1901a0031f4d7ee16b08bcd6fc4fac91a25fabe Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
With ANGLE the example in question does not show anything when drawing with GL_POINTS. The value of gl_PointSize is undefined when not written to. To be safe we set it to 1 properly in the vertex shader. Change-Id: Ifb170568eccf1979f568e0e192ae3c2ce3282e80 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 25 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Separating the pixel size from the layout size like in HTML makes Canvas3D behave more like the WebGL canvas and reduces delta when porting code. Change-Id: Icb9e083839a42d0cd5c3823fa37c2e2f2a913e74 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 17 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I4743feb16d8376f1cd50980496a01a9452b789a9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-