Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Shader

Output

Closure

 

synopsis

Multiexcerpt
MultiExcerptNamesynopsis

It is possible to

tag

designate objects to be part of one or many trace sets. The trace_set shader

tags

marks specific rays with an inclusive or exclusive trace set. Both geometry and rays can be

tagged with

designated as trace sets:

  • A piece of geometry can have none or any number of trace
set tags
  • sets.
  • A ray can optionally have one trace_set
tag
  • , and it can be exclusive or inclusive.
 


The way those two

tags

interact makes it possible to control visibility for specific rays:

 

  • A ray with no trace_set will hit all geometry.
  • A ray
tagged
  • marked with an inclusive trace set will only hit geometry
which
  • that has that trace_set
tag
  • .
  • A ray
tagged
  • marked with an exclusive trace set will only see geometry that does NOT have that trace
set tag
  • _set.


Note
  • An empty trace set name means that the shape belongs to all sets. So to remove objects from, say reflections, one must assign a dummy set name.
  • The trace set name must be set before the ray is fired. For example, for "direct" reflections, the trace_set node must be connected to the "camera" rays in addition to the "reflection" one.


 



passthrough

Multiexcerpt
MultiExcerptNamePassthrough

The shader that gets called after setting the label.

 

trace_set

Multiexcerpt
MultiExcerptNametrace_set

The string label defining the set of objects to be traced or avoided. Objects are labeled using the Arnold Parameters Tag property.

 

inclusive

Multiexcerpt
MultiExcerptNameinclusive

If on, the tracing works in inclusive mode, else in exclusive, as described above.

 

Center

Gallery
includeLabelinclusive

trace_set assigned to plane



© 2020-2021 Autodesk. All Rights Reserved / website terms / privacy/cookies / ccpa settings