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