Documentation > Mesh Ops Plugin BPLibrary > Relax Quad Tri Orientation

Relax Quad Tri Orientation

Flips all triangle orientations depending on how each quad is stretched, useful to reduce obvious diagonal lines on a heightmapped mesh. Only works correctly with quad-type meshes where every 2 tris are a quad, like grid planes. e.g. Tris = {quad0_tri0_0,quad0_tri0_1,quad0_tri0_2,quad0_tri1_0,quad0_tri1_1,quad0_tri1_2, quad1_tri0_0,quad1_tri0_1,quad1_tri0_2,quad1_tri1_0,quad1_tri1_1,quad1_tri1_2}

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Outputs

Out
Exec