If i have an object (or a point) moving in 3D space how would i go about

calculating a transformation for the viewpoint (rotation about all axes?)

that would keep the it centered on the object so that the object never

became 'lost'? - i hope that makes sense!!

Thanks,