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

Post Reply
ShadMOrdre
Member
Posts: 666
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
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
(726.1 KiB) Not downloaded yet
screenshot_20171122_204045.png
(853.64 KiB) Not downloaded yet
screenshot_20171122_203335.png
(664.62 KiB) Not downloaded yet
Last edited by ShadMOrdre on Sat Dec 02, 2017 16:53, edited 6 times in total.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

User avatar
TumeniNodes
Member
Posts: 2861
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 : )
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

User avatar
azekill_DIABLO
Member
Posts: 7497
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!

ShadMOrdre
Member
Posts: 666
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
Location: USA

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

by ShadMOrdre » Post

Updated version.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

User avatar
GamingAssociation39
Member
Posts: 844
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: 7497
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.

ShadMOrdre
Member
Posts: 666
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
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
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

ShadMOrdre
Member
Posts: 666
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
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.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

User avatar
voxelproof
Member
Posts: 990
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!
The core of the gaming joy is putting predatory fish of hazard into a transparent aquarium of Play. Guy Debord

User avatar
Dokimi
Member
Posts: 185
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: 97
Joined: Thu Oct 05, 2017 18:46

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!

User avatar
Yvanhoe
Member
Posts: 131
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: 666
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
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.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests