Skip to content

🪲 Fix bug with atmosphere problems on one eye.#421

Merged
JonasGilg merged 2 commits intocosmoscout:mainfrom
Slinyu:feature/atmosphere-bug-fix
Mar 4, 2026
Merged

🪲 Fix bug with atmosphere problems on one eye.#421
JonasGilg merged 2 commits intocosmoscout:mainfrom
Slinyu:feature/atmosphere-bug-fix

Conversation

@Slinyu
Copy link
Copy Markdown
Collaborator

@Slinyu Slinyu commented Feb 3, 2026

Fix bug from issue #420 with atmosphere not rendering properly on one eye. This happened after #407 introduced the bug. The reason is that before #407 the depth and color buffers were copied on each Do(). Since #407 the copying through "mDirty = true" does not have the wished for effect. Now the "forceCopy" parameter is set to true and used to ensure copying properly.

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21632559816

Details

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.001%) to 1.189%

Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/csp-atmospheres/src/Atmosphere.cpp 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
src/cs-core/GraphicsEngine.cpp 1 0.0%
Totals Coverage Status
Change from base Build 17855427817: 0.001%
Covered Lines: 201
Relevant Lines: 16911

💛 - Coveralls

@JonasGilg
Copy link
Copy Markdown
Member

Seems to be an easy fix. Have you tried it with a stereo display?

The build error on Windows seems to be unrelated. I think the download link to CEF broke.

@JonasGilg JonasGilg self-requested a review February 24, 2026 09:01
@JonasGilg JonasGilg added the bug Something isn't working label Feb 24, 2026
@JonasGilg JonasGilg linked an issue Feb 24, 2026 that may be closed by this pull request
@JonasGilg
Copy link
Copy Markdown
Member

The build error for the pipeline is fixed, please merge the latest changes from main.

Copy link
Copy Markdown
Member

@JonasGilg JonasGilg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thak you very much.

@JonasGilg JonasGilg merged commit c9d63bf into cosmoscout:main Mar 4, 2026
6 checks passed
Benman2785 added a commit to Benman2785/cosmoscout-vr that referenced this pull request Mar 19, 2026
Benman2785 added a commit to Benman2785/cosmoscout-vr that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Depth Buffer Issues with Stereo Rendering

3 participants