Added missing export macro to ScaleTransform

Change-Id: I643974ba2b7f117e1afa0047a183c1fbbfff9d58
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Qt3D C++ API example

At the moment, this example needs to be compiles against the QML module.
In the future a Window dedicated to C++ scenes without QML dependencies
could solve that issue.

Change-Id: I22624d275ff345c581dd1070f6598aabc0a4e40e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reorganized sources to ease the move toward aspect plugins

Change-Id: Id7a9b4575912239811a4ae527db5ac1e353949fd
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Updated Assimp library to the latest version 1270

SVNRevision 1270
assimp--3.0.1270-source-only.zip

Change-Id: I332efb5fd0d086f24aca0a5fe9d396d549e531fa
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Rendering Aspect to dedicated Qt3D module library.

Aspects are now independent Qt3D modules.
This allows aspects to expose classes that can be reused by other
aspects. Unlike plugins however, aspect modules have to be registered
to the QAspectManager when the Qt3D window is created.

At the moment there is only a single aspect : RendererAspect
To load the RendererAspect QT += 3drenderer
Examples updated to work with the changes.

QML components defined in the RendererAspect are accessible by importing
Qt3D.Render 2.0.

Examples have been updated accordingly.

Change-Id: I1281b1ffc1a633292b394c7d0460f1e16b34b488
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Silence a bunch of warnings

Change-Id: I78cc1d0081a06f376a4e64bf87d109ade3892860
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Add missing imports for Qt3D.Render 2.0

Change-Id: Ia9bb85d4556096a839c6b210cc1e56abe64f49e9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Build a trivial hard-wired framegraph to get started with

Change-Id: I7dbb7b592911ad7f675ab50e4a983e1d07ff06eb
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Fixing compile errors on Mac 10.8/Qt 5.3 beta.

On Mac you need to use the module name when including files from other modules.

Change-Id: I7a70cdeaaa039bd90e3db277eace016fae1efafe
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Moved backend classes to the Render namespace

Change-Id: I4fdbfc90a7390945065ae6a22bb3f9f2447f0626
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Remove Qt3D 1.x sources

Change-Id: Ic6c05d78f617155892b546721946ee2c5c9b660a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Relocate the render aspect outside of core

Change-Id: I636442d2d71342fd248b90674176cede895feab2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Added typical ways of setting the configuration of the framegraph

Change-Id: I4fe6948634aeab6d4892f423dca2571ef0528066
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Import and use a simple ball.obj model

Change-Id: I21697eeaa94987cadc20f0c98fbde43cb8b1e75a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Transform component

Moved transforms out of Entity. That way it will be possible to properly
separate camera optics and transformations as well as having Entity
without a list of transfmortations.

Note : This commits breaks matrices computations as matrix is removed
from entity. Matrices computations will be restored when the framegraph
is implemented.

Change-Id: Ibdd0f23a49a8666385b086ecc551c8fad3b9a420
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
FrameGraph and frontend FrameGraphNode

All framegraph building blocks are now subclasses of FrameGraphNode.
An Entity can reference the framegraph configuration to use by
by declaring inline a FrameGraphBuildingBlock or referencing it.

RenderSceneBuilder retrieves the first FrameGraph in the scene and builds
a tree of Render::FrameGraphNodes from the activeFrameGraph it references.
The Render::FrameGraphNodes are empty at the moment and will be filled in follow-up commmits

Change-Id: Id5f90421be16c3c979a6da2dccf19068bf7921ec
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Add enabled property to FrameGraphItem

The enabled property will be used by the code that traverses the active
framegraph each frame to decide if the sub-tree rooted at each node
should be traversed or not.

For example, this could be used to disable the subtree of a framegraph
responsible for rendering the geometry bounding volumes.

Change-Id: Ia264f443d8c7bf2d337a9a6624c3aa3c9bd0a48b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Camera is replaced by CameraLens

Camera is now a subclass of Entity containing 2 componets :
- A Transform with a LookAtTransform
- A CameraLens

Change-Id: I43f18f8919d640ebf28d3118498b680f71ad5388
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Add QUuid to Entity

The QUuid will allow us to refer to any entity in the system and to also
use the QUuid to search for resources corresponding to a given entity
in the upcoming resource managers.

Change-Id: If154e94c6adb1441d6bbf055c64059cd86a5a4be
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Backend FrameGraphNodes built from frontend elements

Change-Id: I581694cc3a4aa6969586b1eaf6ee1e6113ee384e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>