.. _geometry-texture-example:

##############################################
Geometry: Create a Geometry Model with Texture
##############################################

The :class:`geometry model <cee::geo::GeometryModel>` offers optimized part drawing with different parts and effects.

This example creates a simple triangle part and use texture effect to show scalar values.

.. image:: ../images/tut_geometrytexture.png
    :height: 300 
    :align: center


.. literalinclude:: ../../../../EnvisionDesktop/Tutorials/GeometryModelWithTexture.cpp
    :language: cpp
    :lines: 42-126