{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interactive",
    "@version":"4.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-4.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"r_calf.x3d"
          },
          {
            "@name":"description",
            "@content":"r_calf includes r_patella, r_tibia and r_fibula"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman, Joe Williams"
          },
          {
            "@name":"created",
            "@content":"15 March 2026"
          },
          {
            "@name":"modified",
            "@content":"3 April 2026"
          },
          {
            "@name":"reference",
            "@content":"https://en.wikipedia.org/wiki/Calf_(leg)"
          },
          {
            "@name":"reference",
            "@content":"https://en.wikipedia.org/wiki/Human_leg"
          },
          {
            "@name":"reference",
            "@content":"https://en.wikipedia.org/wiki/Human_leg#/media/File:Human_leg_bones_labeled.svg"
          },
          {
            "@name":"specificationSection",
            "@content":"X3D 4.0 Architecture, ISO/IEC 19775-1:202x draft version 4.1, clause 4 Concepts, section 4.11.6.6 LOA‑5 hierarchy"
          },
          {
            "@name":"specificationUrl",
            "@content":"https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#Hierarchy5"
          },
          {
            "@name":"reference",
            "@content":"usage examples https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"generator",
            "@content":"X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_calf.x3d"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"03 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":
            {
              "@title":"r_calf.x3d"
            }
          },
          {
            "#comment":"user hover lights bone and reveals description, user selection/deselection temporarily binds/unbinds close-up hidden viewpoint"
          },
          { "TouchSensor":
            {
              "@DEF":"UserTouchSensor",
              "@description":"r_calf is r_patella, r_tibia and r_fibula bones"
            }
          },
          {
            "#comment":"vertical offset to max height of r_hip_bone"
          },
          { "Transform":
            {
              "@DEF":"r_calf",
              "@translation":[-0.0858,0.2663,-0.0542],
              "-children":[
                { "ViewpointGroup":
                  {
                    "@DEF":"ViewpointGroup_r_calf",
                    "@description":"r_calf model",
                    "@retainUserOffsets":true,
                    "-children":[
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromFront",
                          "@description":"r_calf front",
                          "@nearDistance":0.001,
                          "@position":[0,0,0.6],
                          "@retainUserOffsets":true
                        }
                      },
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromBehind",
                          "@description":"r_calf from left side",
                          "@nearDistance":0.001,
                          "@orientation":[0,1,0,1.570796],
                          "@position":[0.6,0,0],
                          "@retainUserOffsets":true
                        }
                      },
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromLeft",
                          "@description":"r_calf from behind",
                          "@nearDistance":0.001,
                          "@orientation":[0,1,0,3.14159],
                          "@position":[0,0,-0.6],
                          "@retainUserOffsets":true
                        }
                      },
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromRight",
                          "@description":"r_calf from right side",
                          "@nearDistance":0.001,
                          "@orientation":[0,1,0,-1.570796],
                          "@position":[-0.6,0,0],
                          "@retainUserOffsets":true
                        }
                      },
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromAbove",
                          "@description":"r_calf from above",
                          "@nearDistance":0.001,
                          "@orientation":[1,0,0,-1.570796],
                          "@position":[0,0.6,0],
                          "@retainUserOffsets":true
                        }
                      },
                      { "Viewpoint":
                        {
                          "@DEF":"ViewFromBelow",
                          "@description":"r_calf from below",
                          "@nearDistance":0.001,
                          "@orientation":[1,0,0,1.570796],
                          "@position":[0,-0.6,0],
                          "@retainUserOffsets":true
                        }
                      }
                    ]
                  }
                },
                {
                  "#comment":"nevertheless, TouchSensor interfaces from each of the Inline models are closer, taking priority and overriding this interface"
                },
                { "Viewpoint":
                  {
                    "@DEF":"HiddenViewpoint",
                    "@nearDistance":0.001,
                    "@position":[0,0,0.6],
                    "@retainUserOffsets":true,
                    "-navigationInfo":[
                      { "NavigationInfo":
                        {
                          "@transitionType":["ANIMATE"],
                          "@type":["EXAMINE"]
                        }
                      }
                    ]
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"isActive",
                    "@fromNode":"UserTouchSensor",
                    "@toField":"set_bind",
                    "@toNode":"HiddenViewpoint"
                  }
                },
                { "DirectionalLight":
                  {
                    "@DEF":"HiddenLight",
                    "@ambientIntensity":1,
                    "@color":[0.1,0.1,1],
                    "@on":false
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"isOver",
                    "@fromNode":"UserTouchSensor",
                    "@toField":"on",
                    "@toNode":"HiddenLight"
                  }
                }
              ]
            }
          },
          {
            "#comment":"TODO <Inline DEF='r_patella' url='\"r_patella.x3d\"'/>"
          },
          { "Inline":
            {
              "@DEF":"r_tibia",
              "@url":["r_tibia.x3d","https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_tibia.x3d","r_tibia.wrl","https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_tibia.wrl"]
            }
          },
          { "Inline":
            {
              "@DEF":"r_fibula",
              "@url":["r_fibula.x3d","https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_fibula.x3d","r_fibula.wrl","https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_fibula.wrl"]
            }
          }
        ]
    }
  }
}