[mod] nodebox_trees [nodebox_trees]

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

[mod] nodebox_trees [nodebox_trees]

by D00Med » Post

This mod replaces the default tree trunks with nodeboxes, and leaves with models.
It also replaces cactus and waterlilies with new models.
The mapgen is also changed so that new schematics, made by tobyplowy, are used.
This will override the default mapgen, and may not work with other mapgen mods(I haven't tested it).
The mapgen part of the mod can be disabled in line 440 of init.lua

IMPORTANT: Only use this mod on a new world, otherwise the tree trunks will appear black. You can use mapfix to get around this problem.

Texture packs that support this mod:
Schone Welt: viewtopic.php?f=4&t=16305
John Smith: viewtopic.php?f=4&t=5383&start=75
Summerfields: viewtopic.php?f=4&t=9314
mini8x: viewtopic.php?f=4&t=14633&p=217705
Coming soon:horrorpack

License:
Code: LGPL 2.1+ by D00Med(code) and toby109tt(aka tobyplowy)(tree schematics)
Textures and Models: CC-BY-SA 3.0 Edited/Created by toby109tt(aka tobyplowy)
(see license.txt in the mod folder for more information about this)

Dependancies:
default
flowers

Download: https://github.com/D00Med/nodebox_trees ... master.zip
Github: https://github.com/D00Med/nodebox_trees

Updates:
26/6/17:
>added waving to the leaves
23/1/17:
>flickering fixed thanks to toby109tt and Nathan.S

Screenshots:
Spoiler
Last edited by D00Med on Sun Jun 25, 2017 21:12, edited 10 times in total.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [mod] nodebox_trees [nodebox_trees]

by yzelast » Post

Beautiful,especially the leaves, but on my computer the fps dropped a lot.

And sometimes the normal node is generated.
Attachments
screenshot_20161230_231441.png
screenshot_20161230_231441.png (788.3 KiB) Viewed 1711 times
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

Yes it does slow the game down.
The reason the normal node appears is because the trunks turn into a normal node when they are connected side by side. This means that logs (mostly) still work, and tree trunks are still good for building.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

u19503

Re: [mod] nodebox_trees [nodebox_trees]

by u19503 » Post

D00Med wrote:This mod replaces the default tree trunks with nodeboxes, and leaves with models.
It also replaces cactus and waterlilies with new models.
The mapgen is also changed so that new schematics are used.
This will override the default mapgen, and may not work with other mapgen mods(I haven't tested it).
The mapgen part of the mod can be disabled in line 440 of init.lua

License:
Code: LGPL 2.1+ by D00Med and toby109tt(aka tobyplowy)
Textures and Models: CC-BY-SA 3.0 Edited/Created by toby109tt(aka tobyplowy)
(see license.txt in the mod folder for more information about this)

Dependancies:
default
flowers

Download: https://github.com/D00Med/nodebox_trees ... master.zip
Github: https://github.com/D00Med/nodebox_trees

Screenshots:
Spoiler
Thanks D00med for making this mod with me :) also you forgot to give me credit for the trees

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TumeniNodes » Post

Fantastic trees... absolutely beautiful!
But the massive drop in fps makes it unbearable... If you two can resolve that serious issue, this will become an extremely popular mod. Nice work.
A Wonderful World

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

"you forgot to give me credit for the trees" sorry, I put you down as code author for that.
I will fix it.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

The mod should cause less lag now, snow leaves are set with on_generated instead of an abm.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [mod] nodebox_trees [nodebox_trees]

by ManElevation » Post

i like it
My Public Mods! Discord: Rottweiler Games#3368

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

Re: [mod] nodebox_trees [nodebox_trees]

by burli » Post

Looks great. I guess now I really need high end gaming hardware because MT should look always like thin

u19503

Re: [mod] nodebox_trees [nodebox_trees]

by u19503 » Post

The fact that people love this so much makes me really Happy !
D00med again your the best!

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TheReaperKing » Post

I love the leaves but the trunks look almost exactly the same as if they were blocks. What about making them look a little more round? Kind of like what that mod voxus did and also I was inspired a bit by looking at this game, which remind me of your mod when I saw it:
https://www.youtube.com/watch?v=EzGpWWX0rXU

Just some thoughts for you! Thank you for your hard work on this! :D
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TumeniNodes » Post

TheReaperKing wrote:I love the leaves but the trunks look almost exactly the same as if they were blocks. What about making them look a little more round? Kind of like what that mod voxus did and also I was inspired a bit by looking at this game, which remind me of your mod when I saw it:
https://www.youtube.com/watch?v=EzGpWWX0rXU

Just some thoughts for you! Thank you for your hard work on this! :D
Rounded trunks end up looking odd at the ground in Minetest. I do agree that using these nodebox trunk bases seems somewhat mute, as they add only a small bump on each side.
Using them may be more justified if they had roots on each side but, I have noticed if the user turns this mod off, you are left with "unknown nodes" at the base of the trees using the nodebox.
I personally feel just using the models for the leaves is more then well enough here. I have messed around with many different ways of doing trees and have come back around to simply using the existing trunks and just modifying the leaves in various ways... in the end, it ends up blended better into the rest of the look and feel of Minetest.
In other words, maybe focusing on the leaves is the best route?
If you look at cg_decor mod they used a model for the leaves but, I triple that model up, and I think also stretching it out horizontally would look very nice. But then I need to figure out how to add a "top view" to resolve the hideous view from above...
I also use the entire model, for the entire tree and bypassed the tree trunks in cg_decor...
Anyway, I REALLY love the models for leaves in your work it definitely adds a more surreal visual without over doing it and looking out of place...
I'm going to try it out again since you made you last changes in hope it has greatly reduced the lag, because I really want to use this
A Wonderful World

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TheReaperKing » Post

Maybe if the trunks are going to be models that they could have an expanded base? Aka a tree stump. Also just for insight purposes, Kenny used this to make his trees:
http://zoxel.blogspot.com/

I actually don't see much difference between his trees and the default besides textures but I figure options are good.
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TumeniNodes » Post

Definitely seems less laggy now.... This is now my default trees mod :D
look how beautiful...
Nice nice nice nice... NICE! thank you both for this...
Image
Attachments
beautiful nodebox_trees aspen.png
beautiful nodebox_trees aspen.png (575.06 KiB) Viewed 1711 times
A Wonderful World

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TheReaperKing » Post

That looks absolutely fantastic! Awesome work! I wonder if even pine trees could happen.
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

u19503

Re: [mod] nodebox_trees [nodebox_trees]

by u19503 » Post

TumeniNodes wrote:Definitely seems less laggy now.... This is now my default trees mod :D
look how beautiful...
Nice nice nice nice... NICE! thank you both for this...
Image
you seem to really love this mod don't you ( I'm happy that you're happy with it)

Also can I ask What texture pack are you using it looks nice?

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by TumeniNodes » Post

I really do..., this mod is awesome.
I have noticed one slight issue though. In densely wooded areas, the trunks are black... and mapfix is required to resolve it, but that only fixes a limited area, and then needs to be repeated when you run into the black trunks again further on.
Another suggestion is, maybe you could redo the wield images for the leaves... they are HUGE and sort of get in the way when wielded.
I also wonder if you two and this mod, might be well to try to combine? viewtopic.php?f=9&t=16286 Might make for one truly amazing all n one tree mod

The TP is the one I just posted in texture packs... I won't add a link here because I feel it might be rude to do in someone else's post for a mod. It's easy to find, it's called "mild 64 32px"
I'm actually making leaf textures for nodeboxtrees to add to it now :D which will be available in both the 64px and 32px packs.
I will post there once these new leaves are added
A Wonderful World

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [mod] nodebox_trees [nodebox_trees]

by yzelast » Post

TumeniNodes wrote:I really do..., this mod is awesome.
I have noticed one slight issue though. In densely wooded areas, the trunks are black... and mapfix is required to resolve it, but that only fixes a limited area, and then needs to be repeated when you run into the black trunks again further on.
Another suggestion is, maybe you could redo the wield images for the leaves... they are HUGE and sort of get in the way when wielded.
I also wonder if you two and this mod, might be well to try to combine? viewtopic.php?f=9&t=16286 Might make for one truly amazing all n one tree mod

The TP is the one I just posted in texture packs... I won't add a link here because I feel it might be rude to do in someone else's post for a mod. It's easy to find, it's called "mild 64 32px"
I'm actually making leaf textures for nodeboxtrees to add to it now :D which will be available in both the 64px and 32px packs.
I will post there once these new leaves are added
I Think that if i change my nodes to use these nodeboxes it should work easily.
But as i'm new on minetest modding api i'm worried if my mod will have enough performance to run smooth together with nodebox_tree(on my computer it is unplayable).
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

Combining would probably cause a lot of problems.
I've fixed the wield problem.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

Update: Trunk bases and snow leaves have been disabled.
They are still in the code and schematics if anyone has a fast computer and really wants to use them.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [mod] nodebox_trees [nodebox_trees]

by yzelast » Post

Could you tell me what are your computer specs? I`m still unable to get a decent fps.
Or the nodeboxes are naturally heavy?
In my minecraft days,i remember to play with a mod called "better foliage" which has basically the same visual purpose, and my hd graphics 3000 was able to run very well, so probably is not my computer.
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

nodeboxes as far as I know, but models are.
my pc's specs are:
windows 10
Intel graphics,
8GB RAM
Intel core i7-6500U (3.1GHz)

What's yours?, maybe I can help. The last computer I used for minetest was very very slow.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [mod] nodebox_trees [nodebox_trees]

by yzelast » Post

The complete specs are:

os: elementary os 0.4
cpu: core i7-2630QM
gpu: hd graphics 3000
ram: 8gb ddr3 1333mhz
storage: ssd kingston 240gb

comparing the specs with passmark benchmark, my cpu looks a little bit faster, but the gpu is almost 3x slower, maybe this should be my problem.
Testing here, i see that the leaf textures flashes when i move the mouse, this should be expected?

the benchmarks:
cpus: http://www.cpubenchmark.net/compare.php ... %5B%5D=873
gpus: http://www.videocardbenchmark.net/compa ... p%5B%5D=26
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] nodebox_trees [nodebox_trees]

by D00Med » Post

That might be your problem.
That is interesting, I have no such problem. Have you tried using direct3d instead of opengl?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
yzelast
Member
Posts: 54
Joined: Sun Oct 02, 2016 01:18
GitHub: yzelast
In-game: yzelast
Location: Far Far Away

Re: [mod] nodebox_trees [nodebox_trees]

by yzelast » Post

My problem was really with the graphic card.
I tried to run your mod with an ancient core 2 duo desktop with a gt 630 and the mod runned fine.Not exactly fine, my motherboard has an annoying problem that prevent me to run any linux distro with kernel 3.12 or newer...dont know why. After installing ubuntu 13.10 and compiling minetest(because the ppa didn`t worked) everything worked like a charm.
Maybe was the opengl version,maybe the better gpu, probably the opengl version, because i`m sure my laptop is more then enough to run this mod.
G84mU6AQ9dKaNhxn6dq8P5C0y5r8NssE

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests