From the course: Maya: Tips, Tricks & Techniques

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Write a script to toggle Arnold opacity

Write a script to toggle Arnold opacity - Maya Tutorial

From the course: Maya: Tips, Tricks & Techniques

Start my 1-month free trial

Write a script to toggle Arnold opacity

- [Narrator] Hi, I'm George Maestri and today we're going to take a look at scripting and specifically we're going to write a script that automatically flips the opacity toggle in Arnold. Now, you're probably familiar with this issue is that when you have an object that's rendered in Arnold you have to go into the attribute editor, find the Arnold tab, and hunt down this opaque toggle and you need to toggle that off in order to have transparency work. So let me show you what I mean. I'm going to go into IPR and do an IPR render. Now, these objects they look like they have a solid surface on it, but if we actually select this object, and go over to the material and you scroll down, you'll see that we actually under refraction have opacity on this object. But it's not showing up, and the reason it's not showing up is because this opaque toggle is turned on. So if I were to select the object and turn off opaque, you could see how it immediately shows up in IPR as a transparent object…

Contents