RTCSETGEOMETRYTIMERANGE(3embree3)
β¨ NAME β¨
rtcSetGeometryTimeRange β bestie, this one sets the time range for a motion blur geometry π
π SYNOPSIS π
#include <embree3/rtcore.h>
void rtcSetGeometryTimeRange(
RTCGeometry geometry,
float startTime,
float endTime
);
π¦ DESCRIPTION π¦
okay so rtcSetGeometryTimeRange sets a time range, and that time range defines the start (and the end time) of the first (and the last) time step of a motion blur geometry. no cap. π«Ά
The time range is defined relative to the camera shutter interval [0,1], but lowkey it can be arbitrary. So bestie, that means:
- your
startTimecan be smaller than 0, equal to 0, or larger than 0 β and that's you saying the geometry's animation definition starts before, at, or after the camera shutter opens πΈ - and similarly your
endTimecan be smaller than 1, equal to 1, or larger than 1 β which says the geometry's animation definition ends after, at, or before the camera shutter closes π
β οΈ heads up:startTimehas to be smaller or equal toendTime. that's the rule, periodt.
If you never call this function, the default time range is the entire camera shutter, [0,1] π
For best performance, at most one time segment of the piece wise linear definition of the motion should fall outside the shutter window to the left and to the right. So basically: do not set startTime or endTime too far outside the [0,1] interval if you want that best performance, iykyk. π₯
This time range feature will also let geometries appear and disappear during the camera shutter time β that's when the specified time range is a sub range of [0,1] β¨
Also pls go look at the rtcSetGeometryTimeStepCount function to see how to define the time steps for the specified time range π
π EXIT STATUS π
If it fails, an error code is set, and you can query it using rtcGetDeviceError. π
π SEE ALSO π
- [
rtcSetGeometryTimeStepCount]
k that's the whole page bestie, go forth and motion-blur responsibly π§
this was the Embree Ray Tracing Kernels 3 manual, section 3embree3 β mwah, slay, bye π π
π¦ where this page comes from
- epel 9: embree 3.13.5-4.el9 Β· Apache-2.0
- fedora 43: embree3 3.13.5-9.fc41 Β· Apache-2.0
- fedora 44: embree3 3.13.5-16.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms