Rewrite Flowers

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Rewrite Flowers

by Gael de Sailly » Thu Oct 02, 2014 18:21

I'm working on Flowers, a minetest_game mod which (I think) should be rewritten.
Especially the problem is in the spreading algorithm. When there are 4 flowers in a 9x9x9 cube, they stop changing forever. But, in the real life, nature is constantly changing.

I will perhaps rewrite the mapgen also.
If you have others suggestions, please post replies.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Rewrite Flowers

by Krock » Thu Oct 02, 2014 18:50

+1
It could be difficult to not cover everything with flowers after a time..
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Rewrite Flowers

by Gael de Sailly » Fri Oct 03, 2014 12:32

I thought about it.
In the old code, there was a maximal density (4 flowers in 9x9x9 nodes) after which they stop spreading. But the aim is not to remove this feature, but to make them continue changing without increasing density. My idea is to add the fact that a flower has a small chance to disappear every time this ABM is runned. And it modelize the wilting of the flowers.
I will perhaps add noise conditions for flowers spreading.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Rewrite Flowers

by Hybrid Dog » Sun Oct 05, 2014 10:49

 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Rewrite Flowers

by Gael de Sailly » Sun Oct 05, 2014 14:25

It's not exactely what I think : I would like to define a noise for each flower to make differences between places : in the nature there aren't the same species of flowers everywhere.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

Zeno
Member
 
Posts: 140
Joined: Sun Jun 29, 2014 03:36
GitHub: Zeno-

Re: Rewrite Flowers

by Zeno » Sun Oct 05, 2014 15:52

If you need help with this I am very willing. It's been something I've wanted to do for a long time.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Rewrite Flowers

by Hybrid Dog » Sun Oct 05, 2014 17:07

I don't know if using perlin noise only works when generating map...
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 8 guests

cron