Industrial Data Science
in C# and .NET:
Simple. Fast. Reliable.

ILNumerics - Technical Computing

Modern High Performance Tools for Technical

Computing and Visualization in Industry and Science

Updates for Dynamic Scene, Shared Buffers

A ILNumerics.Drawing.Gear is used to demonstrate the effect on dynamic updates to shared buffers in a 3D scene.

The application creates a gear shape (preconfigured Triangles) and a line strip which is used to mark some vertices of the gear. Lines and triangles share their Positions buffer. A UI slider is utilized in order to dynamically modify vertices of the triangles. Since both shapes share their buffers, updating the positions buffer of the triangles does at the same time also updates the Lines shape.

Last modified: August 26 2021 10:32

Download ZIP


All Examples