NurbsCurve Diameter

This project contains some example materials to control the radius of a raytraced nurbs curve with a VSL material.

Most of the included materials use the following parameters:
The 'Amount of Repeats' controls how often this curve(pattern) is repeated along the nurbscurve. As you can see in the example screenshot below in this case the curve is repeated 3 times.
The 'curve' in the VSL materials controls the diameter along the nurbscurve.
Pay attention to the 'Radius in mm' value. This value has to be the same as in the property window 'Max. Displacement (mm)' of the nurbscurve using this material.
The scene also contains a custom channel called 'Radius' which is used to transfer the VSL parameter to the nurbscurve.