|
NAME
SYNOPSIS
DESCRIPTIONA stack (RTCPointQueryContext type) which stores the IDs and instance transformations during a BVH traversal for a point query. The transformations are assumed to be affine transformations (3×3 matrix plus translation) and therefore the last column is ignored (see [RTC_GEOMETRY_TYPE_INSTANCE] for details).The rtcInitPointContext function initializes the context to default values and should be called for initialization. The context will be passed as an argument to the point query callback function (see [rtcSetGeometryPointQueryFunction]) and should be used to pass instance information down the instancing chain for user defined instancing (see tutorial [ClosestPoint] for a reference implementation of point queries with user defined instancing). The context is an necessary argument to [rtcPointQuery] and Embree internally uses the topmost instance tranformation of the stack to transform the point query into instance space. EXIT STATUSNo error code is set by this function.SEE ALSO[rtcPointQuery], [rtcSetGeometryPointQueryFunction] Visit the GSP FreeBSD Man Page Interface. |