Skip to content

Commit

Permalink
fix(model): add missing window views (flybywiresim#8352)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Dupont <4503241+Benjozork@users.noreply.github.com>
  • Loading branch information
tracernz and Benjozork authored Jan 2, 2024
1 parent 14ada3c commit d5a964a
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 71 deletions.
71 changes: 0 additions & 71 deletions fbw-a32nx/src/model/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -1005,77 +1005,6 @@
"gltf": "./satcom/HoneywellJetwave.gltf",
"bin": "./satcom/HoneywellJetwave.bin",
"lods": [1]
},
{
"combineFiles": ["./a320-exterior/A320_NEO_LOD00.gltf"],
"nodes": [
{
"translation": [-1.81209111, 1.94373608, -3.108832359313965],
"rotation": [0.0, 0.0, 0.0, 1.0],
"scale": [0.009609489, 0.009609489, 0.009609489],
"mesh": "x0_HublotIn",
"name": "HublotIn003"
},
{
"translation": [-1.81209111, 1.94373608, -7.9187912940979],
"rotation": [0.0, 0.0, 0.0, 1.0],
"scale": [0.009609489, 0.009609489, 0.009609489],
"mesh": "x0_HublotIn",
"name": "HublotIn004"
},
{
"translation": [-1.86640084, 2.17727923, -3.1645054817199707],
"rotation": [
4.93009722e-8,
-4.93009722e-8,
0.953716934,
0.30070582
],
"scale": [1.0, 1.0, 1.0],
"mesh": "x0_glass",
"name": "glass003"
},
{
"translation": [-1.86640084, 2.17727923, -7.963076591491699],
"rotation": [
4.93009722e-8,
-4.93009722e-8,
0.953716934,
0.30070582
],
"scale": [1.0, 1.0, 1.0],
"mesh": "x0_glass",
"name": "glass004"
},
{
"translation": [1.81355882, 1.94373608, -3.1946215629577637],
"rotation": [0.0, -1.0, 0.0, -7.54979e-8],
"scale": [0.009609489, 0.009609489, 0.009609489],
"mesh": "x0_HublotIn002",
"name": "HublotIn005"
},
{
"translation": [1.81355882, 1.94373608, 0.6726460456848145],
"rotation": [0.0, -1.0, 0.0, -7.54979e-8],
"scale": [0.009609489, 0.009609489, 0.009609489],
"mesh": "x0_HublotIn002",
"name": "HublotIn006"
},
{
"translation": [1.967343, 1.84899247, -3.1452555656433105],
"rotation": [0.0, 0.0, 0.0, 1.0],
"scale": [1.0, 1.0, 1.0],
"mesh": "x0_glass002",
"name": "glass005"
},
{
"translation": [1.967343, 1.84899247, 0.729894757270813],
"rotation": [0.0, 0.0, 0.0, 1.0],
"scale": [1.0, 1.0, 1.0],
"mesh": "x0_glass002",
"name": "glass006"
}
]
}
],
"modifications": [
Expand Down
184 changes: 184 additions & 0 deletions fbw-a32nx/src/model/modelsv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,190 @@
"options": {
"materials": "add"
}
},
{
"type": "create_instance",
"mesh": "x0_HublotIn",
"node": {
"translation": [
-1.81209111,
1.94373608,
-3.108832359313965
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.009609489,
0.009609489,
0.009609489
],
"name": "HublotIn003"
}
},
{
"type": "create_instance",
"mesh": "x0_glass",
"node": {
"translation": [
-1.86640084,
2.17727923,
-3.1645054817199707
],
"rotation": [
4.93009722e-8,
-4.93009722e-8,
0.953716934,
0.30070582
],
"scale": [
1.0,
1.0,
1.0
],
"name": "glass003"
}
},
{
"type": "create_instance",
"mesh": "x0_HublotIn",
"node": {
"translation": [
-1.81209111,
1.94373608,
-7.9187912940979
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
0.009609489,
0.009609489,
0.009609489
],
"name": "HublotIn004"
}
},
{
"type": "create_instance",
"mesh": "x0_glass",
"node": {
"translation": [
-1.86640084,
2.17727923,
-7.963076591491699
],
"rotation": [
4.93009722e-8,
-4.93009722e-8,
0.953716934,
0.30070582
],
"scale": [
1.0,
1.0,
1.0
],
"name": "glass004"
}
},
{
"type": "create_instance",
"mesh": "x0_HublotIn002",
"node": {
"translation": [
1.81355882,
1.94373608,
-3.1946215629577637
],
"rotation": [
0.0,
-1.0,
0.0,
-7.54979e-8
],
"scale": [
0.009609489,
0.009609489,
0.009609489
],
"name": "HublotIn005"
}
},
{
"type": "create_instance",
"mesh": "x0_glass002",
"node": {
"translation": [
1.967343,
1.84899247,
-3.1452555656433105
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
1.0,
1.0,
1.0
],
"name": "glass005"
}
},
{
"type": "create_instance",
"mesh": "x0_HublotIn002",
"node": {
"translation": [
1.81355882,
1.94373608,
0.6726460456848145
],
"rotation": [
0.0,
-1.0,
0.0,
-7.54979e-8
],
"scale": [
0.009609489,
0.009609489,
0.009609489
],
"name": "HublotIn006"
}
},
{
"type": "create_instance",
"mesh": "x0_glass002",
"node": {
"translation": [
1.967343,
1.84899247,
0.729894757270813
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
1.0,
1.0,
1.0
],
"name": "glass006"
}
}
],
"output": "../../out/flybywire-aircraft-a320-neo/SimObjects/AirPlanes/FlyByWire_A320_NEO/model/A320_NEO_LOD00.gltf"
Expand Down

0 comments on commit d5a964a

Please sign in to comment.