Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disable Transmission for all materials at once?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
tompkins.ge
140 Views, 3 Replies

Disable Transmission for all materials at once?

I have converted 3DS Max exterior environment scenes that were made using the 3DforAll MaxtoC4D plugin. Importing using Standard C4D materials seems to work well but the Arnold option produces materials with the Transmission value at 1 for every material. The node graphs are simple with one Standard Surface per material with bitmaps feeding most of them. Since this is an exterior city scene there are 198 materials it would take a considerable amount of time to disable Transmission on each material and this is a fast turn around project.

 

Using the scene imported with Standard C4D materials and using Arnold's Utilities menu produces a similar result.

 

Is there a way to batch change the Transmission value?

 

Edit : Is there a way to batch convert every bump2D node into a Normal Map node?

 

Thank you.

3 REPLIES 3
Message 2 of 4
lee_griggs
in reply to: tompkins.ge

You could reduce transmission samples/depth to 0 in the Render Settings.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 4
peter_horvath
in reply to: tompkins.ge

Your best shot to quickly modify shaders in batch is writing a small script, but of course it needs some programming knowledge.

 

I attached two scripts, one to set transmission to zero in all materials and an other one to replace bump shaders.

 

About the transmission, if I understand correctly you convert Standard C4d materials to Arnold materials. Transmission is set to 1 if the C4D material has a Transparency channel with either a texture or non-zero brightness. You can edit the source materials as well and disable Transparency before the conversion.


// Peter Horvath
// C4DtoA developer
Message 4 of 4
tompkins.ge
in reply to: peter_horvath

Words cannot express my gratitude for these scripts. I can't write a script to save my life so this saved me from having to manually updated hundreds of materials for over 20 scenes. Couldn't just disable Transmission in the render settings as there are still plenty of glass objects since they're exterior city scenes.

 

Found through trial and error what you mentioned with disabling the Transmission in the Standard material before converting from the Arnold Utility menu.

 

A big feature request would be to have a dialogue for the Convert C4D Materials to Arnold that allows you to "channel map" like in Nuke or AE. Like two columns with drop downs or ports. One side C4D and the other Arnold so there were some sort of gui for idiots like me who can't script.

 

Thank you again.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators