3DTiles debugShowBoundingVolume why spheres not cubes?

Hi, with 3DTiles in Cesium and tileset.debugShowBoundingVolume = true.

What sets whether the bounding volume is rendered using a sphere or cube?

I have two different 3dtile sets, one shows cubes (what I’d prefer) and the other shows sphere (is just a a complete mess!!)

eg. cubes and spheres.

I’m using Cesum 1.66

tileset.debugShowBoundingVolume = true;

Thanks

Figured it out. The 3DTilesets (from different sourceS) have different boundingVolumes within them :-

The one rendering as cube obvoously has boxes…

“boundingVolume”: {

      "box": [

        -7.552371978759766,

        9.71988296508789,

        -71.29527282714844,

        91.8983039855957,

        0,

        0,

        0,

        132.14977645874023,

        0,

        0,

        0,

        20.931541442871094

      ]

    },

While the one rendering as spheres has…

“root”: {

"boundingVolume": {

  "sphere": [

    -4648154.829095593,

    2552186.1240094937,

    -3533556.55831883,

    10071.914816037308

  ]

},

Thanks.

Thanks for posting the solution Andrew!

What kind of work are you doing with 3D Tiles?