[Mod] plantlike leaves style [plantlike_leaves]

Post Reply
User avatar
Hybrid Dog
Member
Posts: 2771
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

[Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Post

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.gz
github: plantlike_leaves

Image

If you got ideas or found bugs, please tell them to me.

How to install a mod?
Attachments
screenshot_20151018_115734.png
(504.57 KiB) Not downloaded yet
Last edited by Hybrid Dog on Thu Mar 17, 2016 17:51, edited 3 times in total.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
qwertymine3
Member
Posts: 202
Joined: Wed Jun 03, 2015 14:33
GitHub: Qwertymine
In-game: qwertymine3

Re: [Mod] plantlike leaves [plantlike_leaves]

by qwertymine3 » Post

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.
Avatar by :devnko-ennekappao:

User avatar
Kevin Tee
Member
Posts: 75
Joined: Wed Jul 22, 2015 04:00
Location: Thailand

Re: [Mod] plantlike leaves [plantlike_leaves]

by Kevin Tee » Post

The leaves is replace by two planes right? Looks great, and the performance might increase as well.

User avatar
TenPlus1
Member
Posts: 2882
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] plantlike leaves [plantlike_leaves]

by TenPlus1 » Post

Agreed, Ethereal mod uses these types of leaves to keep things fast also.

User avatar
Hybrid Dog
Member
Posts: 2771
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] plantlike leaves [plantlike_leaves]

by Hybrid Dog » Post

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)?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
TenPlus1
Member
Posts: 2882
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] plantlike leaves [plantlike_leaves]

by TenPlus1 » Post

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.

User avatar
Hybrid Dog
Member
Posts: 2771
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Post

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.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Post

This is nice. Good work

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves [plantlike_leaves]

by burli » Post

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

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Post

Found a bug with snow

Image
Attachments
screenshot_20160318_154759.jpg
(247.69 KiB) Not downloaded yet

User avatar
Hybrid Dog
Member
Posts: 2771
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Post

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

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Post

Image

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
Attachments
minecraft leafs.png
(119.42 KiB) Not downloaded yet
Last edited by burli on Thu Apr 07, 2016 18:23, edited 1 time in total.

User avatar
Hybrid Dog
Member
Posts: 2771
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Post

thanks for informing me, l think such leaves can't be made by a mod in minetest (without causing lots of lag)

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] plantlike leaves style [plantlike_leaves]

by ExeterDad » Post

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.


User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Post

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

User avatar
philipbenr
Member
Posts: 1708
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] plantlike leaves style [plantlike_leaves]

by philipbenr » Post

burli wrote:Image

Leafs in Minecraft seems to be made of regular leafs and plantlike leafs.
Looks a bit like the new firelike drawtype...

Post Reply

Who is online

Users browsing this forum: Chem871, Google [Bot] and 9 guests