blob: 32a18a5fe9bf2e68219f6f35ff6d7e497e743ab3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|