Geometry creation using tessellation shaders.

VSG extension This example shows how to generate geometry using tessellation shaders.

This simple example shows how to use tessellation shaders.

The basic shape is an icosahedron and sliders allow to modify tessellation parameters. When inner parameter change the number of generated point inside each triangles while outer parameter change the number of generated point on each edges. This example subdivides the icosahedron in such a way that it approaches a perfect sphere.

FILES:

SEE ALSO

SoShaderObject, SoShaderProgram, SoShaderParameter, SoTessellationControlShader, SoTessellationEvaluationShader

SCREENSHOT:


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/