Page 1 of 1

quick way to change all mats to glossy

Posted: Tue Jun 18, 2013 3:42 pm
by alaman64
Hi,

Just wondering if there's a quick way to change all the mats for a figure to glossy and at the same time change the roughness on a genesis figure. I can't for the life of me figure this out, the only way i can do it is to select one node at a time switch to glossy, change the roughness and then move to the next node, etc....

I've tried selecting all nodes and clicking the node editor, but it only brings in the last node. This does work if there are no mats applied to a figure, i can change all nodes at once.

The ideal way to do this for skin would be the way the poser plugin handles it. Not sure if you played with it, but there is a configursation file where you can find the setting for skin. All the skin nodes are listed in the config file and have one default setting that can be over written by the user such as roughness, index, etc...

so when you load a new figure, if the part is listed as a skin part in the config file, it creates the mat as glossy or diffuse based on the user preferences for skin defined in the config file.

The what be best in an ideal world, but i could live with a one or two clock solution to change all mats to glossy.

one more thing, that would be great would be a reset button for the video card.

Thanks
P.s. great work by the way, i really enjoy working with this plugin...


Nick

Re: quick way to change all mats to glossy

Posted: Tue Jun 18, 2013 3:55 pm
by t_3
alaman64 wrote:The what be best in an ideal world, but i could live with a one or two clock solution to change all mats to glossy.
just select any number of octane materials (in the tree), right click and use the change type submenu.

about your other thoughts: group parameter editing/global values is planned, as is templating on my list.
alaman64 wrote:one more thing, that would be great would be a reset button for the video card.
what sort of reset do you mean in particular?
alaman64 wrote:P.s. great work by the way, i really enjoy working with this plugin...
thanks :)

Re: quick way to change all mats to glossy

Posted: Tue Jun 18, 2013 5:39 pm
by alaman64
I can't find the type sub-menu.. sorry i spent 10 min clicking on everything.. can you post a screen shot if you have a minute.

as far as the reset. Just wondering if there was a way to reset the plgin and video card with out exiting daz studio. I find in some cases my available card ram does not always release when deleting objects and materials. when that happens i save the scene and get back into daz and the memory on the card is fine. It doesn't happpen that often, but it would be nice.

Re: quick way to change all mats to glossy

Posted: Tue Jun 18, 2013 6:23 pm
by t_3
alaman64 wrote:I can't find the type sub-menu.. sorry i spent 10 min clicking on everything.. can you post a screen shot if you have a minute.
here you go:
OcDS_change_n_mats_type.png
btw, changing materials to the "mix" type creates a diffuse/glossy mix material using the same set of texture maps.
alaman64 wrote:as far as the reset. Just wondering if there was a way to reset the plgin and video card with out exiting daz studio. I find in some cases my available card ram does not always release when deleting objects and materials. when that happens i save the scene and get back into daz and the memory on the card is fine. It doesn't happpen that often, but it would be nice.
hm; how do you judge if vram is actually released? note: the stats do only update, if octane is rendering, or in other words, if changes in the scene were sent to octane (usually causing a render restart). if there is still unreleased memory, i'll need to have a look.

currently the only way to reset octane would be to reset the whole project and reload everything. basically the same as save > new > load.

ps: amongst lots of other things i'm working on the ability to switch the plugin on/off completely, having this done i will also have proper methods to reset a scene this way, so it should then be no problem to implement such a reset...

Re: quick way to change all mats to glossy

Posted: Tue Jun 18, 2013 8:23 pm
by alaman64
It's not such a big deal, it's happened a few times. I can tell that it's a memory problem becuase some items appear black with no texture. A save and reload corrects the problem.

Thanks for the screenshot, will try it when I get home this evening.

Nick