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 with varied gases #2

Open
4 of 6 tasks
zenith391 opened this issue Apr 8, 2022 · 3 comments
Open
4 of 6 tasks

Atmosphere with varied gases #2

zenith391 opened this issue Apr 8, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@zenith391
Copy link
Owner

zenith391 commented Apr 8, 2022

Eventually, an atmosphere should be added which would interact with #1 by having organisms use CO2 to produce O2 and have reactions with other gases (deadly gases, etc.)
The following gases should be implemented (more to come): Oxygen (O2), Carbon Dioxyde (CO2), Water Vapor (H2O)

  • Implement gases with pressure represented as N extruded spheres at different levels of altitude (N is to be determined)
  • Add Oxygen
  • Add Carbon Dioxyde
  • Add Water Vapor
  • Add an optional visualisation of those gases pressure (similar to the way we can see the surface's temperature by pressing middle mouse)
  • Clouds?
@zenith391
Copy link
Owner Author

Finally I came up with just having a single mass of gas for each point instead of using multiple pressures (with N extruded spheres), this is much simpler to use, think about, visualize, and also make algorithms faster.
It's also decided Oxygen and Carbon Dioxide rates will be applied globally, to the whole planet, as winds and local pressures changes of Oxygen don't matter. This allows using less memory and less CPU time for simulating. Also allows to easily add similar gases like Nitrogen and potentially Sulfur.

@zenith391 zenith391 added the enhancement New feature or request label Jun 17, 2022
@zenith391
Copy link
Owner Author

Only thing missing before I close this issue is clouds (I already added them but they're not complete)

@zenith391
Copy link
Owner Author

For clouds, I could mix them with a sliding noise map (voronoi? for clouds?) so that you get the illusion of moving clouds while also having it depend on the precipitation data. Best would be simili-3D using something like parallax mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant