add AR lace choker, give to rynyk
This commit is contained in:
parent
6a83644448
commit
fe73bcc70b
7 changed files with 236 additions and 2 deletions
BIN
assets/models/ar_choker_lace.bin
Normal file
BIN
assets/models/ar_choker_lace.bin
Normal file
Binary file not shown.
153
assets/models/ar_choker_lace.gltf
Normal file
153
assets/models/ar_choker_lace.gltf
Normal file
|
@ -0,0 +1,153 @@
|
|||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v4.2.70",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"Cylinder",
|
||||
"rotation":[
|
||||
0.34271490573883057,
|
||||
0,
|
||||
0,
|
||||
0.9394394755363464
|
||||
],
|
||||
"scale":[
|
||||
0.09748546779155731,
|
||||
0.016499683260917664,
|
||||
0.10848910361528397
|
||||
],
|
||||
"translation":[
|
||||
0,
|
||||
0.5604022145271301,
|
||||
0.09153623133897781
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials":[
|
||||
{
|
||||
"doubleSided":true,
|
||||
"name":"Material",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":0
|
||||
},
|
||||
"metallicFactor":0.7063491940498352,
|
||||
"roughnessFactor":0.841269850730896
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Cylinder.001",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2
|
||||
},
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures":[
|
||||
{
|
||||
"sampler":0,
|
||||
"source":0
|
||||
}
|
||||
],
|
||||
"images":[
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"lace_horizontal",
|
||||
"uri":"textures/lace_horizontal.png"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":128,
|
||||
"max":[
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"min":[
|
||||
-1,
|
||||
-1,
|
||||
-1
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":128,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":128,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5123,
|
||||
"count":192,
|
||||
"type":"SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1536,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1536,
|
||||
"byteOffset":1536,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1024,
|
||||
"byteOffset":3072,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":384,
|
||||
"byteOffset":4096,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
"samplers":[
|
||||
{
|
||||
"magFilter":9729,
|
||||
"minFilter":9987
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":4480,
|
||||
"uri":"ar_choker_lace.bin"
|
||||
}
|
||||
]
|
||||
}
|
BIN
assets/models/textures/lace_horizontal.png
Normal file
BIN
assets/models/textures/lace_horizontal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 515 B |
BIN
src/blender/ar_choker_lace.blend
Normal file
BIN
src/blender/ar_choker_lace.blend
Normal file
Binary file not shown.
|
@ -1164,8 +1164,8 @@ fn spawn_scenes(
|
|||
// command: armodel suit_ar_dress
|
||||
state.ar_models.push("suit_ar_dress".to_string());
|
||||
|
||||
// command: armodel suit_ar_choker
|
||||
state.ar_models.push("suit_ar_choker".to_string());
|
||||
// command: armodel suit_ar_choker_lace
|
||||
state.ar_models.push("suit_ar_choker_lace".to_string());
|
||||
|
||||
// command: pronoun she
|
||||
state.pronoun = Some("she".to_string());
|
||||
|
|
|
@ -34,6 +34,7 @@ pub fn asset_name_to_path(name: &str) -> &'static str {
|
|||
"suit_ar_bra" => "models/ar_bra.gltf#Scene0",
|
||||
"suit_ar_chefhat" => "models/suit_v2/ar_chefhat.glb#Scene0",
|
||||
"suit_ar_choker" => "models/ar_choker.gltf#Scene0",
|
||||
"suit_ar_choker_lace" => "models/ar_choker_lace.gltf#Scene0",
|
||||
"suit_ar_nekomimi" => "models/ar_nekomimi.gltf#Scene0",
|
||||
"suit_ar_hoodie" => "models/ar_hoodie.gltf#Scene0",
|
||||
"suit_ar_hoodie_up" => "models/ar_hoodie_up.gltf#Scene0",
|
||||
|
|
80
src/svg/lace_horizontal.svg
Normal file
80
src/svg/lace_horizontal.svg
Normal file
|
@ -0,0 +1,80 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64"
|
||||
height="128"
|
||||
viewBox="0 0 16.933333 33.866666"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
sodipodi:docname="lace_horizontal.svg"
|
||||
inkscape:export-filename="../../assets/models/textures/lace.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#999999"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="true"
|
||||
inkscape:zoom="4.5326599"
|
||||
inkscape:cx="27.687936"
|
||||
inkscape:cy="65.303818"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="880"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1">
|
||||
<inkscape:grid
|
||||
id="grid2"
|
||||
units="px"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingx="0.26458332"
|
||||
spacingy="0.26458333"
|
||||
empcolor="#2768ff"
|
||||
empopacity="0.30196078"
|
||||
color="#0099e5"
|
||||
opacity="0.14901961"
|
||||
empspacing="8"
|
||||
enabled="true"
|
||||
visible="true" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:0.582608;stroke:#000000;stroke-width:4.23333333;stroke-linecap:square;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 0,16.933333 H 16.933333"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:0.582608;stroke:#000000;stroke-width:3.175;stroke-linecap:square;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 16.933333,21.166666 8.4666664,12.7 0,4.2333332"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:0.582608;stroke:#000000;stroke-width:3.175;stroke-linecap:square;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 0,21.166666 8.4666664,8.466666 8.4666666,-8.466666"
|
||||
id="path3"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:0.582608;stroke:#000000;stroke-width:3.175;stroke-linecap:square;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 0,21.166666 16.933333,4.233333"
|
||||
id="path4" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
Loading…
Add table
Reference in a new issue