Files
claudeandClaude Opus 5.5 0991f27700 A4: Item models and icons
tools/models/items.py builds every item in headless Blender from
primitives: the boathook, the eight weapons and powder keg, four
consumables and five kinds of ammo, each with its own outline. It
writes an OBJ per item (the Debian Blender's glTF exporter needs numpy),
a JSON with the grip and the left hand's support point, and a 128 px
Cycles icon rendered on the CPU. Materials are named after Palette
colours, and TRIM2_/TRIM3_ surfaces are the tier treatment: rope
whipping from tier 2, brass bands from tier 3; tier 0 is faded.

ItemModels paints the models from Palette by tier. EntityView puts the
held item's grip in each figure's right hand, turned with the player's
pitch and put away aboard, falling, gliding or swimming, and draws
items lying in the world with their models, one MultiMesh per model
and tier. The hotbar shows each slot's icon.

make models rebuilds them; make item-captures renders the items held,
over the shoulder, on the ground and by tier.

Closes #44

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:46:41 -05:00

201 lines
4.8 KiB
Plaintext

# Blender 4.3.2
# www.blender.org
mtllib tar_patch.mtl
o Cube
v -0.067000 -0.006000 0.067000
v -0.067000 -0.003000 0.070000
v -0.070000 -0.003000 0.067000
v -0.067000 0.003000 0.070000
v -0.067000 0.006000 0.067000
v -0.070000 0.003000 0.067000
v -0.067000 -0.006000 -0.067000
v -0.070000 -0.003000 -0.067000
v -0.067000 -0.003000 -0.070000
v -0.067000 0.006000 -0.067000
v -0.067000 0.003000 -0.070000
v -0.070000 0.003000 -0.067000
v 0.067000 -0.006000 0.067000
v 0.070000 -0.003000 0.067000
v 0.067000 -0.003000 0.070000
v 0.067000 0.006000 0.067000
v 0.067000 0.003000 0.070000
v 0.070000 0.003000 0.067000
v 0.067000 -0.006000 -0.067000
v 0.067000 -0.003000 -0.070000
v 0.070000 -0.003000 -0.067000
v 0.067000 0.006000 -0.067000
v 0.070000 0.003000 -0.067000
v 0.067000 0.003000 -0.070000
vn -0.0000 -0.0000 1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn -0.5774 -0.5773 0.5774
vn -0.5774 0.5773 0.5774
vn -0.5774 -0.5773 -0.5774
vn -0.5774 0.5773 -0.5774
vn 0.5774 -0.5773 0.5774
vn 0.5774 0.5773 0.5774
vn 0.5774 -0.5773 -0.5774
vn 0.5774 0.5773 -0.5774
vn -0.7071 -0.7071 -0.0000
vn -0.7071 -0.0000 0.7071
vn -0.7071 0.7071 -0.0000
vn -0.7071 -0.0000 -0.7071
vn -0.0000 -0.7071 -0.7071
vn -0.0000 0.7071 -0.7071
vn 0.7071 -0.0000 -0.7071
vn 0.7071 -0.7071 -0.0000
vn 0.7071 0.7071 -0.0000
vn 0.7071 -0.0000 0.7071
vn -0.0000 -0.7071 0.7071
vn -0.0000 0.7071 0.7071
vn -0.0000 -1.0000 -0.0000
s 0
usemtl TAR
f 17//1 2//1 15//1
f 23//2 14//2 21//2
f 10//3 16//3 22//3
f 6//4 8//4 3//4
f 11//5 20//5 9//5
f 1//6 2//6 3//6
f 4//7 5//7 6//7
f 7//8 8//8 9//8
f 10//9 11//9 12//9
f 13//10 14//10 15//10
f 16//11 17//11 18//11
f 19//12 20//12 21//12
f 22//13 23//13 24//13
f 1//14 8//14 7//14
f 4//15 3//15 2//15
f 10//16 6//16 5//16
f 9//17 12//17 11//17
f 7//18 20//18 19//18
f 22//19 11//19 10//19
f 21//20 24//20 23//20
f 19//21 14//21 13//21
f 16//22 23//22 22//22
f 15//23 18//23 17//23
f 13//24 2//24 1//24
f 5//25 17//25 16//25
f 19//26 1//26 7//26
f 17//1 4//1 2//1
f 23//2 18//2 14//2
f 10//3 5//3 16//3
f 6//4 12//4 8//4
f 11//5 24//5 20//5
f 1//14 3//14 8//14
f 4//15 6//15 3//15
f 10//16 12//16 6//16
f 9//17 8//17 12//17
f 7//18 9//18 20//18
f 22//19 24//19 11//19
f 21//20 20//20 24//20
f 19//21 21//21 14//21
f 16//22 18//22 23//22
f 15//23 14//23 18//23
f 13//24 15//24 2//24
f 5//25 4//25 17//25
f 19//26 13//26 1//26
o Cube.001
v -0.055000 0.006000 0.055000
v -0.055000 0.010000 0.055000
v -0.055000 0.006000 -0.055000
v -0.055000 0.010000 -0.055000
v 0.055000 0.006000 0.055000
v 0.055000 0.010000 0.055000
v 0.055000 0.006000 -0.055000
v 0.055000 0.010000 -0.055000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 1.0000 -0.0000
s 0
usemtl TAR_WEATHERED
f 26//27 27//27 25//27
f 28//28 31//28 27//28
f 32//29 29//29 31//29
f 30//30 25//30 29//30
f 31//31 25//31 27//31
f 28//32 30//32 32//32
f 26//27 28//27 27//27
f 28//28 32//28 31//28
f 32//29 30//29 29//29
f 30//30 26//30 25//30
f 31//31 29//31 25//31
f 28//32 26//32 30//32
o Cylinder
v 0.060000 0.005000 0.025000
v 0.060000 0.055000 0.025000
v 0.080572 0.005000 0.031684
v 0.080572 0.055000 0.031684
v 0.093287 0.005000 0.049184
v 0.093287 0.055000 0.049184
v 0.093287 0.005000 0.070816
v 0.093287 0.055000 0.070816
v 0.080572 0.005000 0.088316
v 0.080572 0.055000 0.088316
v 0.060000 0.005000 0.095000
v 0.060000 0.055000 0.095000
v 0.039428 0.005000 0.088316
v 0.039428 0.055000 0.088316
v 0.026713 0.005000 0.070816
v 0.026713 0.055000 0.070816
v 0.026713 0.005000 0.049184
v 0.026713 0.055000 0.049184
v 0.039428 0.005000 0.031684
v 0.039428 0.055000 0.031684
vn 0.3090 -0.0000 -0.9511
vn 0.8090 -0.0000 -0.5878
vn 1.0000 -0.0000 -0.0000
vn 0.8090 -0.0000 0.5878
vn 0.3090 -0.0000 0.9511
vn -0.3090 -0.0000 0.9511
vn -0.8090 -0.0000 0.5878
vn -1.0000 -0.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vn -0.8090 -0.0000 -0.5878
vn -0.3090 -0.0000 -0.9511
vn -0.0000 -1.0000 -0.0000
s 0
usemtl SALVAGE_IRON
f 34//33 35//33 33//33
f 36//34 37//34 35//34
f 38//35 39//35 37//35
f 40//36 41//36 39//36
f 42//37 43//37 41//37
f 44//38 45//38 43//38
f 46//39 47//39 45//39
f 48//40 49//40 47//40
f 50//41 42//41 38//41
f 50//42 51//42 49//42
f 52//43 33//43 51//43
f 39//44 47//44 51//44
f 34//33 36//33 35//33
f 36//34 38//34 37//34
f 38//35 40//35 39//35
f 40//36 42//36 41//36
f 42//37 44//37 43//37
f 44//38 46//38 45//38
f 46//39 48//39 47//39
f 48//40 50//40 49//40
f 38//41 36//41 34//41
f 34//41 52//41 50//41
f 50//41 48//41 46//41
f 46//41 44//41 42//41
f 42//41 40//41 38//41
f 38//41 34//41 50//41
f 50//41 46//41 42//41
f 50//42 52//42 51//42
f 52//43 34//43 33//43
f 51//44 33//44 35//44
f 35//44 37//44 39//44
f 39//44 41//44 43//44
f 43//44 45//44 47//44
f 47//44 49//44 51//44
f 51//44 35//44 39//44
f 39//44 43//44 47//44