indirect_diffuse AOV contribution

indirect_diffuse AOV contribution

Anonymous
Not applicable
1,549 Views
11 Replies
Message 1 of 12

indirect_diffuse AOV contribution

Anonymous
Not applicable

Does the indirect_diffuse AOV contribute at all to a light's diffuse AOV?

If so, can this be turned off somehow?

Thanks,


0 Likes
Accepted solutions (1)
1,550 Views
11 Replies
Replies (11)
Message 2 of 12

Stephen.Blair
Community Manager
Community Manager

A light's diffuse AOV has both the direct and indirect contribution of that light.

If you don't want the indirect, can you use the light's diffuse_direct AOV?



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 12

Anonymous
Not applicable
Maybe. We normally set our light diffuse LPE to:

> world_key5Light_diffuse C<RD>.*<L.'key5Light'>

What would be the LPE for the 'diffuse_direct' ?

Thank you,



0 Likes
Message 4 of 12

Stephen.Blair
Community Manager
Community Manager
Accepted solution

The LPE for diffuse is C<RD>.*

and diffuse_direct is C<RD>.L

so for a light group AOV it should be C<RD>.<L.'key5Light'>



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 5 of 12

Anonymous
Not applicable

Hmm,okay, so you're leaving out the asterisk on purpose, yes?

So what would be the expression for the "indirect only" for a light group AOV?

Currently, i'm using:

> "world_key5Light_diffuse_indirect C<RD>[DSVOB].*<L.'key5Light'>"

but I get the feeling that's not correct...

Thank you,


0 Likes
Message 6 of 12

Anonymous
Not applicable

Hmm,okay, so you're leaving out the asterisk on purpose, yes?

So what would be the expression for the "indirect only" for a light group AOV?

Currently, i'm using:

> "world_key5Light_diffuse_indirect C<RD>[DSVOB].*<L.'key5Light'>"

but I get the feeling that's not correct...

Thank you,

0 Likes
Message 7 of 12

Stephen.Blair
Community Manager
Community Manager

Yes, I left of the asterisk because if I look at the built-in LPEs:

diffuse_direct = C<RD>L

diffuse_indirect = C<RD>[DSVOB].*


diffuse_indirect_key5Light would be the indirect for that light group, so your custom LPE output should match that



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 8 of 12

Anonymous
Not applicable

I see, okay, Thanks for clarifying that.

So this job is older and we're still using 5.1.0.1 on it, though newer productions

are either on 5.4.0.2 or 6.0.1.0, and it is possible we could shift version for this

particular set of shots.

So that said, using these LPEs...

>> "diffuse_direct_key5Light C<RD>.<L.'key5Light'>"
>> "diffuse_indirect_key5Light C<RD>[DSVOB].*<L.'key5Light'>"

...yield two AOV layers which are identical. Why would that be?

Thank you,


0 Likes
Message 9 of 12

Anonymous
Not applicable

Just to add,

I've also found I get same results with 5.4.0.2 and 6.0.10.

Thanks,




0 Likes
Message 10 of 12

Stephen.Blair
Community Manager
Community Manager

You don't have to specify a light path expression, you can use the AOV names

  • diffuse_direct_key5Light
  • diffuse_indirect_key5Light

And Arnold will automatically create the light group AOVs

So in an ASS file, the outputs would be

  "diffuse_direct_key5Light RGB my_filter my_driver"
  "diffuse_indirect_key5Light RGB my_filter my_driver"




// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 11 of 12

Stephen.Blair
Community Manager
Community Manager

For direct, the LPE

 C<RD>.<L.'key5Light'> 

should be

 C<RD><L.'key5Light'> 

The . is any event, so that includes too much



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 12 of 12

Anonymous
Not applicable
Thank you very much, Stephen!


0 Likes