Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

indirect_diffuse AOV contribution

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
jpolkVFNE7
344 Views, 11 Replies

indirect_diffuse AOV contribution

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

If so, can this be turned off somehow?

Thanks,


Tags (1)
Labels (1)
11 REPLIES 11
Message 2 of 12
Stephen.Blair
in reply to: jpolkVFNE7

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
Message 3 of 12
jpolkVFNE7
in reply to: Stephen.Blair

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,



Message 4 of 12
Stephen.Blair
in reply to: jpolkVFNE7

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
Message 5 of 12
jpolkVFNE7
in reply to: jpolkVFNE7

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,


Message 6 of 12
jpolkVFNE7
in reply to: Stephen.Blair

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,

Message 7 of 12
Stephen.Blair
in reply to: jpolkVFNE7

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
Message 8 of 12
jpolkVFNE7
in reply to: Stephen.Blair

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,


Message 9 of 12
jpolkVFNE7
in reply to: jpolkVFNE7

Just to add,

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

Thanks,




Message 10 of 12
Stephen.Blair
in reply to: jpolkVFNE7

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
Message 11 of 12
Stephen.Blair
in reply to: jpolkVFNE7

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
Message 12 of 12
jpolkVFNE7
in reply to: Stephen.Blair

Thank you very much, Stephen!


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

Post to forums  

Autodesk Design & Make Report