ILNumerics - Technical Computing Tools

High Performance Framework for Visualization

and Computing in Industry and Science

 

A cube made of simple triangles


The Triangles class is used to construct a cube from triangles. Corner positions are defined only once and connected by indices efficiently. The cube is lit and the normals are shared between adjacent edges (hence the light looks a little funky here). A LineStrip object is used to emphasize the edges of the cube.

See also: Visualization documentation online.

Last modified: May 14 2019 17:05

Download ZIP

TOP

All Examples