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

CesiumSunSky atmosphere pop in at high elevations #1373

Open
csciguy8 opened this issue Mar 12, 2024 · 4 comments
Open

CesiumSunSky atmosphere pop in at high elevations #1373

csciguy8 opened this issue Mar 12, 2024 · 4 comments

Comments

@csciguy8
Copy link
Contributor

Reported on the forum here...
https://community.cesium.com/t/the-problem-of-crossing-the-sky/30415

dd8584973592eeaf8e52426ed7d295871bb6994e

@kring
Copy link
Member

kring commented Mar 13, 2024

Is this addressed by the advice in the tutorial?
image

(from the end of this section: https://cesium.com/learn/unreal/unreal-geospatially-accurate-sun/#sky-atmosphere-component)

@csciguy8
Copy link
Contributor Author

csciguy8 commented Mar 13, 2024

Missed that snippet. Yes, that probably resolves it.

@kring , would it be worth exploring a solution where this just works "out of the box"?

Going into "space view" might be an edge case for a general Unreal user, but is probably much more common for a Cesium user.

@kring
Copy link
Member

kring commented Mar 14, 2024

Well, I suppose we could set those CVars automatically. But there are consequences, described here:
https://docs.unrealengine.com/5.3/en-US/sky-atmosphere-component-in-unreal-engine/#movingfromgroundtoouterspace
I'm not aware of any better options.

@csciguy8
Copy link
Contributor Author

csciguy8 commented Mar 18, 2024

Btw, I can see this pop even in our cesium-unreal-samples, Level 04, when just flying to different locations.

If I turn off those CVar optimizations, it seems to fix the pop, and oddly enough, I don't see any of the problems mentioned.

If we did want to automatically configure those CVars, we can do probably do that in CesiumSunSky here, where it is already doing some logic based on the current pawn's position.

(FYI, the pop seems to happen around a height of 70,000 meters)

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

2 participants