Textures Spread Across Multiple Nodes

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

Textures Spread Across Multiple Nodes

by TheReaperKing » Fri Jun 24, 2016 00:10

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
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
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001
 

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

Re: Textures Spread Across Multiple Nodes

by TheReaperKing » Fri Jun 24, 2016 00:34

I was thinking perhaps I could just create a 32x32 bit node and then put the texture on it, that'd work right?
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
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: Textures Spread Across Multiple Nodes

by red-001 » Fri Jun 24, 2016 08:38

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.
 

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

Re: Textures Spread Across Multiple Nodes

by TumeniNodes » Fri Jun 24, 2016 09:24

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
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

Re: Textures Spread Across Multiple Nodes

by firefox » Fri Jun 24, 2016 09:37

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.
building inspiration: viewtopic.php?f=3&t=15550 --- my game: viewtopic.php?f=49&t=15860 --- =(^.^)= nyan~
 

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

Re: Textures Spread Across Multiple Nodes

by TheReaperKing » Sat Jun 25, 2016 00:56

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!!
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: 2850
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: Textures Spread Across Multiple Nodes

by TumeniNodes » Sat Jun 25, 2016 01:01

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
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

Re: Textures Spread Across Multiple Nodes

by TheReaperKing » Sat Jun 25, 2016 01:49

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 :)
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: 2850
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: Textures Spread Across Multiple Nodes

by TumeniNodes » Sat Jun 25, 2016 04:30

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.
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: Textures Spread Across Multiple Nodes

by red-001 » Sat Jun 25, 2016 10:31

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.
 

User avatar
domtron vox
Member
 
Posts: 111
Joined: Thu Feb 20, 2014 21:07
GitHub: DomtronVox
IRC: Domtron
In-game: Domtron

Re: Textures Spread Across Multiple Nodes

by domtron vox » Thu Jun 30, 2016 01:19

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
 

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

Re: Textures Spread Across Multiple Nodes

by TheReaperKing » Thu Jun 30, 2016 17:19

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!
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
 


Return to General Discussion



Who is online

Users browsing this forum: No registered users and 2 guests