RenderManAPI  24.0
PxrGeoAOV Namespace Reference

Enumerations

enum  PxrGeoAovIds {
  k_Pworld = RixShadingContext::k_numBuiltinVars, k_Nworld, k_depth, k_st,
  k_Pref, k_WPref, k_Nref, k_WNref,
  k_faceindex, k_numGeoAovs
}
 

Functions

bool disableIntegratorAOVs (RixContext &ctx, RixChannelId *&aovIdList)
 
void GetChannelIds (RixIntegratorEnvironment &env, RixChannelId *&aovIdList)
 
bool NeedTempFloat (RixChannelId *aovIdList)
 
void Splat (RtInt numShadingContexts, RixShadingContext const **sctxs, RixDisplayServices *dspsvc, RtFloat3 *aovValue, RtFloat *savedFloat, RixChannelId *aovIdList, RixBXLobeTraits const *lobesWanted=NULL, RtUString coordinateSystem=Rix::k_camera)
 

Enumeration Type Documentation

◆ PxrGeoAovIds

Enumerator
k_Pworld 
k_Nworld 
k_depth 
k_st 
k_Pref 
k_WPref 
k_Nref 
k_WNref 
k_faceindex 
k_numGeoAovs 

Function Documentation

◆ disableIntegratorAOVs()

bool PxrGeoAOV::disableIntegratorAOVs ( RixContext ctx,
RixChannelId *&  aovIdList 
)
inline

◆ GetChannelIds()

void PxrGeoAOV::GetChannelIds ( RixIntegratorEnvironment env,
RixChannelId *&  aovIdList 
)
inline

References k_numGeoAovs.

◆ NeedTempFloat()

bool PxrGeoAOV::NeedTempFloat ( RixChannelId aovIdList)
inline

References k_Pworld.

◆ Splat()

void PxrGeoAOV::Splat ( RtInt  numShadingContexts,
RixShadingContext const **  sctxs,
RixDisplayServices dspsvc,
RtFloat3 aovValue,
RtFloat savedFloat,
RixChannelId aovIdList,
RixBXLobeTraits const *  lobesWanted = NULL,
RtUString  coordinateSystem = Rix::k_camera 
)
inline
Note
The primvars are provided in "current" space, so we have to undo that transformation to output the expected values.

References RixBxdf::GetAllLobeTraits(), RixShadingContext::GetBxdf(), RixBXLobeTraits::GetContinuation(), RixShadingContext::GetProperty(), RixShadingContext::HasHits(), k_numGeoAovs, k_RayDepth, RixShadingContext::numPts, and RixIsMatte().