{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/1361","repository_url":"https://api.github.com/repos/minetest/minetest_game","labels_url":"https://api.github.com/repos/minetest/minetest_game/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest_game/issues/1361/comments","events_url":"https://api.github.com/repos/minetest/minetest_game/issues/1361/events","html_url":"https://github.com/minetest/minetest_game/issues/1361","id":186553418,"number":1361,"title":"Incorrect flipping of door/trapdoor textures compared with open/closed state","user":{"login":"Wuzzy2","id":1675853,"avatar_url":"https://avatars.githubusercontent.com/u/1675853?v=3","gravatar_id":"","url":"https://api.github.com/users/Wuzzy2","html_url":"https://github.com/Wuzzy2","followers_url":"https://api.github.com/users/Wuzzy2/followers","following_url":"https://api.github.com/users/Wuzzy2/following{/other_user}","gists_url":"https://api.github.com/users/Wuzzy2/gists{/gist_id}","starred_url":"https://api.github.com/users/Wuzzy2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wuzzy2/subscriptions","organizations_url":"https://api.github.com/users/Wuzzy2/orgs","repos_url":"https://api.github.com/users/Wuzzy2/repos","events_url":"https://api.github.com/users/Wuzzy2/events{/privacy}","received_events_url":"https://api.github.com/users/Wuzzy2/received_events","type":"User","site_admin":false},"labels":[{"id":2033239,"url":"https://api.github.com/repos/minetest/minetest_game/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":32688599,"url":"https://api.github.com/repos/minetest/minetest_game/labels/Textures","name":"Textures","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-01T14:51:12Z","updated_at":"2016-11-02T19:04:04Z","closed_at":null,"body":"I noticed that something odd is going on with door/trapdoor textures. Whenever you open or close them, the textures may get flipped incorrectly.\r\nJust look at the following screenshots:\r\n\r\nClosed trapdoors with equal facedir stacked above each other. The texture is flipped on the opposite side.\r\n![](https://i.imgur.com/nzXyqIF.png)\r\n\r\nTwo trapdoors, same facedir, one closed, one opened. Again, the texture is flipped incorrectly for the open one:\r\n![](https://i.imgur.com/PfeDVjR.png)\r\n\r\nThe sides of the trapdoors get flipped when opening, too: Note the yellow/blue stripe should be at the right for the open trapdoor (However, I am not sure about that one. Maybe this works when I change the “side” texture):\r\n![](https://i.imgur.com/B7d4XJQ.png)\r\n\r\nFor doors, the inner and outer “sides” get flipped, too, when opening them:\r\n![](https://i.imgur.com/KAMFXUG.png)\r\n![](https://i.imgur.com/yH36uAW.png)\r\n\r\nI am not sure if these are all issues. Try the test textures for yourselves and test a bit with the doors and trap doors.\r\n\r\nHere you can use the test textures I used:\r\n![test_trapdoor_topbottom](https://cloud.githubusercontent.com/assets/1675853/19893603/0616c140-a04a-11e6-84ef-fb0b26a450b3.png)\r\n![test_trapdoor_side](https://cloud.githubusercontent.com/assets/1675853/19893604/061aaf76-a04a-11e6-99a2-ae1a5d792767.png)\r\n![test_door](https://cloud.githubusercontent.com/assets/1675853/19893627/1e71f598-a04a-11e6-81e5-5e73a4f24000.png)\r\n\r\nI have added several “markers” on the test textures to make them easily distinguishable. The dotted line on the front textures mark the “hinge”. The colors on the sides are for orientation. The yellow square on the door marks the top left of the door image (not the physical “left”). The letters on the trapdoor mean “up”, “down”, “left” and “right”."},"comment":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/comments/257966908","html_url":"https://github.com/minetest/minetest_game/issues/1361#issuecomment-257966908","issue_url":"https://api.github.com/repos/minetest/minetest_game/issues/1361","id":257966908,"user":{"login":"Ferk","id":193426,"avatar_url":"https://avatars.githubusercontent.com/u/193426?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferk","html_url":"https://github.com/Ferk","followers_url":"https://api.github.com/users/Ferk/followers","following_url":"https://api.github.com/users/Ferk/following{/other_user}","gists_url":"https://api.github.com/users/Ferk/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferk/subscriptions","organizations_url":"https://api.github.com/users/Ferk/orgs","repos_url":"https://api.github.com/users/Ferk/repos","events_url":"https://api.github.com/users/Ferk/events{/privacy}","received_events_url":"https://api.github.com/users/Ferk/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T19:04:04Z","updated_at":"2016-11-02T19:04:04Z","body":"@sofar What about making the left-hinged door have the outside in the side in which the right-hinged door has the inside?\r\n\r\nWhile this still wouldn't really allow you to make a texture that is clearly the outside / inside, at least it would be possible to make each side different without having the texture switching in an unexpected way when the door opens/closes.\r\n\r\n```\r\n1)  (front of door(outside) is on the bottom)\r\n....\r\n....\r\n....\r\nhvvv\r\n\r\n2)   (front of door(outside) is on the bottom!)\r\n....\r\n....\r\n....\r\n^^^h\r\n\r\n3)   (front of door(outside) is on the inside!)\r\n>...\r\n>...\r\n>...\r\nh...\r\n```\r\n"}}
{"actor":{"display_login":"Ferk"}}