converting a whole folder of .duf props and figs to a base grey shader?

MistaraMistara Posts: 38,675

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 yes

Comments

  • mjc1016mjc1016 Posts: 15,001

    Probably not, since the material/surface information is contained within the file and more often than not, they are compressed,

  • MistaraMistara Posts: 38,675

    yeah, but there s a batch uncompress utility. use it all the time.

  • MistaraMistara Posts: 38,675

    didya know excel files are zip files?  rename the .xlsm to .zip  you see the xml and bin files in it

  • mjc1016mjc1016 Posts: 15,001

    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.

  • MistaraMistara Posts: 38,675

    no wanna do one at a time.  

  • patience55patience55 Posts: 7,006

    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.

  • MistaraMistara Posts: 38,675
    edited September 2015

    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"

    scap carr manual irradiance maps.JPG
    741 x 366 - 68K
    Post edited by Mistara on
Sign In or Register to comment.