PrincessGod / objTo3d-tiles

Convert obj model file to 3d tiles
https://princessgod.github.io/objTo3d-tiles
Apache License 2.0
781 stars 233 forks source link

the "transfrom" option in the customTilesetOptions.json seems to not be working #3

Open pogilon opened 6 years ago

pogilon commented 6 years ago

the "transfrom" option in the customTilesetOptions.json seems to not be working. Any ideas why? Thanks!

PrincessGod commented 6 years ago

I tried use transform in customTilesetOptions.json, it works fine. Maybe you give it a wrong value? This is my test config

{
    "region":         true,
    "transform":      [
            0.9686356343768792,
            0.24848542777253735,
            0,
            0,
            -0.15986460744966327,
            0.623177611820219,
            0.765567091384559,
            0,
            0.19023226619126932,
            -0.7415555652213445,
            0.6433560667227647,
            0,
            1215011.9317263428,
            -4736309.3434217675,
            4081602.0044800863,
            1
          ]
}

Actually transform replace longitude, latitude and transHeight.