fix rotation and uv bugs in sign model

This commit is contained in:
Bixilon 2022-04-22 15:46:10 +02:00
parent eb5728f67b
commit f53fb5a9e3
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
3 changed files with 24 additions and 18 deletions

View File

@ -1,4 +1,4 @@
Cube uv:
bottom->top
east->north->south->west
east->north->west->south

View File

@ -4,7 +4,10 @@
"__comment": "Sign",
"from": [0, 9.5, 7],
"to": [16, 17.5, 9],
"y": 180,
"rotation": {
"axis": "Y",
"angle": 180.0
},
"faces": {
"down": {
"uv": [0.5, 0, 4.5, 1],
@ -19,15 +22,15 @@
"texture": "#sign"
},
"north": {
"uv": [0.5, 1, 4.5, 7],
"texture": "#sign"
},
"south": {
"uv": [4.5, 1, 8.0, 7],
"uv": [0.5, 1, 6.5, 7],
"texture": "#sign"
},
"west": {
"uv": [8.0, 1, 8.5, 7],
"uv": [6.5, 1, 7.0, 7],
"texture": "#sign"
},
"south": {
"uv": [7.0, 1, 13.0, 7],
"texture": "#sign"
}
}
@ -36,7 +39,10 @@
"__comment": "Stick",
"from": [7.5, 0, 7.5],
"to": [8.5, 9.5, 8.5],
"y": 180,
"rotation": {
"axis": "Y",
"angle": 180.0
},
"faces": {
"down": {
"uv": [0.5, 7, 1.0, 7.5],
@ -51,11 +57,11 @@
"uv": [0.5, 8, 1.0, 15],
"texture": "#sign"
},
"south": {
"west": {
"uv": [1.0, 8, 1.5, 15],
"texture": "#sign"
},
"west": {
"south": {
"uv": [1.5, 8, 2.0, 15],
"texture": "#sign"
}

View File

@ -19,19 +19,19 @@
"cullface": "east"
},
"north": {
"uv": [0.5, 1, 4.5, 7],
"uv": [0.5, 1, 6.5, 7],
"texture": "#sign",
"cullface": "north"
},
"south": {
"uv": [4.5, 1, 8.0, 7],
"texture": "#sign",
"cullface": "south"
},
"west": {
"uv": [8.0, 1, 8.5, 7],
"uv": [6.5, 1, 7.0, 7],
"texture": "#sign",
"cullface": "west"
},
"south": {
"uv": [7.0, 1, 13.0, 7],
"texture": "#sign",
"cullface": "south"
}
}
}