Closed skemaikin closed 10 months ago
Hi did you try with 2.1 also?
Hi did you try with 2.1 also?
Yes, I did. Tiles generated by v.2.1 do not display (but they do load). v.1.8.5 - all correct.
ok, is there a minimal Deck.gl client to reproduce this? Maybe also a sample when it was working.
ok, is there a minimal Deck.gl client to reproduce this? Maybe also a sample when it was working.
deckgl-viewer.zip
Tileset hosted on localhost:3000/tileset.json
You can change this url (app.js:90
). Nodejs v.18.18.2.
Something to check: If the client only support 1.0 (so only .b3dm files) you have to use ' --create_gltf false' also (otherwise glb's are created)
Something to check: If the client only support 1.0 (so only .b3dm files) you have to use ' --create_gltf false' also (otherwise glb's are created)
Yes, I did so. ... --create_gltf false --use_implicit_tiling false
Fixed it in https://github.com/Geodan/pg2b3dm/commit/fb80c4f577179951bc8ec560cf4c61d3085e7b79
You can also change in tileset.json the transform the last 0 to 1:
From
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
1238318.875,
-4794808.5,
4006101.5,
0.0
To
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
1238318.875,
-4794808.5,
4006101.5,
1.0
Fixed it in fb80c4f
Now it works fine!!!
Another wish: It seems to me that while using the parameters --create_gltf false --use_implicit_tiling false
the version can be defined as 1.0
. Of course as per your preferences )))
Great it works :-)
I shall look into the version 1.0 when --create_gltf false --use_implicit_tiling false for next release
PR for setting 1.0 version see https://github.com/Geodan/pg2b3dm/pull/138
2.2.0 is released with these fixes
Hi,
Tiles generated by versions
2.x.x
(starting from version 2.0.0, 4978 -> 4326) are not drawn by thedeck.gl
library. They are loaded, but not drawn.Tiles are prepared with
use_implicit_tiling=false
. Theasset.version
inside theteleset.json
was manually changed to1.0
(the tileset follows this format).Thanks!