{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Body.x3d"
          },
          {
            "@name":"description",
            "@content":"MEFFV Body"
          },
          {
            "@name":"creator",
            "@content":"Sean Hynes"
          },
          {
            "@name":"contributor",
            "@content":"This body is modified from William Geissler's AAAV Body"
          },
          {
            "@name":"created",
            "@content":"9 September 2002"
          },
          {
            "@name":"modified",
            "@content":"7 April 2024"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/MEFFV/Body.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"21 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "WorldInfo":
            {
              "@info":["MEFFV Vehicle Body"],
              "@title":"MEFFV Body"
            }
          },
          { "NavigationInfo":
            {
              "@speed":10
            }
          },
          { "Transform":
            {
              "@DEF":"Body",
              "@rotation":[0,1,0,1.57],
              "@translation":[2.5,1.1,-5.2],
              "-children":[
                { "Shape":
                  {
                    "@DEF":"BODYSET",
                    "-children":[
                      {
                        "#comment":"This indexedFaceSet is the whole body."
                      }
                    ],
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@DEF":"CAMMIE1",
                                "@url":["../AAAV/cammie1.jpg","https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie1.jpg"]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@convex":false,
                          "@coordIndex":[0,1,2,3,4,5,6,7,8,0,-1,9,10,8,7,-1,11,12,10,9,-1,3,14,4,3,-1,3,2,13,14,3,-1,2,1,13,2,-1,15,16,17,18,19,20,21,22,23,15,-1,24,25,17,16,-1,26,27,25,24,-1,21,20,28,21,-1,22,21,28,29,22,-1,23,22,29,23,-1,6,5,19,18,-1,5,4,20,19,-1,4,14,13,1,0,15,23,29,28,20,-1,0,8,10,12,26,24,16,15,0,-1,11,9,7,6,18,17,25,27,11,-1,12,11,27,26,12,-1],
                          "@creaseAngle":0.05,
                          "@texCoordIndex":[0,1,2,3,4,5,6,7,8,0,-1,9,10,8,7,-1,11,12,10,9,-1,3,14,4,3,-1,3,2,13,14,3,-1,2,1,13,2,-1,15,16,17,18,19,20,21,22,23,15,-1,24,25,17,16,-1,26,27,25,24,-1,21,20,28,21,-1,22,21,28,29,22,-1,23,22,29,23,-1,6,5,19,18,-1,5,4,20,19,-1,4,14,13,1,0,15,23,29,28,20,-1,0,8,10,12,26,24,16,15,0,-1,11,9,7,6,18,17,25,27,11,-1,12,11,27,26,12,-1],
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[0.0,0.4,0.0,-1.6,0.4,0.0,-2.4,0.4,0.0,-3.8,0.4,0.0,-5.6,0.4,0.0,-8.0,-0.6,0.0,-10.4,-1.6,0.0,-9.4,-1.6,0.0,-0.4,-1.6,0.0,-9.4,-1.6,-0.2,-0.4,-1.6,-0.2,-8.4,-2.5,-0.8,-0.8,-2.5,-0.8,-1.6,0.4,-1.0,-5.6,0.4,-1.0,0.0,0.4,-5.0,-0.4,-1.6,-5.0,-9.4,-1.6,-5.0,-10.4,-1.6,-5.0,-8.0,-0.6,-5.0,-5.6,0.4,-5.0,-3.8,0.4,-5.0,-2.4,0.4,-5.0,-1.6,0.4,-5.0,-0.4,-1.6,-4.8,-9.4,-1.6,-5.0,-0.8,-2.5,-4.2,-8.4,-2.5,-4.2,-5.6,0.4,-4.0,-1.6,0.4,-4.0]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@point":[1.00,0.32,0.76,0.32,0.68,0.24,0.40,0.24,0.32,0.32,0.08,0.28,0.00,0.20,0.12,0.00,0.92,0.00,0.12,0.08,0.92,0.08,0.12,0.16,0.92,0.16,0.68,0.32,0.40,0.32,1.00,0.68,0.92,1.00,0.12,1.00,0.00,0.80,0.08,0.72,0.32,0.68,0.40,0.76,0.68,0.76,0.76,0.68,0.92,0.92,0.12,0.92,0.92,0.84,0.12,0.84,0.40,0.68,0.68,0.68]
                              }
                            }
                        }
                      }
                  }
                },
                { "Transform":
                  {
                    "@DEF":"HATCH",
                    "@scale":[1.5,1.5,1.5],
                    "@translation":[-6.2,0.2,-1.5],
                    "-children":[
                      { "Group":
                        {
                          "@DEF":"CrewHatch",
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Extrusion":
                                    {
                                      "@ccw":false,
                                      "@crossSection":[0.30,0.35,0.20,0.45,-0.20,0.45,-0.45,0.20,-0.45,-0.20,-0.20,-0.45,0.20,-0.45,0.30,-0.35,0.30,0.35],
                                      "@spine":[0,-0.2,0,0,0.08,0]
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-texture":
                                        { "ImageTexture":
                                          {
                                            "@DEF":"CAMMIE",
                                            "@url":["../AAAV/cammie2.jpg","https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie2.jpg"]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[0.40,0.05,0.00],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Box":
                                          {
                                            "@size":[0.2,0.1,0.7]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-texture":
                                              { "ImageTexture":
                                                {
                                                  "@USE":"CAMMIE"
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[0,1,0,0.785],
                                "@translation":[-0.325,0,-0.325],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Box":
                                          {
                                            "@size":[0.3,0.06,0.05]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@ambientIntensity":0.26,
                                                  "@diffuseColor":[0.20,0.08,0.00],
                                                  "@shininess":0.08,
                                                  "@specularColor":[0.75,0.33,0.00]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[0,1,0,-0.785],
                                "@translation":[-0.325,0,0.325],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Box":
                                          {
                                            "@size":[0.3,0.06,0.05]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@ambientIntensity":0.26,
                                                  "@diffuseColor":[0.20,0.08,0.00],
                                                  "@shininess":0.08,
                                                  "@specularColor":[0.75,0.33,0.00]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[0,1,0,1.57],
                                "@translation":[-0.45,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Box":
                                          {
                                            "@size":[0.3,0.06,0.05]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@ambientIntensity":0.26,
                                                  "@diffuseColor":[0.20,0.08,0.00],
                                                  "@shininess":0.08,
                                                  "@specularColor":[0.75,0.33,0.00]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@DEF":"LTANT",
                    "@translation":[-2.4,0,-0.5],
                    "-children":[
                      { "Group":
                        {
                          "@DEF":"Antenna",
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Cone":
                                    {
                                      "@bottom":false,
                                      "@bottomRadius":0.2,
                                      "@height":0.5
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.1,0.1,0.1]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[0,1.4,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@bottom":false,
                                            "@height":3,
                                            "@radius":0.01
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.1,0.1,0.1]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@DEF":"RTANT",
                    "@translation":[-2.4,0,-4.5],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"Antenna"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@DEF":"ENGINE",
                    "@rotation":[0,0,1,0.40],
                    "@translation":[-6.8,-0.05,-3.5],
                    "-children":[
                      {
                        "#comment":"Engine jpg"
                      },
                      { "Shape":
                        {
                          "-geometry":
                            { "Box":
                              {
                                "@size":[2,0.1,1.5]
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-texture":
                                  { "ImageTexture":
                                    {
                                      "@url":["../AAAV/engine.jpg","https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/engine.jpg"]
                                    }
                                  }
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@DEF":"BACKDOOR",
                    "@rotation":[1,0,0,-1.57],
                    "@translation":[0.03,0,0],
                    "-children":[
                      {
                        "#comment":"Back door (swings open)"
                      },
                      { "Transform":
                        {
                          "@DEF":"TransomFlap",
                          "@rotation":[0,1,0,0.3],
                          "@scale":[0.9,0.9,0.9],
                          "@translation":[-0.7,2.5,-2.4],
                          "-children":[
                            { "Group":
                              {
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Extrusion":
                                          {
                                            "@convex":false,
                                            "@crossSection":[1.5,2.5,-1.5,2.5,-1.5,0.0,1.5,0.0,1.5,2.5],
                                            "@solid":false,
                                            "@spine":[0,0,0,0.05,0,0]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-texture":
                                              { "ImageTexture":
                                                {
                                                  "@USE":"CAMMIE"
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "CylinderSensor":
                              {
                                "@DEF":"TRANSOMCYLINDERSENSOR",
                                "@maxAngle":1.7,
                                "@minAngle":0.3
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@scale":[0.9,0.9,0.9],
                          "@translation":[-0.7,2.5,-2.4],
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Cylinder":
                                    {
                                      "@height":2.8,
                                      "@radius":0.1
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-texture":
                                        { "ImageTexture":
                                          {
                                            "@url":["../AAAV/green1.jpg","https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/green1.jpg"]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            {
                              "#comment":"This is the back door hinge."
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"rotation_changed",
              "@fromNode":"TRANSOMCYLINDERSENSOR",
              "@toField":"set_rotation",
              "@toNode":"TransomFlap"
            }
          }
        ]
    }
  }
}