Samples the points of a field (surface or volume).
samples = Sample(manifold, density);
|manifold||field||none||the surface or volume to be sampled|
|density||integer||100||approximate number of samples|
|samples||field||a set of samples of the field|
This module samples a specified field at a set of more or less uniformly spaced points.
is the field to be sampled.
is the approximate number of output samples.
Note: Any components in the original field (manifold) that are position or connection dependent are mapped onto the output samples. In either case, the component in the output field will be position dependent ("dep" "positions"). (Because the output of Sample is a set of unconnected positions, you cannot use mapped samples as input to modules that need to interpolate values, such as DivCurl or MapToPlane).
Creates a new "positions" component. All other components, except for "connections," are propagated to the output.
Example Visual Programs
MappedIso.net RubberTube.net Streamline.net UsingCompute2.net UsingGlyphs.net
AutoGlyph, Glyph, Map, Streakline, Streamline