From 5bf4f93fcb8ff16aeadf55644be351c9989ab5b2 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Tue, 11 Feb 2020 14:14:30 +0000 Subject: 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 --- examples/qt3d/scene2d/doc/src/scene2d.qdoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/qt3d/scene2d/doc') diff --git a/examples/qt3d/scene2d/doc/src/scene2d.qdoc b/examples/qt3d/scene2d/doc/src/scene2d.qdoc index fd8a5b825..aad80053e 100644 --- a/examples/qt3d/scene2d/doc/src/scene2d.qdoc +++ b/examples/qt3d/scene2d/doc/src/scene2d.qdoc @@ -74,11 +74,11 @@ \section1 Rendering Qt Quick into a Texture We begin by declaring the Entity that will become our control panel. It consists of - a CuboidMesh onto which we will place the texture containing a rendering of the Qt Quick - scene. In this case we are using a simple cube for the geometry, but we could use - any valid 3D geometry as long as it has texture coordinates. The texture coordinates - are used for projecting the texture onto the 3D surface, and also for calculating the - coordinates of mouse events to be passed to the originating Qt Quick scene. + a GeometryRenderer with a CuboidMesh view onto which we will place the texture containing + a rendering of the Qt Quick scene. In this case we are using a simple cube for the + geometry, but we could use any valid 3D geometry as long as it has texture coordinates. + The texture coordinates are used for projecting the texture onto the 3D surface, and also + for calculating the coordinates of mouse events to be passed to the originating Qt Quick scene. \skipto Entity { \printto Behavior -- cgit v1.2.3