1rtcSetGeometryOccludedFiltEemrbFruenectRiaoyn(T3r)acritncgSeKteGrenoemlestr3yOccludedFilterFunction(3)
2
3
4
5   NAME
6              rtcSetGeometryOccludedFilterFunction - sets the occlusion filter
7                for the geometry
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              void rtcSetGeometryOccludedFilterFunction(
13                RTCGeometry geometry,
14                RTCFilterFunctionN filter
15              );
16
17   DESCRIPTION
18       The  rtcSetGeometryOccludedFilterFunction  function registers an occlu‐
19       sion filter callback function (filter argument) for the specified geom‐
20       etry (geometry argument).
21
22       Only  a  single  callback  function can be registered per geometry, and
23       further invocations overwrite the  previously  set  callback  function.
24       Passing NULL as function pointer disables the registered callback func‐
25       tion.
26
27       The registered intersection filter function is invoked  for  every  hit
28       encountered  during  the rtcOccluded-type ray queries and can accept or
29       reject that hit.  The feature can be used to define a silhouette for  a
30       primitive  and  reject  hits  that are outside the silhouette.  E.g.  a
31       tree leaf could be modeled with an alpha texture that  decides  whether
32       hit points lie inside or outside the leaf.
33
34       Please see the description of the rtcSetGeometryIntersectFilterFunction
35       for a description of the filter callback function.
36
37   EXIT STATUS
38       On failure an error code is  set  that  can  be  queried  using  rtcDe‐
39       viceGetError.
40
41   SEE ALSO
42       [rtcSetGeometryIntersectFilterFunction]
43
44
45
46                                       rtcSetGeometryOccludedFilterFunction(3)
Impressum