ScatterSamplePrimitiveVariables: Difference between revisions

From Gaffer Wiki
Jump to navigation Jump to search
(Demonstrates sampling primitive variables in a Scatter node.)
 
m (Added Featured Nodes)
 
Line 4: Line 4:
|screenshots=ScatterSampleSurface.jpg
|screenshots=ScatterSampleSurface.jpg
|categories=Scatter
|categories=Scatter
}}
|nodes=Scatter, Instancer}}

Latest revision as of 08:28, 19 June 2024

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