Compare commits

...

2 commits

6 changed files with 206 additions and 3 deletions

BIN
assets/models/thebe.bin Normal file

Binary file not shown.

200
assets/models/thebe.gltf Normal file
View file

@ -0,0 +1,200 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.2.60",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1
]
}
],
"nodes":[
{
"mesh":0,
"name":"Sphere"
},
{
"mesh":1,
"name":"Sphere.001"
}
],
"materials":[
{
"doubleSided":true,
"name":"Material",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0.871999979019165,
"roughnessFactor":0.8320000171661377
}
}
],
"meshes":[
{
"name":"Sphere.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"Collider",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5
},
"indices":6
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/jpeg",
"name":"mercury",
"uri":"../textures/mercury.jpg"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":13211,
"max":[
0.6690289974212646,
0.5329037308692932,
1.0155476331710815
],
"min":[
-0.6082860827445984,
-0.5866493582725525,
-0.8812522292137146
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":13211,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":13211,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":76182,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":4900,
"max":[
0.6788426041603088,
0.5381163954734802,
1.0252952575683594
],
"min":[
-0.6181008219718933,
-0.5952608585357666,
-0.8907732963562012
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":4900,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5123,
"count":11544,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":158532,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":158532,
"byteOffset":158532,
"target":34962
},
{
"buffer":0,
"byteLength":105688,
"byteOffset":317064,
"target":34962
},
{
"buffer":0,
"byteLength":152364,
"byteOffset":422752,
"target":34963
},
{
"buffer":0,
"byteLength":58800,
"byteOffset":575116,
"target":34962
},
{
"buffer":0,
"byteLength":58800,
"byteOffset":633916,
"target":34962
},
{
"buffer":0,
"byteLength":23088,
"byteOffset":692716,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":715804,
"uri":"thebe.bin"
}
]
}

View file

@ -338,9 +338,10 @@ Minor characters:
## Places ## Places
![Game Map](doc/images/map.svg) ![Game Map](images/map.svg)
- Serenity - Serenity
- On the leading side ("in front of") of Thebe, as the trailing ("back") side of Thebe is full of whirls and micrometeorites
- Thebe - Thebe
- Metis Prime - Metis Prime
- Farview - Farview

BIN
src/blender/thebe.blend Normal file

Binary file not shown.

View file

@ -122,14 +122,15 @@ actor 0 0 0
only_in_map_at_dist 1e7 amalthea only_in_map_at_dist 1e7 amalthea
clickable no clickable no
physics off physics off
actor 0 0 0 moonlet actor 0 0 0 thebe
name Thebe name Thebe
relativeto jupiter relativeto jupiter
id thebe id thebe
orbitaround jupiter 221900e3 orbitaround jupiter 221900e3
scale 50e3 scale 50e3
moon yes moon yes
angularmomentum 0 0.025 0 collider handcrafted
angularmomentum 0 0.0 0
actor 0 0 0 orbitring actor 0 0 0 orbitring
relativeto jupiter relativeto jupiter
scale 221900e3 scale 221900e3

View file

@ -56,6 +56,7 @@ pub fn asset_name_to_path(name: &str) -> &'static str {
"marker_satellites" => "models/marker_satellites.glb#Scene0", "marker_satellites" => "models/marker_satellites.glb#Scene0",
"marker_planets" => "models/marker_planets.glb#Scene0", "marker_planets" => "models/marker_planets.glb#Scene0",
"point_of_interest" => "models/point_of_interest.glb#Scene0", "point_of_interest" => "models/point_of_interest.glb#Scene0",
"thebe" => "models/thebe.gltf#Scene0",
_ => "models/error.glb#Scene0", _ => "models/error.glb#Scene0",
} }
} }