1rtcSetGeometryTimeStepCounEtm(b3r)ee Ray Tracing KernerltscS3etGeometryTimeStepCount(3)
2
3
4
5   NAME
6              rtcSetGeometryTimeStepCount - sets the number of time steps of the
7                geometry
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              void rtcSetGeometryTimeStepCount(
13                RTCGeometry geometry,
14                unsigned int timeStepCount
15              );
16
17   DESCRIPTION
18       The  rtcSetGeometryTimeStepCount function sets the number of time steps
19       for multi-segment motion blur (timeStepCount parameter) of  the  speci‐
20       fied geometry (geometry parameter).
21
22       For   triangle   meshes   (RTC_GEOMETRY_TYPE_TRIANGLE),   quad   meshes
23       (RTC_GEOMETRY_TYPE_QUAD),  curves   (RTC_GEOMETRY_TYPE_CURVE),   points
24       (RTC_GEOMETRY_TYPE_POINT),   and   subdivision  geometries  (RTC_GEOME‐
25       TRY_TYPE_SUBDIVISION), the number of time steps directly corresponds to
26       the  number  of  vertex  buffer slots available (RTC_BUFFER_TYPE_VERTEX
27       buffer type).  For these geometries, one vertex buffer  per  time  step
28       must be specified when creating multi-segment motion blur geometries.
29
30       For  instance geometries (RTC_GEOMETRY_TYPE_INSTANCE), a transformation
31       must be specified for each time step (see rtcSetGeometryTransform).
32
33       For user geometries, the registered  bounding  callback  function  must
34       provide  a  bounding box per primitive and time step, and the intersec‐
35       tion and occlusion callback functions  should  properly  intersect  the
36       motion-blurred geometry at the ray time.
37
38   EXIT STATUS
39       On  failure  an  error  code is set that can be queried using rtcGetDe‐
40       viceError.
41
42   SEE ALSO
43       [rtcNewGeometry], [rtcSetGeometryTimeRange]
44
45
46
47                                                rtcSetGeometryTimeStepCount(3)
Impressum