diff options
Diffstat (limited to 'examples/quick3d/customgeometry/doc/customgeometry.rst')
-rw-r--r-- | examples/quick3d/customgeometry/doc/customgeometry.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/quick3d/customgeometry/doc/customgeometry.rst b/examples/quick3d/customgeometry/doc/customgeometry.rst new file mode 100644 index 000000000..32a18a5fe --- /dev/null +++ b/examples/quick3d/customgeometry/doc/customgeometry.rst @@ -0,0 +1,17 @@ +Custom Geometry Example +======================= + +This example makes use of QQuick3DGeometry and the geometry property +of Model to render a mesh with vertex, normal, and +texture coordinates specified from Python instead of a pre-baked asset. + +In addition, the GridGeometry is also demonstrated. GridGeometry is a +built-in QQuick3DGeometry implementation that provides a mesh with line +primitives suitable for displaying a grid. + +The focus on this example will be on the code that provides the custom +geometry. + +.. image:: customgeometry-example.jpg + :width: 400 + :alt: QtQuick3D Custom Geometry Screenshot |