Skip to content

Conversation

Mc-Pain
Copy link
Contributor

@Mc-Pain Mc-Pain commented May 21, 2025

Faster approach lead to some unpleasant render artefacts, use slower but accurate approach.

This also makes water reflect rays from skylight, bringing realistic Earth colors.

@fluffyfreak
Copy link
Contributor

Nice work. Would you mind giving some explanation of the above tropopause work in here just so that I can understand it.

@Mc-Pain
Copy link
Contributor Author

Mc-Pain commented May 21, 2025

Would you mind giving some explanation of the above tropopause work in here just so that I can understand it.

Model uses two different formulas for calculating pressure/density
One below tropopause (where temperature decreases with height)
One above tropopause (where temperature is constant)

The one above tropopause is not implemented yet.

@impaktor
Copy link
Member

Any pictures?

What would "slow" vs "fast" mean here, in performance? Would this put a burden on older machines that can still run pioneer?

@Mc-Pain
Copy link
Contributor Author

Mc-Pain commented May 22, 2025

Any pictures?

#5617 (comment)

What would "slow" vs "fast" mean here, in performance? Would this put a burden on older machines that can still run pioneer?

slow - O(n^2) complexity: 8 samples for calculating density for light ray
fast - O(n) complexity: 1 sample approximating density for light ray but it looks wrong near terminator

@Mc-Pain
Copy link
Contributor Author

Mc-Pain commented Jul 24, 2025

This fixes #6052

@fluffyfreak
Copy link
Contributor

There seem to be some commits that don't belong in this change history now

@Mc-Pain
Copy link
Contributor Author

Mc-Pain commented Jul 28, 2025

There seem to be some commits that don't belong in this change history now

fixed

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

Successfully merging this pull request may close these issues.

3 participants