| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Update old header.LGPL3 to header.LGPL
Change-Id: I8eac0cd6bbc276a56df487249cc459c0d4fab165
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added triangle visitor by refactor the triangle volume extractor
Added ability to do a ray intersection with a single volume without using a thread
Added entity collector
Use one thread for each entity
Ignore entities that don’t have a pick object
Removed list of triangle volumes stored on each entity
Use triangle visitor to test each triangle by creating a single volume on the stack
Added triangle and 3 vertex index to the pick event
Change-Id: Id3fd53549bf3ea07805426ef868df174f30e176b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Intersection (world and local) and distance added to pick event
Modified test so that it includes the event
Change-Id: I8631d626e5108d2e044374ee3425625f5588c38c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out that on initialize is called in the AspectThread.
Since event filters objects need to be created in the same thread
as the event source (the main thread), code has to be corrected.
Now the eventSourceHelper is created directly by the InputHandler when it is
created (as it's created in the main thread). Then onInitialize only takes
care of setting the eventFilterService which isn't available before.
Change-Id: I2cb18372337793230625f699a2ed51c7331af971
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Getting rid of set data and the refactoring on setting the surface implies
that:
- Given the FrameGraph configuration, there may be several RenderViews
each having a different RenderSurfaceSelector/Window
- This means that the Renderer/QRenderAspect can't know about the surface
before reading the scene
- This means that the Renderer may be dealing with more than 1 window
- This means that initialization, render and shutdown procedures will have to
be updated accordingly
Therefore the Renderer was refactored to:
- Be initialized without knowing about a surface
- For each RenderView, check the surface and if different from the previous
one:
* Make the context current with it
* Create the appropriate glHelpers (as Surfaces may have != formats)
TO DO:
- Fix picking
- Fix windows exposition
- Fix shutdown / detection of all windows beging closed
Change-Id: I49d070b05f46be4b26cfb57e494feba145d1da9c
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Iec1d3bab2e3a5a25d1cbb5129addebd83b225580
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
| |
handle device pixel ratio and none full-window Scene3D
Change-Id: Iadc504a00816d9363847bf9ec1e09d4b7c631666
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I7399008adb0f612c78738f58f168fa38cf6ae845
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ic97a780c56e748648108413c91fe4ad4142de8bc
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I2edf49248cff1bc8087f6ea5398e11f5fd7965c4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A cone that takes:
- topRadius
- bottomRadius
- hasTopEndcap
- hasBottomEndcap
as well as the usual Cylinder arguments of:
- length
- rings
- slices
Task-number: QTBUG-41548
Change-Id: Id6b7352491be16146722c480a82b926ecb9c9c24
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Idab8e24f80ae2be457bbc790f6784db8e02d5a2f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I4445f150016db8a79997ecc5324e42b024b489b8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I91b76f1206fa0b6c398f0913586757c6419936b4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I6fae57e8d76f464be3bfcd0cc4e63b7ca5fe3e48
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Takes care of setting the settings on the InputHandler at most once.
Change-Id: Ie674f778aec9ccd81d1a41ebbfec3cf61fb21bc4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I33be7349d5c61554402d9373ff04547b186d2d8e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I4f8ba75e95ab479c816a9f6eca341edd45c01e3c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Will be used to specify the event source for mouse/keyboard to be used by the
QInputAspect as a replacement for setData
Change-Id: Icd3ab33f5e2d7a198c4747683da5bc902de62221
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Iac5e6bfd2ad67b3c1c9a794ea528204eff238d20
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Otherwise the backend node for the logical device may not be created
Change-Id: I90e8185b4e1f1cf4333d7f8b06e654e1e2b6de57
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ibb3378e2e1d495986f68902e368847e89d8fbdd6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Iebf8f8d681461a050a240777c7d6b602ba85ef06
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I31eab49aff2af5b9d2341709c506f9d5525994ac
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Id6f86dddb1afa3884bdf20f30cd9b13eaa05baec
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
| |
No functional changes.
Change-Id: I5895e3bcaf65fb7524e6adb10bca1f8c6fdb6c44
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I3d034728781aa5b99868c92ea73ebf427ee88c5a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Allows to restore most of the QML examples using this approach until a
more permanent solution can be developed (I have an idea on how to do
this and will try it today).
Change-Id: I9b9bb86a5323140be3ed2456cdfa91b1f93187b1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
In preparation for setting the window automatically from the
convenience helper class for window + QML + Qt3D.
Change-Id: I78fb3a874e900afe1097920f7ccda9f6aa26734f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Behind the scenes this just updates the QSurfaceProperty which is all
we care about on the backend. This is for QML since QSurface is not a
QObject subclass (even though all sub classes of QSurface are via MI,
grrrrr).
Change-Id: I248eb59a92ed3bc99361ff23a0cd20d3c191769b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Idac0899f153254c26ed5a07761179c01504fd49f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I58180aea694de7a0c17e8ca9ba9f83755e3db419
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
Adding the surface pointer to the RenderView pushed us over the old
limit.
Change-Id: Ibc28ffc2d56e6f768294dad971c00822e6aaffb6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I9c436d3f5b9181075bfc0121174d530406f45c69
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I4dbdfe9315dc3b0bb89119372301d24a292520d9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ie1d4c0e6beb409047d634e6def15d80203dcf8a1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I783e9873d6be6475f7df52933fea3ff72da35aaf
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I7f4a0c7a51721e8425f9e32aa1a0609fc3e5ee14
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I7e87cb106681c384a1b431a362fa904afafb877a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Now sure if we should fold QFrameGraph into this too so as to have one
place to configure the renderer. Of course we can easily aggregate both
a QRendererSettings and FrameGraph components into an entity.
Change-Id: Id17c185de908eedbcc53afe726a14f0c6f91ffca
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ia628cf7cff8698ae1bd390ed248b99780e1fbd37
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Id52b55412be4e5e27476e05d1d66d226fcf5601e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ibd50fe11628d766588097a684be9e46254a5371b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I65fbfed5bcf244668021878c0cfddb75d530e56e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I1ec0536ba81c738fc330f7f4c615a4e216645ea0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I31ac1aba277a472577e1ba03c766dc4f1bf01f30
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I6400350e8cbb52095859508a900225ee2fd7108f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I42a2ef40d274dab27971a17611dd5dd058e67653
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I5cb3fb08fd9208e7e452e04cb4976033d091202d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I3da1cb2912efb6be8dc8dbacf3bae915199860ea
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|