-
Bug
-
Resolution: Fixed
-
Minecraft 1.4.3, Minecraft 1.5.1, Snapshot 13w18b, Snapshot 13w18c, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.6, Minecraft 15w36d
-
None
-
Confirmed
The first-person camera is positioned behind the center of the player's head, instead of forward (where eyes would be.)
This is very subtle, and it's probably been in Minecraft from the beginning, but it causes some problems with parallax when you tilt your head back or to the side to get a better view around a block.
How to replicate:
Put down 1 stone block, then another on top.
Now put a Brewing Stand on top of that.
Place a half-slab on the ground next to the pillar.
Stand on the half slab, and look straight at the side of the pillar.
(1) Tilt your head back some, so that the player's eyes (at the front of the face) go above the level of the Brewing Stand base, but not so high that you couldn't see the base.
(2) Tilt your head downward some, so your eyes are below the base level, but not so low that you can't see the base.
What I expected:
For (1), in "real life" I'd be able to peer over the top of the Brewing Stand base and see the 3 brewing spots.
For (2), I wouldn't be able to see over the base at all.
What I got:
Switched results. I saw over the Brewing Stand base when looking downward, but not when looking up.
Quick fix:
In (MCP)EntityRenderer.orientCamera(), the part where it positions the first-person camera, change this:
GL11.glTranslatef(0.0F, 0.0F, -0.1F);
to this:
GL11.glTranslatef(0.0F, 0.0F, 0.1F);
The fix doesn't seem to cause problems like seeing through blocks when view bobbing.
(If you're wondering why I'm making an issue of this, it's because my resizing mod makes the POV placement more obvious. The POV felt "wrong" until I shifted the camera forward instead of back.)
- relates to
-
MC-60772 Draw order of translucent blocks based on head position (not POV)
- Resolved