Page 1 of 1

Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 00:10
by TheReaperKing
Howdy, I was just wondering if it is possible to have it so that let's say four of the nodes are connected in a square, instead of using a 16x16 texture, using a 32x32 texture so that way the texture repeats itself a lot less vs if it was still the 16x16. Hopefully that makes sense. Thanks so much and take care!
-Mike

Re: Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 00:18
by red-001
That's not currently possible.

Re: Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 00:34
by TheReaperKing
I was thinking perhaps I could just create a 32x32 bit node and then put the texture on it, that'd work right?

Re: Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 08:38
by red-001
You could but the way the engine deals with nodeboxes larger then one node is a bit confusing. Take a look at the code used for doors in the latest version of the game.

Re: Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 09:24
by TumeniNodes
TheReaperKing wrote:I was thinking perhaps I could just create a 32x32 bit node and then put the texture on it, that'd work right?


I'm not quite sure what you mean but, it sounds to me like you simply want to use 32px textures? , rather than the default 16px?
Why not simply use 32px? Or resize up to 32px with Gimp, and then use the sharpen filter, test diff settings and see how it looks. If that does not work, then perhaps remake the texture at 32px?
If you need some textures, simply let me know, I can do my best to help you out

Re: Textures Spread Across Multiple Nodes

PostPosted: Fri Jun 24, 2016 09:37
by firefox
if you want to use it for decorative building, like floor patterns, you can split the texture in 4 and put it either on different nodes or 4 sides of the same node. make the node with the "allfaces" parameter so it can be rotated and then you can align 4 nodes to 1 big texture.

Re: Textures Spread Across Multiple Nodes

PostPosted: Sat Jun 25, 2016 00:56
by TheReaperKing
Basically what I want to do is just not have the textures tile so much and replicate the look of a "non minecraft-ish" game and also hopefully save some processing power too since there would be less nodes and less textures. I'm creating a death arena where you have to try to survive for 5 minutes vs monsters so I need all the optimization I can get!!! Thank you everyone for your ideas!!

Re: Textures Spread Across Multiple Nodes

PostPosted: Sat Jun 25, 2016 01:01
by TumeniNodes
TheReaperKing wrote:Basically what I want to do is just not have the textures tile so much and replicate the look of a "non minecraft-ish" game and also hopefully save some processing power too since there would be less nodes and less textures. I'm creating a death arena where you have to try to survive for 5 minutes vs monsters so I need all the optimization I can get!!! Thank you everyone for your ideas!!


Simply using larger textures should do it then. If you try to stretch textures over several nodes, it would require.... more nodes, so that would go against your goal.
As I stated, just let me know if you want some help with textures

Re: Textures Spread Across Multiple Nodes

PostPosted: Sat Jun 25, 2016 01:49
by TheReaperKing
Can't I make bigger nodes as well? I'll have to experiment a bit. I need to try to find if there are engine optimization tips/strategies.

And thanks so much for offering to help with textures!! I don't think I need much actually, just something for the arena walls, I'm just using obsidian right now and maybe something stone-ish for the fort. I think I can probably just gank some free ones from online so that I don't have to trouble you but if you know any good places to get them that'd be sweet. Thank you so much for your help and wanting to help me out!! Depending how interested you on the project I could keep you in the loop if you'd like :)

Re: Textures Spread Across Multiple Nodes

PostPosted: Sat Jun 25, 2016 04:30
by TumeniNodes
Yes, please keep me informed. It is no bother, just give some examples.
There are sites all over the web, but I cannot recall any off the top of my head (links that is)
I normally just use google images to find what I'm looking for to get some ideas, and either grab a free image and tweak the heck out of it, or simply create something from scratch based loosely on what I find.
Most times I just draw whatever it is out on paper, then transfer to digital with numerous graphics software and my drawing tablet.
Larger nodes can be created (I believe) but I'm not sure of the impact on performance would be if using to many in one area. RubenWardy's nodebox editor is really the best thing since sliced onions, I would experiment with that.

Re: Textures Spread Across Multiple Nodes

PostPosted: Sat Jun 25, 2016 10:31
by red-001
Placing more blocks is basically free. It has a minimal impact on performance. You should try to minimize the number of nodes you register, but that only really applies if you register hundreds of nodes. Larger nodes are possible, but the engine still treats them as one node, meaning you can place nodes inside them. Their are ways around this, but in most cases you can just use two or more normal nodes and get the same result. Unless you would need more then ~10 - 20 nodes to achieve your goal, I wouldn't recommend using nodeboxes larger then one node. You would need to write a lot of code to handle placing and removing.

Re: Textures Spread Across Multiple Nodes

PostPosted: Thu Jun 30, 2016 01:19
by domtron vox
Here is a mod that breaks up the repeated-ness of textures. It randomly rotates them for each node.
viewtopic.php?f=9&t=10845

If you want bigger nodes, you could try scaling all models down, slow down player physics, and reduce the player camera height(I think you can do the last one but maybe not). That way everything would look bigger and feel bigger and so you end up playing in a smaller area simply because it takes longer to get around. But just building an arena with unbreakable wall nodes should be good enough to limit the number of nodes. Maybe use the world edge mod as well.

There is also this mod: viewtopic.php?f=9&t=9003

Re: Textures Spread Across Multiple Nodes

PostPosted: Thu Jun 30, 2016 17:19
by TheReaperKing
Super interesting, thank you so much! I was going to use singlenode + the origin mod so hopefully that will help a bit too. I love learning about new mods too and features, this is great!