simple .obj cosmetics example

This commit is contained in:
2025-04-11 02:07:43 +02:00
parent 79e41b1d8b
commit a3bdee2439
6 changed files with 2115 additions and 242 deletions
@@ -1,240 +1,12 @@
{
"credit": "Made with Blockbench",
"textures": {
"1": "saturnclient:item/halo"
},
"elements": [
{
"name": "hexadecagon",
"from": [7.40326, 10, 5],
"to": [8.59674, 11, 6],
"rotation": { "angle": -45, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 5],
"to": [8.59674, 11, 6],
"rotation": { "angle": -22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 5],
"to": [8.59674, 11, 6],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 5],
"to": [8.59674, 11, 6],
"rotation": { "angle": 22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 5],
"to": [8.59674, 11, 6],
"rotation": { "angle": 45, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 10],
"to": [8.59674, 11, 11],
"rotation": { "angle": -45, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 10],
"to": [8.59674, 11, 11],
"rotation": { "angle": -22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 10],
"to": [8.59674, 11, 11],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 10],
"to": [8.59674, 11, 11],
"rotation": { "angle": 22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [7.40326, 10, 10],
"to": [8.59674, 11, 11],
"rotation": { "angle": 45, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [5, 10, 7.40326],
"to": [6, 11, 8.59674],
"rotation": { "angle": -22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [5, 10, 7.40326],
"to": [6, 11, 8.59674],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [5, 10, 7.40326],
"to": [6, 11, 8.59674],
"rotation": { "angle": 22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [10, 10, 7.40326],
"to": [11, 11, 8.59674],
"rotation": { "angle": -22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [10, 10, 7.40326],
"to": [11, 11, 8.59674],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
},
{
"name": "hexadecagon",
"from": [10, 10, 7.40326],
"to": [11, 11, 8.59674],
"rotation": { "angle": 22.5, "axis": "y", "origin": [8, 11, 8] },
"faces": {
"north": { "uv": [0, 0, 1, 1], "texture": "#1" },
"east": { "uv": [0, 0, 1, 1], "texture": "#1" },
"south": { "uv": [0, 0, 1, 1], "texture": "#1" },
"west": { "uv": [0, 0, 1, 1], "texture": "#1" },
"up": { "uv": [0, 0, 1, 1], "texture": "#1" },
"down": { "uv": [0, 0, 1, 1], "texture": "#1" }
}
"parent": "special-model-loader:builtin/obj",
"flip_v": true,
"model": "saturnclient:models/item/obj_model_item.obj",
"display": {
"thirdperson_righthand": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 9.5, 0],
"scale": [ 0.375, 0.375, 0.375 ]
}
],
"groups": [
{
"name": "hexadecagon",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
}
]
}
}
}
@@ -0,0 +1,13 @@
# Blender MTL File: 'None'
# Material Count: 1
newmtl tex
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd saturnclient:item/halo
File diff suppressed because it is too large Load Diff