Skip to content
TheChatArchiveThe Chat Archive
o1-preview-2024-09-12· OpenAIAi2 WildChat-4.8M (AI2)

Assume that two people are looking at the same area in Minecraft at 70 FOV. They're…

  1. User

    Assume that two people are looking at the same area in Minecraft at 70 FOV. They're looking about 0.5° up from the ground at approximately the same angle, facing the same wall. (The 0.5° value comes from the F3 menu, where the pitch of the character is reported as 89.5, meaning that they are facing 0.5° up from the ground). One of the people is flying with an elytra with the highest portion of their player's hitbox at exactly Y=221. The second player has one extra visible vertical block in their field of view, which implies that they are higher up. Assuming that this player is not higher up, what is their approximate horizontal position difference in comparison to the wall that would allow for the extra block to be within their field of view without being above Y=221? In other words: how much closer would they have to be to the wall to see one extra block?

  2. Assistant

    To solve this problem, we need to determine how much further away from the wall the second player must be to see one extra vertical block in their field of view, given they are at the same height and have the same field of view settings.

    1. Calculate the vertical field of view (FOV_v):

      The vertical field of view depends on the horizontal FOV and the aspect ratio of the display. Minecraft's FOV setting refers to the horizontal FOV.

      • Horizontal FOV (FOV_h) = 70°
      • Aspect ratio (AR) = 16:9 ≈ 1.7778

      The vertical FOV can be calculated using the formula: [ \tan\left(\frac{FOV_v}{2}\right) = \frac{\tan\left(\frac{FOV_h}{2}\right)}{\text{AR}} ]

      Compute: [ \tan\left(35^\circ\right) \approx 0.7002 ] [ \tan\left(\frac{FOV_v}{2}\right) = \frac{0.7002}{1.7778} \approx 0.3935 ] [ \frac{FOV_v}{2} = \arctan(0.3935) \approx 21.5^\circ ] [ FOV_v \approx 43^\circ ]

    2. Determine the vertical extent visible at a given distance:

      For a player looking slightly upwards (pitch angle θ_p = 0.5°), the vertical field of view ranges from: [ \theta_{\text{lower}} = \theta_p - \frac{FOV_v}{2} = 0.5^\circ - 21.5^\circ = -21^\circ ] [ \theta_{\text{upper}} = \theta_p + \frac{FOV_v}{2} = 0.5^\circ + 21.5^\circ = 22^\circ ]

      The vertical extent visible on the wall at a distance ( x ) is: [ \Delta y = x \left( \tan\left(22^\circ\right) - \tan\left(-21^\circ\right) \right) ] [ \Delta y = x \left(0.4040 - (-0.3839)\right) = 0.7879x ]

    3. Calculate the difference in vertical extent required to see one extra block:

      The number of blocks visible vertically is: [ N = \frac{\Delta y}{\text{block height}} = \frac{0.7879x}{1} = 0.7879x ]

      The difference in the number of visible blocks between the two players is: [ \Delta N = N_2 - N_1 = 0.7879x_2 - 0.7879x_1 = 0.7879(x_2 - x_1) ]

      Setting (\Delta N = 1) (since the second player sees one extra block): [ 0.7879(x_2 - x_1) = 1 ] [ x_2 - x_1 = \frac{1}{0.7879} \approx 1.268\ \text{blocks} ]

    Answer: Approximately 1.27 blocks farther from the wall—the second player is about 1.27 blocks farther away.