I need to build a transformation of a 3d object in time. I have 3D shapes for every point in time, but they are not guaranteed to be geometrically well placed, so I canβt just visualize them and delete photos together in the movie. Therefore, I need to align them so that they are pleasantly and consistently oriented relative to the camera.
What I would do is take pairs of three-dimensional objects, center them relative to the geometric center, and then rotate correctly around some axis to minimize RMSD among the points. This is not difficult, but I would be interested to know if there is something ready there, so as not to invent math (and code). Of course, I also accept objections to my method.
I am working on python, but any code will do, and I will convert it.
source share