1rtcCommitScene(3)        Embree Ray Tracing Kernels 3        rtcCommitScene(3)
2
3
4
5   NAME
6              rtcCommitScene - commits scene changes
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              void rtcCommitScene(RTCScene scene);
12
13   DESCRIPTION
14       The rtcCommitScene function commits all changes for the specified scene
15       (scene argument).  This  internally  triggers  building  of  a  spatial
16       acceleration  structure  for  the  scene  using  all  available  worker
17       threads.  Ray queries can be performed only after committing all  scene
18       changes.
19
20       The  kind of acceleration structure built can be influenced using scene
21       flags (see rtcSetSceneFlags), and the quality can  be  specified  using
22       the rtcSetSceneBuildQuality function.
23
24       Embree  silently  ignores primitives during spatial acceleration struc‐
25       ture construction that would cause numerical issues,  e.g.   primitives
26       containing  NaNs, INFs, or values greater than 1.844E18f (as no reason‐
27       able calculations can be performed with  such  values  without  causing
28       overflows).
29
30   EXIT STATUS
31       On  failure  an  error  code is set that can be queried using rtcGetDe‐
32       viceError.
33
34   SEE ALSO
35       [rtcJoinCommitScene]
36
37
38
39                                                             rtcCommitScene(3)
Impressum