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

Atmosphere layer suffers from clipping #105

Closed
AkeluX opened this issue Apr 7, 2017 · 1 comment
Closed

Atmosphere layer suffers from clipping #105

AkeluX opened this issue Apr 7, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@AkeluX
Copy link
Contributor

AkeluX commented Apr 7, 2017

See #102 for the initial bug report. This is a known issue that we plan to address using an option currently in feature/camera. This will be done similarly as in Android here: https://github.com/NASAWorldWind/WorldWindAndroid/blob/master/worldwind/src/main/java/gov/nasa/worldwind/WorldWindow.java#L1023

In the meantime, you can artificially increase the far clip distance in Navigator.js in Navigator.prototype.currentStateForModelview:

this.farDistance = WWMath.horizonDistanceForGlobeRadius(globeRadius, eyePos.altitude);
this.farDistance += 1437568.7253136805; //<-- add this line
if (this.farDistance < 1e3)
    this.farDistance = 1e3;
@AkeluX AkeluX added the bug label Apr 7, 2017
@AkeluX AkeluX added this to the v0.9.0 milestone Apr 7, 2017
strangerintheq added a commit to strangerintheq/WebWorldWind that referenced this issue May 1, 2017
@AkeluX
Copy link
Contributor Author

AkeluX commented May 10, 2017

Addressed by #118 with the workaround above

@pdavidc pdavidc added ready and removed backlog labels Aug 5, 2017
@ghost ghost assigned pdavidc Aug 5, 2017
@ghost ghost added needs review and removed ready labels Aug 5, 2017
AkeluX added a commit that referenced this issue Aug 8, 2017
@ghost ghost removed the needs review label Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants