[Mod] plantlike leaves style [plantlike_leaves]

User avatar
Hybrid Dog
Member
 
Posts: 2684
Joined: Thu Nov 01, 2012 12:46

[Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Sun Oct 18, 2015 10:07

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 » Sun Oct 18, 2015 10:21

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:
 

Kevin Tee
Member
 
Posts: 63
Joined: Wed Jul 22, 2015 04:00
Location: Thailand

Re: [Mod] plantlike leaves [plantlike_leaves]

by Kevin Tee » Sun Oct 18, 2015 10:49

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

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

Re: [Mod] plantlike leaves [plantlike_leaves]

by TenPlus1 » Sun Oct 18, 2015 12:01

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

User avatar
Hybrid Dog
Member
 
Posts: 2684
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] plantlike leaves [plantlike_leaves]

by Hybrid Dog » Sun Oct 18, 2015 14:49

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: 2424
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] plantlike leaves [plantlike_leaves]

by TenPlus1 » Sun Oct 18, 2015 14:53

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: 2684
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Thu Mar 17, 2016 18:04

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: 1608
Joined: Fri Apr 10, 2015 13:18
 

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

Re: [Mod] plantlike leaves [plantlike_leaves]

by burli » Thu Mar 17, 2016 21:48

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: 1608
Joined: Fri Apr 10, 2015 13:18
 

User avatar
Hybrid Dog
Member
 
Posts: 2684
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Fri Mar 18, 2016 17:42

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: 1608
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Thu Apr 07, 2016 14:38

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: 2684
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] plantlike leaves style [plantlike_leaves]

by Hybrid Dog » Thu Apr 07, 2016 15:19

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
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] plantlike leaves style [plantlike_leaves]

by ExeterDad » Thu Apr 07, 2016 15:58

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.
 

sofar
Developer
 
Posts: 1768
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar
 

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

Re: [Mod] plantlike leaves style [plantlike_leaves]

by burli » Thu Apr 07, 2016 18:26

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: 1688
Joined: Fri Jun 14, 2013 01:56
Location: United States
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi

Re: [Mod] plantlike leaves style [plantlike_leaves]

by philipbenr » Fri Apr 08, 2016 03:31

burli wrote:Image

Leafs in Minecraft seems to be made of regular leafs and plantlike leafs.


Looks a bit like the new firelike drawtype...
 


Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot], gpcf and 2 guests