Page 1 of 1

New Drawtype for Tall plants

PostPosted: Tue Dec 29, 2015 18:33
by Napiophelios
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 1443 times

Re: New Drawtype for Tall plants

PostPosted: Tue Dec 29, 2015 20:36
by Minetestforfun
Great idea, but what about frame per second with the fire drawtype ?

Re: New Drawtype for Tall plants

PostPosted: Tue Dec 29, 2015 23:47
by Napiophelios
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.

Re: New Drawtype for Tall plants

PostPosted: Wed Dec 30, 2015 09:26
by Minetestforfun
If there aren't performance issues with this drawtype for grasses, your idea is really interresting

Re: New Drawtype for Tall plants

PostPosted: Wed Dec 30, 2015 10:46
by Dragonop
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

Re: New Drawtype for Tall plants

PostPosted: Wed Dec 30, 2015 12:51
by firefox
or we could ask the developers to include a "bushlike" drawtype in the next version, that looks just like firelike but without animation.

Re: New Drawtype for Tall plants

PostPosted: Wed Dec 30, 2015 14:42
by Amaz
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)

Re: New Drawtype for Tall plants

PostPosted: Thu Dec 31, 2015 09:04
by Napiophelios
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 :)