Page 1 of 1
[Mod] plantlike leaves style [plantlike_leaves]

Posted:
Sun Oct 18, 2015 10:07
by Hybrid Dog
This mod changes the look of default trees.
Add plantlike_leaves = true to minetest.conf to make it work
and plantlike_leaves_rotated = true to make plantlike leaves become rotated randomly, which looks great but doesn't work correctly together with leafdecay.
Depends: default
License: WTFPL
Download: zip,
tar.gzgithub: plantlike_leaves
If you got ideas or found bugs, please tell them to me.
How to install a mod?
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Sun Oct 18, 2015 10:21
by qwertymine3
Would it be possible to have a summary table of the rendering performance of these leaves against the configurable in-game types. I'd assume that it is somewhere between fancy and simplified, but it would be nice to have some statistics.
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Sun Oct 18, 2015 10:49
by Kevin Tee
The leaves is replace by two planes right? Looks great, and the performance might increase as well.
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Sun Oct 18, 2015 12:01
by TenPlus1
Agreed, Ethereal mod uses these types of leaves to keep things fast also.
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Sun Oct 18, 2015 14:49
by Hybrid Dog
qwertymine3 wrote:Would it be possible to have a summary table of the rendering performance of these leaves against the configurable in-game types. I'd assume that it is somewhere between fancy and simplified, but it would be nice to have some statistics.
lt is possible, l don't know how to do it.
Kevin Tee wrote:The leaves is replace by two planes right? Looks great, and the performance might increase as well.
yes, thanks
TenPlus1 wrote:Agreed, Ethereal mod uses these types of leaves to keep things fast also.
Does ethereal also rotates the plantlike leaves randomly (degrotate paramtype2)?
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Sun Oct 18, 2015 14:53
by TenPlus1
Leaves appear as is, no rotation unless you are placing them manually in which case param2 is used so leafdecay doesn't make them disappear.
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Mar 17, 2016 18:04
by Hybrid Dog
l updated the mod, it now works for every leaves, not just default ones. Tell me if l should add a setting to make it work on default nodes only.
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Mar 17, 2016 21:21
by burli
This is nice. Good work
Re: [Mod] plantlike leaves [plantlike_leaves]

Posted:
Thu Mar 17, 2016 21:48
by burli
qwertymine3 wrote:Would it be possible to have a summary table of the rendering performance of these leaves against the configurable in-game types. I'd assume that it is somewhere between fancy and simplified, but it would be nice to have some statistics.
I have the same fps as fancy. No significant difference
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Fri Mar 18, 2016 14:50
by burli
Found a bug with snow

Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Fri Mar 18, 2016 17:42
by Hybrid Dog
burli, in reality needles covered with snow are only entirely white seen from above if enough snow covers them, as far as l know, snow uses the leveled nodebox and can have different heights, so not every pine should look same, l think this isn't added yet
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Apr 07, 2016 14:38
by burli

Leafs in Minecraft seems to be made of regular leafs and plantlike leafs. And the plantlike leafs are shifted randomly and are not square. Looks nice
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Apr 07, 2016 15:19
by Hybrid Dog
thanks for informing me, l think such leaves can't be made by a mod in minetest (without causing lots of lag)
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Apr 07, 2016 15:58
by ExeterDad
I think Sofar is working on something like this. Random offset centers, rotations, sizes and even plant shapes x + # * (<== The shapes)
I believe it's on Github and he even showed a demo video. Looks cool.
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Apr 07, 2016 18:05
by sofar
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Thu Apr 07, 2016 18:26
by burli
I think it would be better too add the additional faces to the leaf nodes because of the waving. The waving of the plantlike leafs looks a little bit strange
Re: [Mod] plantlike leaves style [plantlike_leaves]

Posted:
Fri Apr 08, 2016 03:31
by philipbenr
burli wrote:
Leafs in Minecraft seems to be made of regular leafs and plantlike leafs.
Looks a bit like the new firelike drawtype...