converting a whole folder of .duf props and figs to a base grey shader?
![Mistara](https://forum.daz3d.com/forums/uploads/userpics/696/nZWPLNMIHHIVI.png)
in The Commons
is there a way to set all my duf props and figures per folder to a base plain grey shader without loading them all in DS and resaving them manually??
something like a batch utility?
thanks
Comments
Probably not, since the material/surface information is contained within the file and more often than not, they are compressed,
yeah, but there s a batch uncompress utility. use it all the time.
didya know excel files are zip files? rename the .xlsm to .zip you see the xml and bin files in it
Yes...but then that makes it a multi-step process...unzip, search/edit each surface, save (maybe recompress). Also since more often than not, the shader in question is not going to change (most likely the Studio default is/will be the shader used), the 'batch' utility will need to search surfaces with image files, strip those and set colors to a neutral value.
Not saying it can't be done...but it won't be a simple script/batch file to do it.
no wanna do one at a time.
You can make a very basic "grey" shader that can be applied to any item.
Create a "new' plane/box/sphere/something", make it whatever colour you want. Save out a shader.
If I recall correctly, if all items in the scene are then selected and all their surfaces are selected [might have to parent them all together for a minute], then one can apply the Shader.
was trying to follow this suggestion from the carrara help manual for irradiance
a python script for .cr2s would be good too. Zero every material setting, diffuse = 1, gray color swatch.
"a scene without texture"