This process you describe is known as 'backface culling'. The rendering engine tests the polygon's vertices and determines if they are clockwise or anti-clockwise. The engine can say that polygons that are set as 'clockwise' are facing the camera and so render them. Any polygon which is determined to be 'anti-clockwise' will not be rendered.