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

Implement fog in raytracer #534

Open
kpreid opened this issue Sep 25, 2024 · 0 comments
Open

Implement fog in raytracer #534

kpreid opened this issue Sep 25, 2024 · 0 comments
Labels
area: graphics kind: incomplete A feature is partially implemented; the current state of the code is inconsistent

Comments

@kpreid
Copy link
Owner

kpreid commented Sep 25, 2024

In principle, this is simple: we already have support for volumetric rendering, and we just need to count empty space as containing the fog. In practice,

  • the current code has lots of assumptions that empty space can be skipped and has zero effect other than possibly being the end of a semi-transparent material, and
  • the fog we are trying to render has a non-uniform density, so we need a special calculation for it.
@kpreid kpreid added kind: incomplete A feature is partially implemented; the current state of the code is inconsistent area: graphics labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics kind: incomplete A feature is partially implemented; the current state of the code is inconsistent
Projects
None yet
Development

No branches or pull requests

1 participant