Given cloud, width, height, resolution of octree, f distance, this works.