I’m about to set off and work through some code, but thought I’d check in here to see if anyone’s already done this…or if there’s a particularly easy way to go about it…
I am exporting an animation into individual images, and need to know where in the 2D stills a given object is (in image coordinates (x,y)). I’m doing this so that I can do some random image modifications in matlab…and use my renders for psychophysical experiments.
So, for this image:
I would like to find the coordinates of all the pieces - without coding them by hand…as it is, all 7 segments are seperate meshes.
Given the camera throw, distance, and orientation, object bounding box dimensions, etc. It should just be simple trig to figure out where an object center is located in a 2D projection of the scene.
Has anyone attempted this already?