![]() |
RenderMan API
23.0
|
GetNearestHits()
returns ray hits in the form of a list of RixShadingContext
. These shading contexts represent a collection of points which have had their associated Bxdfs fully executed and set up for sample evaluation and generation. Since a Bxdf evaluation may trigger an upstream evaluation of all input patterns, this version of the call is considered to be very expensive as it invokes full shading. GetNearestHits()
returns ray hits in the form of a list of RtHitGeometry
. No shading contexts are set up in this routine, and only information about the geometric locale is returned. This version of the call is preferred if no shading needs to be performed, such as in the case of an occlusion-only integrator.