{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"3.2",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.2.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"AGM65Maverick.x3d"
          },
          {
            "@name":"creator",
            "@content":"Al Shaffer"
          },
          {
            "@name":"description",
            "@content":"AGM-65M Maverick Missile, as a component of P-3C Orion aircraft, for MV3204 course."
          },
          {
            "@name":"created",
            "@content":"20 January 2005"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"warning",
            "@content":"http://bugzilla.xj3d.org/show_bug.cgi?id=576"
          },
          {
            "@name":"reference",
            "@content":"http://en.wikipedia.org/wiki/AGM-65_Maverick"
          },
          {
            "@name":"reference",
            "@content":"https://www.fas.org/man/dod-101/sys/smart/agm-65.htm"
          },
          {
            "@name":"reference",
            "@content":"http://www.designation-systems.net/dusrm/m-65.html"
          },
          {
            "@name":"reference",
            "@content":"http://www.globalsecurity.org/military/systems/munitions/agm-65-pics.htm"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/AGM65Maverick.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 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":[
          {
            "#comment":"NavigationInfo node and Viewpoint node are added to make examination of objects easier."
          },
          { "WorldInfo":
            {
              "@title":"AGM65Maverick.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"AGM-65 Maverick missile",
              "@position":[0,0,15]
            }
          },
          { "Transform":
            {
              "@rotation":[0,1,0,3.14159],
              "-children":[
                { "Transform":
                  {
                    "@DEF":"MISSILE_TRANSFORM",
                    "-children":[
                      { "Group":
                        {
                          "-children":[
                            {
                              "#comment":"Draw Cylinder to form main body of the missile."
                            },
                            { "Transform":
                              {
                                "@rotation":[0,0,1,1.57],
                                "@scale":[1,7,1],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                          }
                                        },
                                      "-children":[
                                        {
                                          "#comment":"Define a color for Low-IR gray, used on many tactical platforms and systems."
                                        }
                                      ],
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@DEF":"LOW_IR_GRAY",
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.745,0.745,0.745],
                                                  "@emissiveColor":[0.1,0.1,0.1],
                                                  "@specularColor":[0.3,0.3,0.3]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw Sphere to form nose of missile."
                            },
                            { "Transform":
                              {
                                "@translation":[-7,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@radius":1.005
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"LOW_IR_GRAY"
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw smaller Sphere for nose guidance lens."
                            },
                            { "Transform":
                              {
                                "@translation":[-7.45,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@radius":0.73
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.722,0.525,0.043],
                                                  "@shininess":0.6,
                                                  "@specularColor":[0.5,0.5,0.5]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw four upper fins around missile body."
                            },
                            { "Group":
                              {
                                "-children":[
                                  { "Transform":
                                    {
                                      "@translation":[-2,0.99,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@DEF":"UPPER_FIN",
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"LOW_IR_GRAY"
                                                }
                                              },
                                            "-geometry":
                                              { "IndexedFaceSet":
                                                {
                                                  "@coordIndex":[0,1,2,3,-1],
                                                  "@solid":false,
                                                  "-coord":
                                                    { "Coordinate":
                                                      {
                                                        "@point":[0,0,0,6.3,0,0,6.3,1.4,0,0,0,0]
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,1.57],
                                      "@translation":[-2,0,0.99],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"UPPER_FIN"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.57],
                                      "@translation":[-2,0,-0.99],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"UPPER_FIN"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,3.14],
                                      "@translation":[-2,-0.99,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"UPPER_FIN"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw four lower fins around missile body."
                            },
                            { "Group":
                              {
                                "-children":[
                                  { "Transform":
                                    {
                                      "@translation":[5.8,0.99,0],
                                      "-children":[
                                        {
                                          "#comment":"Draw fin object"
                                        },
                                        { "Shape":
                                          {
                                            "@DEF":"LOWER_FIN",
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"LOW_IR_GRAY"
                                                }
                                              },
                                            "-geometry":
                                              { "IndexedFaceSet":
                                                {
                                                  "@coordIndex":[0,1,2,3,4,-1],
                                                  "@solid":false,
                                                  "-coord":
                                                    { "Coordinate":
                                                      {
                                                        "@point":[-0.4,0,0,-0.4,1.4,0,0.66,1.4,0,0.66,0,0,0,0,0]
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        },
                                        {
                                          "#comment":"Draw pinion object"
                                        },
                                        { "Shape":
                                          {
                                            "@DEF":"LOWER_FIN_PINION",
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"LOW_IR_GRAY"
                                                }
                                              },
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@height":0.45,
                                                  "@radius":0.1
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,1.57],
                                      "@translation":[5.8,0,0.99],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN"
                                          }
                                        },
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN_PINION"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.57],
                                      "@translation":[5.8,0,-0.99],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN"
                                          }
                                        },
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN_PINION"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,3.14],
                                      "@translation":[5.8,-0.99,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN"
                                          }
                                        },
                                        { "Shape":
                                          {
                                            "@USE":"LOWER_FIN_PINION"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw yellow band around body."
                            },
                            { "Transform":
                              {
                                "@rotation":[0,0,1,1.57],
                                "@translation":[-5,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@bottom":false,
                                            "@height":0.75,
                                            "@radius":1.01,
                                            "@top":false
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[1,1,0],
                                                  "@specularColor":[0.3,0.3,0.3]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw brown band around body."
                            },
                            { "Transform":
                              {
                                "@rotation":[0,0,1,1.57],
                                "@translation":[4.85,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@bottom":false,
                                            "@height":0.75,
                                            "@radius":1.01,
                                            "@top":false
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.55,0.27,0.08]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw black rings around body."
                            },
                            { "Group":
                              {
                                "-children":[
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[-6.3,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@DEF":"BLACK_RING",
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@bottom":false,
                                                  "@height":0.03,
                                                  "@radius":1.01,
                                                  "@top":false
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                        "@diffuseColor":[0,0,0]
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[-3.5,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"BLACK_RING"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[2,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"BLACK_RING"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[6.85,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"BLACK_RING"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw exhaust port of missile."
                            },
                            { "Transform":
                              {
                                "@rotation":[0,1,0,1.57],
                                "@translation":[7.01,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0,0,0],
                                                  "@specularColor":[0.3,0.3,0.3]
                                                }
                                              }
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":0.01,
                                            "@radius":0.9
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            {
                              "#comment":"Draw launch rails of body of missile."
                            },
                            { "Group":
                              {
                                "-children":[
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,0.785],
                                      "@translation":[-4.9,0.68,0.68],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Box":
                                                {
                                                  "@size":[1.2,0.25,0.75]
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@DEF":"DARK_GRAY",
                                                  "-material":
                                                    { "Material":
                                                      {
                                                        "@diffuseColor":[0.55,0.55,0.55],
                                                        "@specularColor":[0.3,0.3,0.3]
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,0.785],
                                      "@translation":[2,0.68,0.68],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Box":
                                                {
                                                  "@size":[3.5,0.25,0.75]
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"DARK_GRAY"
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[-4.9,0.93,0.63],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@DEF":"SHORT_RAIL",
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@height":1.2,
                                                  "@radius":0.08
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"DARK_GRAY"
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[-4.9,0.63,0.93],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"SHORT_RAIL"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[2,0.63,0.93],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@DEF":"LONG_RAIL",
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@height":3.5,
                                                  "@radius":0.08
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "@USE":"DARK_GRAY"
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.57],
                                      "@translation":[2,0.93,0.63],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "@USE":"LONG_RAIL"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}