2

I've got the following photo of a rubiks cube and edited it so far that I've found out the coordinates of the outer 6 corners:

cube

My problem is: How do I find the coordinate of the last corner, which is located in the front of the image? Assume, that the image is practically y-axis symmetrical, but not x-axis symmetrical (distance between top and front corner is not the same as the distance between front and bottom)

An additional question would be, how to position the camera to take a photo of the cube as seen above, but where all 3 faces have the same area on the photo. What angle do I have to take the photo from?

Thanks for your help!

Hans Lundmark
  • 53,395
Applecow
  • 123

1 Answers1

1

If we answer the second question first, we end up with a convenient answer to the first question.

Suppose that the cube is positioned such that $3$-$D$ coordinates of its corners are $$ (0,0,0),(1,0,0),(0,1,0,),(0,0,1),(1,1,0),(1,0,1),(0,1,1),(1,1,1) $$ Then the camera should be looking down the $(1,1,1)$ vector. If $0$ degrees is straight down and $90^\circ$ is horizontal, then your camera's angle should be $$ \arccos\left(\frac{1}{\sqrt{3}} \right) \approx 54.74^\circ $$ If you have that perspective, then we have a convenient answer to the location of the front corner: it will be the centroid of the bottom, upper-left, and upper-right corners. That is, if $v_1,v_2,v_3$ are the vectors containing the coordinates of these three corners, then the position of the front corner will be $\frac{1}{3}(v_1 + v_2 + v_3)$.

Ben Grossmann
  • 225,327