Versions Compared

Key

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

...

Essentially, the syntax follows the direction in which a ray travels in the scene and capture captures information along the ray path.

...

For example, if you need to capture GI bounced off of one object onto another, light will travel from the light, onto the object that casts GI, then onto the object that receives GI and end at the camera. But in LPEs, just like in ray tracing, the expression will be in reverse, starting from the camera, asking for what object receives GI, then what object casts the GI and end at the light source. 

 

LPE Symbols

...

The LPE alphabet consists of the symbols representing a ray event/type and additional regular expression symbols (“.”, “+”, “*”, “<”, “>”, “[“, “]”, “|”, “?”, “^” and additional label strings).

...

The Misc and masking presets are useful in common-use - cases.

Any preset can be used as a starting point for building other expressions and like any LPE, they can be combined with boolean operations.

UI Expand
titleLPE Presets: Render Element equivalents
Section
Column
width45%

Preset

Light path expression
Render elements
RGBC.*
Self-illuminationC[OL]
BackgroundCB
LightingC<RD>L
SpecularC<R[GS]>L
GIC<RD>(.+L|.*[OB])
SSSC<TD>.+L
ReflectionC<R[GS]>.+L
RefractionC<T[GS]>.+L
AtmosphereCV.*
UI Text Box
typetip
It will be faster and more efficient to use the already available render elements instead of their LPE equivalents in the presets, of course - the examples are there as a point of reference.
 
Column
width5%

Column
width50%

UI Expand
titleLPE Presets: Light Select equivalents
Section
Column
width45%

Preset

Light path expression
Light selects
Direct IlluminationCRL
Direct DiffuseC<RD>L
Direct SpecularC<R[GS]>L
FullC.*L
IndirectCR.+L
Indirect DiffuseC<RD>.+L
Indirect SpecularC<R[GS]>.+L
Column
width5%

 

Column
width50%

 

 

 

 

...