Skip to main content
replaced http://gamedev.stackexchange.com/ with https://gamedev.stackexchange.com/
Source Link

If you're asking about converting homogeneous clip space coords to normalized device coordinates (NDC) coords, the process is: <x y z w> → <x/w y/w z/w>

This GDSE Q/A on Why is clip space always referred to as “homogeneous clip space”?Why is clip space always referred to as “homogeneous clip space”? may also be helpful to you.

If you're asking about converting homogeneous clip space coords to normalized device coordinates (NDC) coords, the process is: <x y z w> → <x/w y/w z/w>

This GDSE Q/A on Why is clip space always referred to as “homogeneous clip space”? may also be helpful to you.

If you're asking about converting homogeneous clip space coords to normalized device coordinates (NDC) coords, the process is: <x y z w> → <x/w y/w z/w>

This GDSE Q/A on Why is clip space always referred to as “homogeneous clip space”? may also be helpful to you.

Source Link
Pikalek
  • 13.4k
  • 5
  • 49
  • 54

If you're asking about converting homogeneous clip space coords to normalized device coordinates (NDC) coords, the process is: <x y z w> → <x/w y/w z/w>

This GDSE Q/A on Why is clip space always referred to as “homogeneous clip space”? may also be helpful to you.