[Mod]Clouds[v2.0] [lib_clouds]

Post Reply
ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

[Mod]Clouds[v2.0] [lib_clouds]

by ShadMOrdre » Post

lib_clouds for Minetest is a mod that adds inworld clouds to your world. Currently, this mod attempts to mimic real world cloud behavior, using a system culled from Dokimi's Self Organizing Systems mod. This is controlled by using the lib_clouds_regeneration setting, which is currently set to false by default.

As such, this now includes a "Lite" version, enabled by default, that simply adds three types of clouds at various heights. Cloud generation and height parameters are configurable via in-game settings menu.

Biomes can be supported so that clouds appear in natural settings.

The goal is to grow this mod, (no pun intended) into an in-world weather system, using more the more realistic in_game generated data versus the current system based on self organizing systems.


Goals:
1. Add humidity and temperature, so that clouds also hold moisture, that if exceeds a threshold, will cause rain, snow, or even storms.
2. Fine tune regen algorithms to more closely mimic real cloud behavior.

Will honor reasonable pull requests.

LICENSES: I'd like to encourage this to be added to upstream, so if needs change just say the word.
Code: BSD
Textures: CC-BY-SA

DOWNLOAD HERE: lib_clouds

DEPENDENCIES:
Optional: Initllib, doc

SCREENSHOTS:
Image
Image
Image
Attachments
screenshot_20171122_210558.png
screenshot_20171122_210558.png (726.1 KiB) Viewed 1318 times
screenshot_20171122_204045.png
screenshot_20171122_204045.png (853.64 KiB) Viewed 1318 times
screenshot_20171122_203335.png
screenshot_20171122_203335.png (664.62 KiB) Viewed 1318 times
Last edited by ShadMOrdre on Sat Dec 02, 2017 16:53, edited 6 times in total.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by TumeniNodes » Post

Think I'll keep an eye on this...

time for another test world : )
A Wonderful World

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by azekill_DIABLO » Post

that is a very good idea!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by ShadMOrdre » Post

Updated version.

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by GamingAssociation39 » Post

Are you able to color the clouds by a texture?
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by azekill_DIABLO » Post

GamingAssociation39 wrote:Are you able to color the clouds by a texture?
It is technically possible thought it would be hard to render texture properly on so huge and random structure. However, if it's simple to do I wonder why it hasn't been done yet!

EDIT: nvm, I didn't know how the mod worked!
Last edited by azekill_DIABLO on Sun Nov 26, 2017 17:08, edited 1 time in total.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by ShadMOrdre » Post

GamingAssociation39 wrote:Are you able to color the clouds by a texture?

The clouds are a texture, with partial transparency. I've not tried to colorize them. I do not know if colorizing the texture using Minetest api in the tiles definition would work. Again, I've not tried this.

However, it would probably be just as easy to simply create a new texture that has the color(s) desired, keeping the transparency, and either change the code to use the new texture, or copy/paste the code to add additional cloud types, such as smog, gas, Mars themed or any other type one could think of.

My goal has been to work towards basing clouds on humidity/temperature inworld, and integrating this with a weather mod, so that you get rain/snow where appropriate.

Would you like this included?

Shad MOrdre

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [mod]Clouds for Minetest[v2.0] [lib_clouds] [minetest v0

by ShadMOrdre » Post

Bug Fixes.

Corrected Github link.
Biomes disabled by default.
Cloud regeneration disabled by default.
Fixed incorrect Doc data.

User avatar
voxelproof
Member
Posts: 1087
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: [mod]Clouds for Minetest[lib_clouds] [v1.0] [minetest v0

by voxelproof » Post

ShadMOrdre wrote:
GamingAssociation39 wrote:Are you able to color the clouds by a texture?
My goal has been to work towards basing clouds on humidity/temperature inworld, and integrating this with a weather mod, so that you get rain/snow where appropriate.

Would you like this included?

Shad MOrdre
As far as me is concerned I'd be delighted :) It's very interesting and improving the sky looks is imo one of the more important things to work on in order to give Minetest a distinct and attractive appearance. I've started a thread about clouds: viewtopic.php?f=5&t=18970 - maybe the example I included there would be some inspiration for you. Thanks for your work!
To miss the joy is to miss all. Robert Louis Stevenson

User avatar
Dokimi
Member
Posts: 227
Joined: Mon Sep 19, 2016 03:52
GitHub: DokimiCU

Re: [Mod]Clouds[v2.0] [lib_clouds]

by Dokimi » Post

Hmmm... Interesting. I only just noticed this. I'm guessing this is using stuff from my Doomsday mod (looking at the code...)?

I actually tried my own weather mod in Self Organizing Systems (Autosky). Admittedly it doesn't work very well, but you are welcome to incorporate everything you want from it. If you end up borrowing a lot from Autosky I'll add a link sending people here (I'm not going to develop Autosky any further).

Best of luck with my often incoherent rambling code!

User avatar
Mantar
Member
Posts: 582
Joined: Thu Oct 05, 2017 18:46
Contact:

Re: [Mod]Clouds[v2.0] [lib_clouds]

by Mantar » Post

Edit: Nevermind, I realized it was just that one type of cloud that wasn't transparent. In the interests of not making cloudlands difficult to expore, I made those transparent too.
Great mod!
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [Mod]Clouds[v2.0] [lib_clouds]

by Yvanhoe » Post

Just wondering: Do you have plans on modelling the whole water cycle with water generated on the ground during rain and evaporating into clouds during the day?

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [Mod]Clouds[v2.0] [lib_clouds]

by ShadMOrdre » Post

I had considered those dynamics, but worried about the cost to processing.

I can see where a combo of node timers and the ability to now read biome, temperature and humidity values from the map could be easily shaped into a better atmosphere system, one that could be used in games like Mars Survive as well.

The issue I've been experiencing lately, is that I am just not seeing the clouds generate in world anymore. I've not looked too deeply at the cause, but I have been wanting to do some different things with this mod, now that MT v5 has it's own Cloud API.

cuthbertdoublebarrel
Member
Posts: 348
Joined: Tue Apr 14, 2020 16:03
GitHub: cuthbert

Re: [Mod]Clouds[v2.0] [lib_clouds]

by cuthbertdoublebarrel » Post

just disabled mt cloud api and using yours instead with regional weather . the idea of adding coloured clouds was a good one .
coloured clouds was listed as one of MCs top mods. i must say it looked very impressive in the review . also very impressed by the terrain images you have been posting too .
Project BrutalTest...hide your Petz

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [Mod]Clouds[v2.0] [lib_clouds]

by ShadMOrdre » Post

cuthbertdoublebarrel,

Glad you like this mod and the pics I've posted.

This mod does need some TLC, or a fork. There is also the Smoke mod. Something in between this and that I think.

Shad

User avatar
j0j0n4th4n
Member
Posts: 249
Joined: Tue Jan 26, 2021 06:45

Re: [Mod]Clouds[v2.0] [lib_clouds]

by j0j0n4th4n » Post

This look incredible, I gonna try it out =}
By the way, do you think it would work with Skybox?
cdb_894a100ddd76

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests