I am having an issue constructing my transformation matrices, for this sphere problem.
I know the 3d coordinate of the center, and the radius of, the sphere.
Since I know the radius and center of the sphere, it's easy to compute all positions on the sphere, but I'm not sure how I should compute the rotation matrix?
Each point has to be rotated such that it points toward the object, and the only thing that tells me the orientation of the vector is the difference between the 3d point on sphere and the 3d point of the object.. But one vector doesn't seem enough to construct a whole rotation matrix?...
Could I extract a rotation matrix, that "tells" the point how it should be rotated to look at the object?