Hi! My first question here.
OpenStreetMap supports GLB file-tiles, I want to load and show.
My code runs at a local or real server. The Tiles are at a different path:
https://gltiles.osm2world.org/glb/
The GLB file i.e. would be at the relativ path
lod1/15/17388/11332.glb
And the Textures in the GLB are like
textures/cc0textures/Concrete034/Concrete034_Color.jpg
This jpg would be at
You see, the texture are …/…/…/ relative to the GLB
If I set this to loader.path the URL of my source code gets added and it can’t work.
Is this correct? How can I avoid this?
If I set both url and path absolute, they get added!
How should I set the url and the path to get it running?
You may test it the Three Example for gltf loading
and with the paths, noted above.