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 (RTC_GE‐
23 OMETRY_TYPE_QUAD), curves (RTC_GEOMETRY_TYPE_CURVE), points (RTC_GEOME‐
24 TRY_TYPE_POINT), and subdivision geometries (RTC_GEOMETRY_TYPE_SUBDIVI‐
25 SION), the number of time steps directly corresponds to the number of
26 vertex buffer slots available (RTC_BUFFER_TYPE_VERTEX buffer type).
27 For these geometries, one vertex buffer per time step must be specified
28 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 mo‐
36 tion-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)