Coordinate Transformations

Atualizado em 2023/10/21
Tempos estimado de leitura: < 5 min

Clip coordinates for a vertex result from shader execution, which yields a vertex coordinate
Position.

Perspective division on clip coordinates yields normalized device coordinates, followed by a viewport transformation (see Controlling the Viewport) to convert these coordinates into framebuffer coordinates.

If a vertex in clip coordinates has a position given by

( xc, yc, zc, wc )

then the vertex’s normalized device coordinates are

(xd, yd, zd) = ((xc/wc), (yc/wc), (zc/wc))

Referências:
Esta publicação foi útil?
Desaprovar 0
Leituras: 2

Responses

Translate »