Fixed texture mirroring on planes

This commit is contained in:
Sollace 2019-12-04 12:42:13 +02:00
parent 508d21ed0b
commit 0840678241
7 changed files with 37 additions and 36 deletions

View file

@ -20,7 +20,7 @@
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 24, "v": 0}, "texture": {"u": 24, "v": 0},
"east": [4, 4, 2, 8, 8, 32, 32], "east": [4, 4, 2, 8, 8, 32, 32],
"west": [-4, 4, 2, 8, 8, 32, 23], "west": [-4, 4, 2, 8, 8, 23, 32],
"south": [-4, 4,10, 8, 8, 32, 23], "south": [-4, 4,10, 8, 8, 32, 23],
"up": [-4, 4, -2, 8, 12, 32, 23], "up": [-4, 4, -2, 8, 12, 32, 23],
"__comment": "it's a little short, so the butt tends to show. :/" "__comment": "it's a little short, so the butt tends to show. :/"

View file

@ -46,7 +46,7 @@
}, },
{ {
"type": "mson:planar", "type": "mson:planar",
"west": [0, 0, -7, 16, 8, 56, 32] "west": [0, 0, -7, 16, 8, 32, 56]
} }
] ]
} }

View file

@ -13,13 +13,13 @@
{ {
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 56, "v": 16}, "texture": {"u": 56, "v": 16},
"west": [-0.5, 0, -7, 16, 8] "west": [-0.5, 0, -7, 8, 16]
}, },
{ {
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 56, "v": 32}, "texture": {"u": 56, "v": 32},
"rotate": [-0.5, 0.3, 0.3333], "rotate": [-0.5, 0.3, 0.3333],
"west": [1, 0, -5, 16, 8] "west": [1, 0, -5, 8, 16]
} }
] ]
} }
@ -41,14 +41,14 @@
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 56, "v": 16}, "texture": {"u": 56, "v": 16},
"mirror": true, "mirror": true,
"west": [0.5, 0, -7, 16, 8] "west": [0.5, 0, -7, 8, 16]
}, },
{ {
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 56, "v": 32}, "texture": {"u": 56, "v": 32},
"rotate": [-0.5, -0.3, -0.3333], "rotate": [-0.5, -0.3, -0.3333],
"mirror": true, "mirror": true,
"west": [-1, 0, -5, 16, 8] "west": [-1, 0, -5, 8, 16]
} }
] ]
} }

View file

