User Tools

Site Tools


This is an old revision of the document!


Calculate Normal

Brickyard : Functions > Geometric

Return a vector indicating the direction of the surface normal, given the current point on the surface being evaulated. This function is normally used after a point on the surface has been displaced to get the new normal of that point. For example:

P += displacement * N;
N = calculatenormal( P );

Snapshot

Parameters

Outputs

  • Surface Normal : Vector - Description…

Inputs

Examples

  • In this example, …
    Example 1
1)
Available when Show Advanced is checked in the Brick Option Menu.