CCellularGenerator is a generator module that generates cellular noise based on the cellular generator by Steven Worley. CCellularGenerator does not inherit from CImplicitModuleBase, and so it can't be used in module chains directly; instead, it is intended to be used in conjunction with a CImplicitCellular module or a CImplicitVoronoi module, which acts as an interface to the function.
The only avenue for customization (outside of random seed) for a cellular generator is a specifiable distance function. Cellular noise is calculated by computing the distance from the input point to the 4 nearest seed points. The specified distance function is used to actually calculate the distance, and can be one of:
The generator provides to a caller the 4 distance values as well as an ID value for each seed point. It is the responsibility of the adapter (CImplicitCellular or CImplicitVoronoi) to turn these values into something useful.
Wiki: CImplicitCellular
Wiki: CImplicitVoronoi
Wiki: GeneratorModule
Wiki: ModuleBasics