Commit Graph

2 Commits

Author SHA1 Message Date
Mike Krus 5bf4f93fcb Make default geometries views
In Extras, make QTorusMesh and others a QGeometryView rather than
a QGeometryRenderer. Requires changes to scene graphs here and there
but going forward there simple shapes could be used as proxies for
picking or collision detection, etc.

Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-02-27 12:10:08 +00:00
Antti Määttä e758349588 Add render capture example
Add example for the render capture. The example is based on simple-cpp.
The user can press the capture button and see the captured thumbnail on
the side.

Change-Id: I94b18722cb0b563469579b4fad87764f37ad075e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2016-10-20 05:54:08 +00:00