RTCSETGEOMETRYTIMESTEPCOUNT(3embree3)

πŸ“¦ version 3.13.5, in epel 9, fedora 43, fedora 44

πŸ’– rtcSetGeometryTimeStepCount(3) β€” Embree Ray Tracing Kernels 3 πŸ’–

okay bestie, buckle up, we're doing the Embree Ray Tracing Kernels 3 manual page for rtcSetGeometryTimeStepCount, section 3, and she is iconic πŸŽ€


✨ NAME ✨

rtcSetGeometryTimeStepCount β€” sets the number of time steps of the geometry πŸ¦‹


✨ SYNOPSIS ✨

#include <embree3/rtcore.h>

void rtcSetGeometryTimeStepCount(
  RTCGeometry geometry,
  unsigned int timeStepCount
);

✨ DESCRIPTION ✨

so the way this works is: rtcSetGeometryTimeStepCount sets the number of time steps for multi-segment motion blur (that's the timeStepCount parameter, bestie) of the geometry you point at (the geometry parameter). slay. πŸ’…

For triangle meshes (RTC_GEOMETRY_TYPE_TRIANGLE), quad meshes (RTC_GEOMETRY_TYPE_QUAD), curves (RTC_GEOMETRY_TYPE_CURVE), points (RTC_GEOMETRY_TYPE_POINT), and subdivision geometries (RTC_GEOMETRY_TYPE_SUBDIVISION), the number of time steps directly corresponds to the number of vertex buffer slots available (that's the RTC_BUFFER_TYPE_VERTEX buffer type, iykyk). For these geometries, one vertex buffer per time step must be specified when you're creating multi-segment motion blur geometries. not optional. periodt. 🌸

For instance geometries (RTC_GEOMETRY_TYPE_INSTANCE), a transformation must be specified for each time step (go look at rtcSetGeometryTransform, she's right there 🫢).

For user geometries, the registered bounding callback function must provide a bounding box per primitive and per time step, and the intersection and occlusion callback functions should properly intersect the motion-blurred geometry at the ray time. yes that's a lot of callbacks, no you can't skip them 😭


✨ EXIT STATUS ✨

On failure an error code is set that you can query using rtcGetDeviceError. so if something's giving πŸ’€, that's where the receipts live.


✨ SEE ALSO ✨

  • rtcNewGeometry
  • rtcSetGeometryTimeRange

and that's the whole page, no notes ✨ this was the rtcSetGeo...eStepCount(3) page from the Embree Ray Tracing Kernels 3 manual (section 3, the truncated little header/footer girlie herself πŸŽ€) β€” mwah, go set some time steps, you got this πŸ’œπŸ¦‹

πŸ“¦ where this page comes from