Model Articulations "Number" variable

Looking at the Model Articulations example on Sandcastle, I am trying to determine what the values in each number array for the stages represent. Specifically the “Fairing Drop” values. Can someone clarify what these values are? https://sandcastle.cesium.com/index.html?src=CZML%20Model%20Articulations.html&label=CZML

Thanks

Welcome to the Cesium community!

You can find this documented here: https://cesium.com/docs/cesiumjs-ref-doc/ModelGraphics.html?classFilter=ModelGr#articulations

Gets or sets the set of articulation values to apply to this model. This is represented as an PropertyBag , where keys are composed as the name of the articulation, a single space, and the name of the stage.

If you look inside the glTF model you’ll see these names defined as an extension:

{
      "mesh": 5,
      "name": "Fairing1",
      "translation": [
        0,
        -2.7000010013580322,
        3.3499984741210938
      ],
      "extensions": {
        "AGI_articulations": {
          "articulationName": "Fairing"
        }
      },
      "rotation": [
        0,
        0,
        0,
        1
      ],
      "scale": [
        1,
        1,
        1
      ]
    }

And the stages defined:

{
          "name": "Fairing",
          "stages": [
            {
              "name": "Separate",
              "type": "yTranslate",
              "minimumValue": -1000,
              "maximumValue": 0,
              "initialValue": 0
            },
            {
              "name": "Drop",
              "type": "zTranslate",
              "minimumValue": -1000,
              "maximumValue": 0,
              "initialValue": 0
            },
            {
              "name": "Open",
              "type": "xRotate",
              "minimumValue": 0,
              "maximumValue": 180,
              "initialValue": 0
            },
            {
              "name": "Size",
              "type": "uniformScale",
              "minimumValue": 0,
              "maximumValue": 1,
              "initialValue": 1
            }
          ]
        }

You can read more about this glTF extension here: https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Vendor/AGI_articulations/README.md.

What kind of project are you working on?

1 Like