Page 1 of 1

Biomes/seasons/etc

PostPosted: Wed Jan 11, 2012 21:30
by neko259
Make the same nodes use different textures in different biomes. Is it possible?

PostPosted: Wed Jan 11, 2012 23:25
by jordan4ibanez
well wouldnt it be better to just use different nodes?

PostPosted: Thu Jan 12, 2012 05:56
by Calinou
jordan4ibanez wrote:well wouldnt it be better to just use different nodes?

If you wanted to have dyanmic colored grass/foliage you would need quite a lot of node definitions. ;)
But yeah, that's a good idea. Now code it :P

PostPosted: Thu Jan 12, 2012 12:19
by robin
Or just a function in the scriptapi to change the texture of a node type live.

PostPosted: Thu Jan 12, 2012 12:43
by neko259
jordan4ibanez wrote:well wouldnt it be better to just use different nodes?

And make different recipes for them? Too much code and data, and it's not the best solution.

PostPosted: Thu Jan 12, 2012 12:53
by dannydark
What about how Minecraft does it? http://www.minecraftwiki.net/wiki/Biomes They use a single png colour image to change the type of biome based on temperature and rainfall (which with the weather patch by TeddyDesTodes should be possible in Minetest)

PostPosted: Thu Jan 12, 2012 12:58
by jordan4ibanez
yes i was going to recommend the png trick...but i doubt anyone will be able to code that to use sectors of the png..you'd have to rewrite the biome engine

PostPosted: Thu Jan 12, 2012 12:59
by dannydark
jordan4ibanez wrote:yes i was going to recommend the png trick...but i doubt anyone will be able to code that to use sectors of the png..you'd have to rewrite the biome engine


I didn't think Minetest had a biome engine.... but I may be wrong, I know TeddyDesTodes has added a biome system in his weather patch.

PostPosted: Thu Jan 12, 2012 13:04
by jordan4ibanez
yes it does..jungle trees are in a jungle biome...but right now biomes are really small on top of all that