Esri / i3s-lib

Apache License 2.0
28 stars 14 forks source link

If we change the default tile size 32 to 64, the display will be incorrectl. #11

Open zssai opened 2 years ago

zssai commented 2 years ago

Hello, @rvargasESRI @whatnick @vsautin1

We tried changingthe default tile size 32 to 64, as follows: std::vector<std::vector> grids; grids.emplace_back(std::move(elevation_data)); build_downsampled_grids(size, grids.front().data(), 64, grids); std::reverse(std::begin(grids), std::end(grids));

// auto writer = create_writer(slpk_file_path); if (!writer) return 1;

ENU_to_WGS_transformation transformation({ -123.4583943, 47.6204856 }); i3slib::i3s::Node_id node_id = 0;

if(!process(*writer, size, cell_size, grids, textures, 64, 128, 0, 64, { 0, 0 }, 128, { 0, 0 }, node_id, &transformation)) return 1;

Then run the app and get the new slpk , and published it to be a scene service. And, it shows that the scene service display normally in the browser.

Why the exception? Did we miss any other parameter?

Looking forward to your response.

zssai commented 2 years ago

1 2 3