summaryrefslogtreecommitdiffstats
path: root/examples/materials-cpp/materials-cpp.pro
Commit message (Collapse)AuthorAgeFilesLines
* Move CameraController in the input aspectKevin Ottens2015-01-231-1/+1
| | | | | | | | | | | | | | | With this move it also becomes a private class. As a result I had to touch all the examples as you won't get camera navigation anymore if the input aspect is not registered. Quick3DConfiguration doesn't depend on the QuickWindow singleton hack anymore, it tries to get back to the aspects and set the camera on the ones having a corresponding property. It also mostly empties Window and QuickWindow. Change-Id: Ife1644bd338e51929bad1e99089bd5e4c68ebc68 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* materials-cpp: use the default QForwardRendererPaul Lemire2015-01-181-2/+0
| | | | | Change-Id: Ic0aad40da195a89198a1e43fd80a23ff785491db Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Default cpp materials + material-cpp examplePaul Lemire2014-12-311-0/+24
QDiffuseMapMaterial QDiffuseSpecularMapMaterial QNormalDiffuseMapMaterial QNormalDiffuseAlphaMapMaterial QNormalDiffuseSpecularMapMaterial material-cpp is mostly inspired from materials (QML) but nicer :). Note: there seems to be an issue with qrc and QUrl. The behavior is different between QML and C++. -In C++ we need to prefix with have qrc:/ and convert that to :/ (passing :/ directly returns "" when QUrl toString is called) -From QML no prefix is needed. -For QImage path, :/ should be used. Change-Id: Ib56fb9546c95c2872686a46ed048a290ab4a5b6f Task-number: QTBUG-41548 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>