Comments (3)
Thank you.
from skybolt.
It's not directly supported, but you might be able to do what you want with any one of these 3 methods:
Method 1. Combine both maps into a single map hierarchy. For example, imagine a situation where the tiles follow a <z>/<x>/<y>.png
naming convention, the low-res map goes up to level 8, and the high res map goes up to level 14. In that case you would combine the low res folders 0-8 into the same directory as the high-res folders 9-14.
Method 2. Use relative filesystem path to the tiles (this method doesn't work with http URL). You would specify the path to the tiles in the PlanetEarth.json as "url": "MyTiles/z/x/y.png"
. You would then create two asset packages, one with the high res tiles, and one with the low res tiles, and both packages would have their tile hierarchy under a MyTiles folder. When the engine searches at runtime for a tile, it will search in both asset packages, and find the appropriate tile in the appropriate package.
Method 3. Create a custom TileSource, derived from the TileSource
base class. This custom TileSource would wraps multiple tile sources. You'd have to write a custom createImage
function which calls createImage
on the appopriate wrapped TileSource for the tile level queried.
from skybolt.
OK,I got it.
from skybolt.
Related Issues (20)
- PlanetTileImagesLoader will go to pieces when “attributeLayer->getHighestAvailableLevel(key) ”not available; HOT 1
- Missing Environment/Ground/Ground026_1K_Color.jpg HOT 2
- Run minimalApp found camera are so sensitive HOT 2
- How to turn off sunlight in the scene graph? HOT 2
- The SKYBOLT_CACHE_DIR environmental variable doesn't take effect. HOT 6
- Can skyblt load tms tiles? HOT 3
- FreeCameraController and OrbitCameraController HOT 2
- How to remove all external forces on the helicopter uh60 HOT 5
- Load the model I found on the Internet to report an error. HOT 6
- building the v1.5.0 with JSBSIM failed HOT 4
- can not open include file: “SkyboltVis/Renderable/Planet/Tile/HeightMap.h”: No such file or directory HOT 7
- The material of the model loaded into the scene is wrong. HOT 3
- Customize the component display model HOT 7
- Building the v1.5.0 with package earcut not found HOT 1
- Terrain doesn't load in FlightSimApp. HOT 1
- conan version problem HOT 1
- Collisions with Terrain HOT 1
- Could not install packages with conan for v1.6 HOT 1
- Issues about the assets registered. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skybolt.