"I engineered FoldFlow from scratch in pure C++ because I was tired of laggy viewports and heavy cloth simulation overhead. Direct mesh access and custom math solvers were the only way to make it run at 60/120 FPS in 3ds Max. Every line of code is written with performance and memory optimization in mind."

— Ilia Artemow, Creator of FoldFlow
UNDER THE HOOD

Engineered in Pure C++ for Speed

How a custom-written modifier achieves raw viewport performance and real-time mesh deformation.

C++

Direct MNMesh Access

Bypasses high-level wrapper overhead. The plugin utilizes raw pointer arithmetic to communicate directly with 3ds Max's internal MNMesh structure, enabling microsecond memory operations.

Custom Dijkstra Solver

Calculates topological geodetic distances along vertex rings in real-time. Instead of geometric raycasts, it traverses the mesh's graph, mapping natural wrinkle flow matching actual physical tension.

0.2ms

Multi-threaded Core

Deformation vectors are parallelized via OpenMP and vectorized with SIMD (SSE/AVX) instructions. Calculations take less than 1ms, eliminating viewport lag even on high-poly models.