title: Why do I divide Z by W in a perspective projection in OpenGL?
body: <p>I guess this is more a math question than it is an OpenGL one, but I digress. Anyways, if the whole purpose of the perspective divide is to get usable x and y coordinates, why bother dividing z by w? Also how do I get w in the first place?</p>