I want to mimic the behaviour of passing a NSBezierPath
to SCNShape
. But instead of using a 2D NSBezierPath, I want to use an array of SCNVector3
, i.e., points in 3D instead of 2D.
In the end, I want to have something like the filled parabola from this answer but with 3D instead of 2D coordinates describing the path.
What would be the best way to accomplish this? Is it possible using only SceneKit without touching "real" OpenGL code.