There is a good tutorial by Josh Mason on how to create a Weaving effect: it uses a canopy component and programatically creates the weaving. We wanted the same effect but with less code. That’s why we created the geometry of the weave within a single component and then populated a surface. This is a quick video guide(video only):
The geometry is created using a sine function in the MCWeaveComponent.
The weave’s start and end points are lying on the input polygon of each component, so when populated on the surface each component is connected to it’s neighbors.
The problems with this scenario is that the surface of the weaving is broken near the connections between different components.
The zip file contains:
- MCWeaveComponent.gct – the component that is populated. You should load it first.
- MCWeavingSurface.gct – populated surface. One could modify the control points to change the whole system
- MCWeavingTorus.gct – populated torus surface. Weaving of a torus.