@ -11,7 +11,7 @@
"north": [-2, -1, -7, 4, 3, 10, 13], "north": [-2, -1, -7, 4, 3, 10, 13],
"up": [-2, -1, -7, 4, 1, 10, 13], "up": [-2, -1, -7, 4, 1, 10, 13],
"down": [-2, 2, -7, 4, 1, 18, 7], "down": [-2, 2, -7, 4, 1, 18, 7],
"west": [-2, -1, -7, 3, 1, 10, 13], "west": [-2, -1, -7, 3, 1, 13, 10],
"east": [ 2, -1, -7, 3, 1, 13, 13] "east": [ 2, -1, -7, 3, 1, 13, 13]
}, },
"mare": { "mare": {
@ -28,8 +28,8 @@
], ],
"down": [-2, 2, -7, 4, 1, 18, 7], "down": [-2, 2, -7, 4, 1, 18, 7],
"west": [ "west": [
[-2, 0, -7, 2, 1, 9, 14], [-2, 0, -7, 2, 1, 14, 9],
[-1, -1, -7, 1, 1, 11, 12] [-1, -1, -7, 1, 1, 12, 11]
], ],
"east": [ "east": [
[ 2, 0, -7, 2, 1, 14, 14], [ 2, 0, -7, 2, 1, 14, 14],

View file

@ -5,12 +5,12 @@
"texture": {"u": 56, "v": 19}, "texture": {"u": 56, "v": 19},
"center": [0, 4, 4], "center": [0, 4, 4],
"south": [ "south": [
[4, -0.5, -1, 3, 6, 56, 25], [4, -0.5, -1, 3, 6, 25, 56],
[4, -0.5, 7, 3, 6, 59, 25] [4, -0.5, 7, 3, 6, 25, 59]
], ],
"west": [ "west": [
[7, -0.5, -1, 6, 8, 56, 19], [7, -0.5, -1, 6, 8, 19, 56],
[4, -0.5, -1, 6, 8, 56, 19] [4, -0.5, -1, 6, 8, 19, 56]
], ],
"children": [ "children": [
{ {
@ -20,8 +20,8 @@
{ {
"type": "mson:plane", "type": "mson:plane",
"face": "down", "face": "down",
"from": [-3, 5, -8], "size": [-3, 8, 3], "from": [-3, 5, -8], "size": [-3, 8],
"mirror": [false, false, true] "mirror": [false, true]
} }
] ]
} }
@ -36,8 +36,8 @@
[-7, -0.5, 7, 3, 6, 59, 25] [-7, -0.5, 7, 3, 6, 59, 25]
], ],
"west": [ "west": [
[-4, -0.5, -1, 6, 8, 56, 19], [-4, -0.5, -1, 6, 8, 19, 56],
[-7, -0.5, -1, 6, 8, 56, 19] [-7, -0.5, -1, 6, 8, 19, 56]
], ],
"children": [ "children": [
{ {
@ -47,8 +47,8 @@
{ {
"type": "mson:plane", "type": "mson:plane",
"face": "down", "face": "down",
"from": [-8, 5, 3], "size": [-3, 8, 3], "from": [-8, 5, 3], "size": [-3, 8],
"mirror": [false, false, true] "mirror": [false, true]
} }
] ]
} }
@ -71,10 +71,10 @@
"texture": {"u": 56, "v": 31}, "texture": {"u": 56, "v": 31},
"rotate": [270, 0, 0], "rotate": [270, 0, 0],
"west": [ "west": [
[ 4.0002, -3, -0.305, 1, 3], [ 4.0002, -3, -0.305, 3, 1],
[ 4.0002, -4, -0.305, 1, 3], [ 4.0002, -4, -0.305, 3, 1],
[-3.9998, -3, -0.305, 1, 3], [-3.9998, -3, -0.305, 3, 1],
[-3.9998, -4, -0.305, 1, 3] [-3.9998, -4, -0.305, 3, 1]
] ]
} }
] ]

View file

