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.



SoShaderObject, SoShaderProgram, SoShaderParameter, SoTessellationControlShader, SoTessellationEvaluationShader


Open Inventor by FEI reference manual, generated on 2 Sep 2019
Copyright © FEI S.A.S. All rights reserved.