Procedural Geometry with Parametric Modeling

Aug 1, 2020·
Ben Ahlbrand
Ben Ahlbrand
· 1 min read
Image credit: Unsplash

I implemented several parametric modeling techniques with my homebrew geometry / math libraries in C++ and rendered in UE4.

Solid of Revolution

Essentially you take a curve (perhaps a b-spline, pick your favorite) and revolve about an axis of rotation, creating vertices and triangles as you step.

A more formal treatment is available at https://en.wikipedia.org/wiki/Solid_of_revolution

#

solid of revolution
solid of revolution

Here’s another curve

#

solid of revolution
solid of revolution

Extrusion

Here’s a curve knot that I extruded along the path “profile” of a knot.

#

extrusion
extrusion