@ -6,21 +6,21 @@
"mirror": [false, false, true], "mirror": [false, false, true],
"rotate": [0, 30, 0], "rotate": [0, 30, 0],
"center": [3, -6, 3], "center": [3, -6, 3],
"east": [0, 0, 0, 12, 8] "east": [0, 0, 0, 8, 12]
}, },
"right_fin": { "right_fin": {
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 56, "v": 16}, "texture": {"u": 56, "v": 16},
"rotate": [0, -30, 0], "rotate": [0, -30, 0],
"center": [-3, -6, 3], "center": [-3, -6, 3],
"west": [0, 0, 0, 12, 8] "west": [0, 0, 0, 8, 12]
}, },
"center_fin": { "center_fin": {
"type": "mson:planar", "type": "mson:planar",
"texture": {"u": 58, "v": 28}, "texture": {"u": 58, "v": 28},
"rotate": [84, 0, 0], "rotate": [84, 0, 0],
"center": [0, 6, 9], "center": [0, 6, 9],
"east": [0, -6, 0, 12, 6] "east": [0, -6, 0, 6, 12]
}, },
"abdomin": { "abdomin": {
"texture": {"u": 0, "v": 48}, "texture": {"u": 0, "v": 48},

View file

@ -61,20 +61,21 @@
"texture": { "u": 24, "v": 0 }, "texture": { "u": 24, "v": 0 },
"mirror": [ false, false, true ], "mirror": [ false, false, true ],
"face": "west", "face": "west",
"mirror": [ true ],
"position": [ -4, 4, 2 ], "size": [ 8, 8 ] "position": [ -4, 4, 2 ], "size": [ 8, 8 ]
}, },
{ {
"type": "mson:plane", "__comment": "cutie mark", "type": "mson:plane", "__comment": "cutie mark",
"texture": { "u": 4, "v": 0 }, "texture": { "u": 4, "v": 0 },
"face": "east", "face": "east",
"position": [ 4, 4, 10 ], "size": [ 8, 4 ] "position": [ 4, 4, 10 ], "size": [ 4, 8 ]
}, },
{ {
"type": "mson:plane", "__comment": "cutie mark", "type": "mson:plane", "__comment": "cutie mark",
"texture": { "u": 4, "v": 0 }, "texture": { "u": 4, "v": 0 },
"mirror": [ false, false, true ], "mirror": [ true ],
"face": "west", "face": "west",
"position": [ -4, 4, 10 ], "size": [ 8, 4 ] "position": [ -4, 4, 10 ], "size": [ 4, 8 ]
}, },
{ {
"type": "mson:plane", "__comment": "stomach", "type": "mson:plane", "__comment": "stomach",
@ -117,14 +118,14 @@
"rotate": [29, 0, 0], "rotate": [29, 0, 0],
"up": [-1, 10, 10, 2, 6], "up": [-1, 10, 10, 2, 6],
"down": [-1, 12, 10, 2, 6], "down": [-1, 12, 10, 2, 6],
"east": [ 1, 10, 10, 2, 6], "east": [ 1, 10, 10, 6, 2],
"south":[-1, 10, 16, 2, 2], "south":[-1, 10, 16, 2, 2],
"cubes": [ "cubes": [
{ {
"type": "mson:plane", "type": "mson:plane",
"mirror": [ false, false, true ], "mirror": [ true, false ],
"face": "west", "face": "west",
"position": [ -1, 10, 10 ], "size": [ 2, 6 ] "position": [ -1, 10, 10 ], "size": [ 6, 2 ]
} }
] ]
} }
@ -153,27 +154,27 @@
"type": "mson:plane", "__comment": "body sides a", "type": "mson:plane", "__comment": "body sides a",
"texture": { "u": 12, "v": 32 }, "texture": { "u": 12, "v": 32 },
"face": "east", "face": "east",
"position": [ 4, 4, 2 ], "size": [ 4, 8 ], "stretch": 0.25 "position": [ 4, 4, 2 ], "size": [ 8, 4 ], "stretch": 0.25
}, },
{ {
"type": "mson:plane", "__comment": "body sides a", "type": "mson:plane", "__comment": "body sides a",
"texture": { "u": 12, "v": 32 }, "texture": { "u": 12, "v": 32 },
"mirror": [ false, false, true ], "mirror": [ false, false, true ],
"face": "west", "face": "west",
"position": [ -4, 4, 2 ], "size": [ 4, 8 ], "stretch": 0.25 "position": [ -4, 4, 2 ], "size": [ 8, 4 ], "stretch": 0.25
}, },
{ {
"type": "mson:plane", "__comment": "body sides b", "type": "mson:plane", "__comment": "body sides b",
"texture": { "u": 12, "v": 48 }, "texture": { "u": 12, "v": 48 },
"face": "east", "face": "east",
"position": [ 4, 8, 2 ], "size": [ 4, 8 ], "stretch": 0.25 "position": [ 4, 8, 2 ], "size": [ 8, 4 ], "stretch": 0.25
}, },
{ {
"type": "mson:plane", "__comment": "body sides b", "type": "mson:plane", "__comment": "body sides b",
"mirror": [ false, false, true ], "mirror": [ false, false, true ],
"texture": { "u": 12, "v": 48 }, "texture": { "u": 12, "v": 48 },
"face": "west", "face": "west",
"position": [ -4, 8, 2 ], "size": [ 4, 8 ], "stretch": 0.25 "position": [ -4, 8, 2 ], "size": [ 8, 4 ], "stretch": 0.25
}, },
{ {
"type": "mson:plane", "__comment": "qt mark a", "type": "mson:plane", "__comment": "qt mark a",