Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Feature for souterrain/underground data visualization #2281

Open
AnthonyGlt opened this issue Feb 26, 2024 · 0 comments
Open

[Proposal] Feature for souterrain/underground data visualization #2281

AnthonyGlt opened this issue Feb 26, 2024 · 0 comments

Comments

@AnthonyGlt
Copy link
Contributor

Context

Having a feature for souterrain/underground data visualization could add a new dimension in iTowns.

Proposal

Having the possibility to see through the ground to look at underground data such as sewer, fiber cable, subway line etc...
The globe/plan opacity will decrease and show this kind of data.

Implementation

Must hide the skirt #2280
Disable the atmosphere and change the background colour of the scene, or else it will be blinding
Decrease the globe/plan opacity

Example of the code to achieve the wanted result:

view.tileLayer.hideSkirt = true;
view.tileLayer.opacity = 0.2;             
const atmo = view.getLayerById('atmosphere');
atmo.visible = false;
view.scene.background = new itowns.THREE.Color(0x000000);

232458669-e1719590-852a-4648-bd3b-a58ebd09bd90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant