Giter Club home page Giter Club logo

Comments (5)

lilleyse avatar lilleyse commented on May 26, 2024

@pjanetzek it would look something like this - two root tiles, each with implicit tiling.

{
  "asset": {
    "version": "1.1"
  },
  "geometricError": 631380.3810809468,
  "root": {
    "boundingVolume": {
      "region": [
        -3.141592653589793,
        -1.5707963267948966,
        3.141592653589793,
        1.5707963267948966,
        -113.30585479736328,
        306.65130615234375
      ]
    },
    "children": [
      {
        "boundingVolume": {
          "region": [
            -3.141592653589793,
            -1.5707963267948966,
            0,
            1.5707963267948966,
            -91.98120880126953,
            306.65130615234375
          ]
        },
        "content": {
          "uri": "0/{level}/{x}/{y}.glb"
        },
        "geometricError": 157845.0952702367,
        "implicitTiling": {
          "availableLevels": 16,
          "subdivisionScheme": "QUADTREE",
          "subtreeLevels": 7,
          "subtrees": {
            "uri": "0/{level}/{x}/{y}.subtree"
          }
        }
      },
      {
        "boundingVolume": {
          "region": [
            0,
            -1.5707963267948966,
            3.141592653589793,
            1.5707963267948966,
            -113.30585479736328,
            84.61588287353516
          ]
        },
        "content": {
          "uri": "1/{level}/{x}/{y}.glb"
        },
        "geometricError": 157845.0952702367,
        "implicitTiling": {
          "availableLevels": 5,
          "subdivisionScheme": "QUADTREE",
          "subtreeLevels": 7,
          "subtrees": {
            "uri": "1/{level}/{x}/{y}.subtree"
          }
        }
      }
    ],
    "geometricError": 315690.1905404734,
    "refine": "REPLACE"
  }
}

from 3d-tiles.

pjanetzek avatar pjanetzek commented on May 26, 2024

Thanks a lot! This works indeed :)

from 3d-tiles.

lilleyse avatar lilleyse commented on May 26, 2024

Great!

from 3d-tiles.

pjanetzek avatar pjanetzek commented on May 26, 2024

Thinking about this more I think it would be very handy to support the TMS tiling with two roots directly so that one could use existing tile servers without having to translate the URL somewhere.
E.g. one use case would be to use available quantized-mesh terrain data with an own cesium GltfConverter.

from 3d-tiles.

lilleyse avatar lilleyse commented on May 26, 2024

Yes, I could see there being higher level tiling schemes like TMS global-geodetic that implicitly translate to the example above.

from 3d-tiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.