pygfx.cameras.NDCCamera

class pygfx.cameras.NDCCamera

Bases: Camera

A Camera operating in NDC coordinates.

Its projection matrix is the identity transform (but its position and rotation can still be set).

In the NDC coordinate system of WGPU (and pygfx), x and y are in the range -1..1, z is in the range 0..1, and (-1, -1, 0) represents the bottom left corner.