Imagine a camera that shows a randomly rotated cube at an arbitrary position: The cube's pivot is in the center of the cube. This way its six faces could be referred as positive/negative X, Y or Z.
How can you tell which of the faces is most visible to the camera? What's the math to calculate this? Your help is very much appreciated.
Thank you!