New Drawtype for Tall plants

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

New Drawtype for Tall plants

by Napiophelios » Tue Dec 29, 2015 18:33

I think "default:grass_5" and "farming:wheat_8" should use drawtype="firelike"
It really fills in the spaces and makes open feilds look full and "meadowy"
It doesnt look so good for junglegrass or dry shrubs though because of their textures.

Image
tallgrasses.png
tallgrasses.png (362.69 KiB) Viewed 934 times
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: New Drawtype for Tall plants

by Minetestforfun » Tue Dec 29, 2015 20:36

Great idea, but what about frame per second with the fire drawtype ?
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: New Drawtype for Tall plants

by Napiophelios » Tue Dec 29, 2015 23:47

Minetestforfun wrote:Great idea, but what about frame per second with the fire drawtype ?

Well the textures arent animated so I didnt really consider that to be a problem.

The world I am testing this with has mobs enabled so its already a bit slow.
But I seem to get the same FPS with or with out the changes while walking in a field of tall grass.

I will have to create a new test world and get back to you on that :)


EDIT:

I use 32px texture pack and all default mods
plus my Monkeygrass mod to quickly make a large 30x30 feild of grass_5
I am getting a steady range 24-36 FPS

Thats about normal for my netbook nowadays.
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: New Drawtype for Tall plants

by Minetestforfun » Wed Dec 30, 2015 09:26

If there aren't performance issues with this drawtype for grasses, your idea is really interresting
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: New Drawtype for Tall plants

by Dragonop » Wed Dec 30, 2015 10:46

I would like it to be supported as a graphic option (not a shader), but I'm not sure if that's currently possible. If there are not many lost fps for me, then it's a +1
 

User avatar
firefox
Member
 
Posts: 1185
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox

Re: New Drawtype for Tall plants

by firefox » Wed Dec 30, 2015 12:51

or we could ask the developers to include a "bushlike" drawtype in the next version, that looks just like firelike but without animation.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: New Drawtype for Tall plants

by Amaz » Wed Dec 30, 2015 14:42

I really like the sound of this idea!

firefox wrote:or we could ask the developers to include a "bushlike" drawtype in the next version, that looks just like firelike but without animation.

Whether a node is animated or not depends on the nodedef, not the drawtype, so there's no need for a new drwatype. Just make sure that the nodedef doesn't have any animation stuff in it. (This is the animation code for fire: https://github.com/minetest/minetest_ga ... ua#L14-L22)
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: New Drawtype for Tall plants

by Napiophelios » Thu Dec 31, 2015 09:04

This is probably something best left to a mod, I doubt it would go over well with the tall ones;
It looks really neat though :)
 


Return to Minetest Features

Who is online

Users browsing this forum: Bing [Bot] and 6 guests