pinhole model 3d viewing the pinhole model implementing a