[mod] nodebox_trees [nodebox_trees]

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

Re: [mod] nodebox_trees [nodebox_trees]

by burli » Post

I've downloaded the latest version and now the thunks are all black and I have an annoying flickering effect in the leaves

User avatar
TumeniNodes
Member
Posts: 2943
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

burli wrote:I've downloaded the latest version and now the thunks are all black and I have an annoying flickering effect in the leaves
I like the flickering effect. It looks like leaves quaking in a breeze :D
I've run into the black trunks as well (I just use mapfix) but I realize this is not the desired method of simply using a mod.
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

I can't seem to fix the flickering problem. The problem is that the leaves overlap when they are beside each other
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

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

Re: [mod] nodebox_trees [nodebox_trees]

by burli » Post

I know, two faces overlap at the exact same position.

Can't you add a little offset?

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

How though? There is already an offset on the model.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

u19503

Re: [mod] nodebox_trees [nodebox_trees]

by u19503 » Post

Yes the texture flickering is a bit anoying but I dount think it's possible to fix :/

User avatar
TumeniNodes
Member
Posts: 2943
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

toby109tt wrote:Yes the texture flickering is a bit anoying but I dount think it's possible to fix :/
I guess I'm ca-raaazy... cus I like the flickering :P
although I do see where it could be seizure inducing... : /

Maybe if you try to reduce the size of the "X" in the model? That might reduce it somewhat.. Because I have noticed it is that protrusion which causes it, when two ends from different nodes are meeting/touching.
Or rather than reducing it's size, thicken the X a bit... being so thin may also be the cause because you are jumping from one side to the other of an extremely thin object, and the images/textures are reversed from one side to the other, giving it that animated effect
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

Reducing the size would defeat the purpose of having it.
The best solution I can think of could be to have the nodes with random offsets, but I don't know if that is possible.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
TumeniNodes
Member
Posts: 2943
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

D00Med wrote:Reducing the size would defeat the purpose of having it.
The best solution I can think of could be to have the nodes with random offsets, but I don't know if that is possible.
That's why I added an idea of possibly making it a bit thicker (just the X portion of the model) I did not look at the model yet but it appears to be a hybrid cube and plantlike X ?

You should be able to thicken that part.., I do believe it is the fact it is paper thin is creating this flickering for reasons I stated before.
Because I do agree, if you reduce it, it will completely remove the overall quality it produces for leaves
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

If the model gets thicker, then the nodes beside it will too, and then they will overlap anyway.
It's because the faces are overlapping, which would happen regardless of the thickness(the faces would still overlap)
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
TumeniNodes
Member
Posts: 2943
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

D00Med wrote:If the model gets thicker, then the nodes beside it will too, and then they will overlap anyway.
It's because the faces are overlapping, which would happen regardless of the thickness(the faces would still overlap)
ahhhhh... I didn't think of that... hmmmmm

Well then, there's only one thing for it.... deny, deny, deny :D

"What's that flickering?"

"What flickering? 0_o

"Right there...., that flickering" (points to video)

"I don't see any flickering... are you feeling ok? you look a little peaked"
:P
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

xD
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by Nathan.S » Post

I've not looked at the model but if it is an X shape, try rotating it a degree or two, it should move the faces out of each other.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

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

"try rotating it a degree or two" - yes it works! Thankyou! Now I just have to make new schematics to use the rotation.
Edit: *cough* nope, just my imagination and bad testing.
Edit edit: I fixed some flickering on the top and bottom faces
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by Nathan.S » Post

Looking at the git repo I notice that you are using .b3d models, unless there is some animation you'd probably be better off using .obj as they are usually smaller files.

I've never used schematics, but I don't think you should need to change that after tweaking the rotation of a model that makes up a schematic. They are still the same nodes, just a little different visually.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

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

Ok then, I will use them instead, thanks for the tip.
The rotation doesn't work with the same angle for every node. I thought I could use "degrotate" as paramtype2 and make each node have different rotation, which would fix the flickering.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by Nathan.S » Post

I thought you meant rotating the file itself, not the degrotate. I'll try and take at this this weekend, I think it should be a simple solution, but what do I know.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
TumeniNodes
Member
Posts: 2943
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

D00Med wrote:The rotation doesn't work with the same angle for every node. I thought I could use "degrotate" as paramtype2 and make each node have different rotation, which would fix the flickering.
You gotta wiggle it....

wiggle it??

Yep..., just a little bit....

:D

<edit> Not sure if you already looked into this but, I'm sure this is not the first time someone has run into a similar issue with a model... so, have you tried searching around or asking on the Blender forums? or B3D forums, etc.?

As I have stated numerous times, I personally like this "feature bug" because it gives some life to the leaves... especially with the aspen leaves... because in real life, quaking aspen leaves (and some other tree's leaves) flicker with even the slightest breeze.
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

Nathan.S wrote:I thought you meant rotating the file itself, not the degrotate. I'll try and take at this this weekend, I think it should be a simple solution, but what do I know.
I hope you're not being sarcastic :S I did try to rotate the model.

@TumeniNodes: xD I've had the problem before, apparently it's just because the...computer(idk the technical term for exactly what), can't pick out which face to render.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by Nathan.S » Post

I made a pull request that adds some rotation to all three axis of the leaves model, and as far as I could tell removed all flickering. FPS on my laptop maybe went up one or two with the changes to the model, removed two faces on it, as they were nearly duplicates of the existing faces. It's actually possible that those faces may have been causing the flickering, didn't really check that out at all. Feel free look at the changes I made in the model and just merge bits and pieces if you want.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

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

Thanks, it does improve it somewhat.
There is still flickering though :/
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

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

Re: [mod] nodebox_trees [nodebox_trees]

by TheReaperKing » Post

Just a heads up I think this mod works quite nicely with the fungi mod :)
viewtopic.php?f=9&t=16345
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
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] nodebox_trees [nodebox_trees]

by azekill_DIABLO » Post

i don't care lag i have a geforce 750 GTi . and a big ego.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

azekill_DIABLO wrote:i don't care lag i have a geforce 750 GTi . and a big ego.
lol, such a feeling of invincibility xD
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
TumeniNodes
Member
Posts: 2943
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

azekill_DIABLO wrote:i don't care lag i have a geforce 750 GTi . and a big ego.
DINKLEBURG!!!!!!
A Wonderful World

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests