Sokomine wrote:Hm, yes, trees are an issue. A function to add trees just by supplying their textures (bark, top of trunk, wood, leaves, fruits, shape, ...) would be welcome. I'd love to see a mod that adds the diffrent wood types by adding trees that look like the default (v6) tree/appletree - just with diffrent bark, leaves, fruit - and with the same shape. Such a mod (or the function thereof) ought to be part of minetest_game. I had to create a copy of default's tree code for the villages which is very annoying as far as maintenance goes but was required due to some changes not beeing possible without.
Moretrees are beautiful but less good as a regular supply of wood. Takes too long to chop them down.
Yeah, I was very tempted to take the tree code from minetest_game, but I want my new game to be free of minetest_game in that I don't have to keep an eye on certain parts of minetest_game, watching in case of updates. The only thing that I might use from minetest_game is the sound effects, but everything else will be completely new.
I'm hoping to generate trees that are about the same size as the Minetest C++ trees, though the shapes will come out differently. The branch in that screenshot is far longer than I want, but it's easier to see what the actual problem is when the branches are long. I've already got working (though simplistic) trees to replace apple trees (mapgen_apple) and apple trees (default:apple), though they don't work as well as they would if I could understand what was causing the leafless sides of branches issue. Jungle trees will probably be next, but pine trees will be a pain to implement.