Author Topic: Saving materials with empty nodes  (Read 943 times)

0 Members and 1 Guest are viewing this topic.

Offline hve

Saving materials with empty nodes
« on: May 04, 2022, 05:29:07 am »
Hello,

I was trying to save a materials with empty nodes , I hoped this would save them but I found out that only the connected nodes are saved , how can I save this and keep all materials inside one material graph ?

thanks, Hans
« Last Edit: May 04, 2022, 05:30:44 am by hve »

Online TGS808

Re: Saving materials with empty nodes
« Reply #1 on: May 04, 2022, 09:51:19 am »
Why not make it a multi-material? One for each texture. That way, each of your textures will always be connected and you can switch between them in multi-material list.

Offline hve

Re: Saving materials with empty nodes
« Reply #2 on: May 04, 2022, 10:00:27 am »
Thanks yes that's a good idea, but I was surprised that empty nodes aren't saved, even when you save the project they seem to be gone. thanks

Offline Eric Summers

Re: Saving materials with empty nodes
« Reply #3 on: May 04, 2022, 10:24:22 am »
Yeah, I've disconnected nodes before that I wanted to keep while creating a material only to come back later (after saving the scene) to find they were gone. It would be nice if there was at least an option to not delete disconnected nodes.
(I also used disconnected nodes waaay out in the corners of the material graph so I could position the view how I liked, since KS keeps such a tight frame around the nodes)

Offline hve

Re: Saving materials with empty nodes
« Reply #4 on: May 04, 2022, 11:33:49 am »
That's strange and I wonder if this isn't a bug as there are many occasions you may want to have several options for a texture and the material graph is really handy for this

Online TGS808

Re: Saving materials with empty nodes
« Reply #5 on: May 04, 2022, 12:40:15 pm »
That's strange and I wonder if this isn't a bug as there are many occasions you may want to have several options for a texture and the material graph is really handy for this

I've also seen this happen but I don't think it's a bug. On those occasions when you want to have several options for a texture, multi-material will do the trick.

Offline INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1319
  • Total likes: 84
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: Saving materials with empty nodes
« Reply #6 on: May 04, 2022, 09:51:59 pm »
A material with disabled connection will be saved.

Offline hve

Re: Saving materials with empty nodes
« Reply #7 on: May 04, 2022, 11:55:16 pm »
That's strange and I wonder if this isn't a bug as there are many occasions you may want to have several options for a texture and the material graph is really handy for this

I've also seen this happen but I don't think it's a bug. On those occasions when you want to have several options for a texture, multi-material will do the trick.

I'm not sure, indeed the multi material is a good solution but there's something strange going on also with a single material with disconnected nodes

Offline hve

Re: Saving materials with empty nodes
« Reply #8 on: May 05, 2022, 12:02:56 am »
A material with disabled connection will be saved.

Here it doesn't seem to work, if I do the following :

1. open material graph for simple paint material
2. disconnect the nodes and save as new material
3. open and apply this saved material and open it in Material graph

then you see that's it's opened with wireframe module so this strange
« Last Edit: May 05, 2022, 12:04:41 am by hve »

Offline hve

Re: Saving materials with empty nodes
« Reply #9 on: May 05, 2022, 07:20:02 am »
Just got an answer from Luxion support on this so seems that's this is designed the way it works :

This is as designed, if your nodes are not connected to anything they will be removed from the material.
You can right click the tether that connects the node and disable it this way, this will ensure that the nodes will not be removed from the material.

Offline sloanelliot

Re: Saving materials with empty nodes
« Reply #10 on: May 10, 2022, 04:03:59 pm »
A material with disabled connection will be saved.

Here it doesn't seem to work, if I do the following :

1. open material graph for simple paint material
2. disconnect the nodes and save as new material
3. open and apply this saved material and open it in Material graph

then you see that's it's opened with wireframe module so this strange

It's definitely annoying but in totally different scenarios, it's actually nice to be able to "clean the slate" -- BUT, as somebody stated above, if you do want to preserve those links, all you need to do is select the line in between, right-click and select "disable" and it will turn to a dotted line instead, which will preserve all components until deleted.

Online TGS808

Re: Saving materials with empty nodes
« Reply #11 on: July 10, 2022, 09:39:16 am »
Just got an answer from Luxion support on this so seems that's this is designed the way

Just as I said. Not a bug.