A Unique Performance Optimization for a 3D Geometry Language

cprimozic.net

28 points

Ameo

5 days ago


2 comments

Syntheticate 7 hours ago

This is pretty similar to the caching used by the Grasshopper3d visual programming environment, which also deals with 3d geometry: https://www.grasshopper3d.com/

It's a crucial optimization to enable the kind of live programming environment you're talking about here, especially since some nodes ("components") are much more expensive to execute than others. The DAG of the program is laid out in the workspace, and it means users can smoothly drag sliders downstream even if re-executing the whole program from scratch would be prohibitively expensive. It's a lovely way to iterate on creative visual programs.