Page tree

Versions Compared

Key

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

...

LPE EventsDescriptionExample
C
Camera

All LPEs must contain a camera event.

<type event 'group'>
Scattering event specified by scattering type, scattering event, or lpe groupC<RD'floor'>[LO] matches diffuse reflections from the floor lpe group
<L.'group'>
Light, i.e. analytic and geometric lightsC.*<L.'key'> matches all light paths from the key light group
O
Emissive object, i.e. camera visible lights and material glowC.*O matches all emissive object light paths
Wildcard  
.
A period will match any relevant scattering type or event

C.L which is the same as C<..>L or C<[RT][DS]>L

Scattering Types  
R
ReflectionCR[LO] which is the same as C<R.>[LO] or C<R[DS]>[LO] matches direct reflection
T
Transmission or refractionCT[LO] which is the same as C<T.>[LO] or C<T[DS]>[LO] matches direct transmission
Scattering Events  
D
Diffuse lobes (D1, D2, D3, D4)CD[LO] which is the same as C<.D>[LO] or C<[RT]D>[LO] matches direct diffuse.
S
Specular/Glossy lobes (S1, S2, S3, S4, S5, S6, S7, S8)CS[LO] which is the same as C<.S>[LO] or C<[RT]S>[LO] matches direct specular
User Event  

U

User lobes to output material properties, not light transport (U1 to U12)

Note: User events must be explicit and will not match wildcards

CU2L matches the camera visible user2 lobe, typically albedo

Grouping  
( )Parentheses allow grouping of a sequence of LPE eventsCDSL, C(DS)L, and CD(SL) are all functionally equivalent
Alternatives  
|A vertical bar separates alternativesCD|(SD)L matches CDL or CSDL
[ ]Square brackets that match any one of the enclosed eventsC[S2 S3 S4S2S3S4]L matches CS2L, CS3L, or CS4L
[^ ]
Square brackets that match any one event not contained within the bracketsC[^D2D3]L matches all light paths besides diffuse2 and diffuse3 (including specular)
Qualifiers  
*
An asterisk will match the preceding event zero or more timesC.*[LO] matches all light paths, including emissive
+
A plus sign will match the preceding event one or more timesC.+[LO] matches direct and indirect light paths, but not emissive
?A question mark will match the preceding event zero or one timesC.?[LO] matches direct and emissive light paths
{n}
Curly brackets that match the preceding event exactly n timesCT{2}[LO] matches double transmission light paths
{min,}
Curly brackets that match the preceding event min or more timesC.{2,}[LO] matches all indirect light paths
{min,max}
Curly brackets that match the preceding event at least min but not more than max timesC.{0,2}[LO] matches all light paths with up to one bounce of indirect

...