Image Modified
VFX artists often need to composite the CG objects over a live action film plate. To convince the audience that the CG objects are real and belong to the scene, holdouts are used to collect the CG objects' shadow and reflection that match very closely to the shadow and reflection in the live action plate.
...
...
...
...
...
...
...
Geometry
Holdout objects are used in place of real world object to catch light interactions from 3D objects. In RenderMan, holdout objects are specified by enabling the trace holdout attribute.
Code Block |
---|
Attribute "trace" "int holdout" [1] |
Integrators and AOVs
Holdouts are an illumination feature implemented at the integrator level. They are able to catch a variety of integrator-specific illumination effects such as diffuse and specular reflections, transmissions, and caustics. Available integrator that support holdouts are: PxrPathTracer, PxrVCM, and PxrUPBP.
Carousel Image Slider |
---|
include | pxrDome_intensity05.jpg, pxrDome_intensity10.jpg, pxrDome_intensity20.jpg |
---|
maxNumber | 3 |
---|
dots | false |
---|
columns | 3 |
---|
infinite | false |
---|
sliderHeight | 190 |
---|
arrows | false |
---|
labelsFilter | integrator |
---|
gutterSize | 20 |
---|
title | Intensity |
---|
animate | false |
---|
captions | true |
---|
|
LPE workflow remain remains unchanged for holdout geometry.
...
Note |
---|
Because holdouts workflow involves multiple AOVs, rendering with adapt all enabled can reduce noise. |
Lights
By default, light sources are considered holdouts and do not illuminate other holdout objects directly. This prevents double contribution between 3d lights used to illuminate non-holdout geometry and the illumination already captured on the plate image.
To create a holdout light (i.e. a light source that does directly illuminates illuminate holdout objects), create a light using use "__illumholdout" as the light group suffix. This tells integrators integrator plug-ins to consider this light as a non-holdout light source when illuminating holdout geometrydetermining illumination.
Code Block |
---|
Light "PxrSphereLight" "spherelight" "string lightGroup" ["light__illumholdout"] |
Carousel Image Slider |
---|
include | pxrDome_intensity05.jpg, pxrDome_intensity10.jpg, pxrDome_intensity20.jpg |
---|
maxNumber | 3 |
---|
dots | false |
---|
columns | 3 |
---|
infinite | false |
---|
sliderHeight | 190 |
---|
arrows | false |
---|
labelsFilter | illumholdout |
---|
gutterSize | 20 |
---|
title | Intensity |
---|
animate | false |
---|
captions | true |
---|
|
Alpha, Shadows, and Compositing
Holdout contributions contribution can be composited over a film plate using an alpha and shadow pass as the masking termmasks. The shadow pass can be output is generated using the PxrShadowFilter PxrShadowDisplayFilter plug-in and can be optionally written to its own AOV or added to the alpha. The occluded and unoccluded input AOVs should be rendered using the holdouts LPE prefix so that they only contain the shadowing term for holdout geometry.
...
Compositing can be interactively previewed in RenderMan by using PxrImagePlaneFilter SampleFilter the PxrImageDisplayFilter plug-in. This will composite the film plate with the beauty renderchannel, using the alpha channel and holdout shadow AOV to mask the plate.
...