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), and subdi‐
24 vision geometries (RTC_GEOMETRY_TYPE_SUBDIVISION), the number of time
25 steps directly corresponds to the number of vertex buffer slots avail‐
26 able (RTC_BUFFER_TYPE_VERTEX buffer type). For these geometries, one
27 vertex buffer per time step must be specified when creating multi-seg‐
28 ment motion blur geometries.
29
30 For instance geometries (RTC_GEOMETRY_TYPE_TRIANGLE), 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 rtcDe‐
40 viceGetError.
41
42 SEE ALSO
43 [rtcNewGeometry]
44
45
46
47 rtcSetGeometryTimeStepCount(3)