ScatterSamplePrimitiveVariables

From Gaffer Wiki
Jump to navigation Jump to search

Description

An example of sampling the base surface with a `Scatter` node. In this example, the normals of the surface are sampled onto the scattered points and are used to orient the scattered GafferBots. An additional Z direction is also calculated to make the instanced bots face a focal point.

ScatterSamplePrimitiveVariables image

Featured Nodes

Scatter, Instancer

File

Download: ScatterSampleSurface.gfr