It is now possible to set the rendering resolution as pixels per display pixels, which is the recommended way to handle this. Also added functionality to correctly set the far and near clipping plane and a sky model.