rtcSetGeometryTransform(3) | Embree Ray Tracing Kernels 3 | rtcSetGeometryTransform(3) |
rtcSetGeometryTransform - sets the transformation for a particular
time step of an instance geometry
#include <embree3/rtcore.h> void rtcSetGeometryTransform(
RTCGeometry geometry,
unsigned int timeStep,
enum RTCFormat format,
const float* xfm );
The rtcSetGeometryTransform function sets the local-to-world affine transformation (xfm parameter) of an instance geometry (geometry parameter) for a particular time step (timeStep parameter). The transformation is specified as a 3×4 matrix (3×3 linear transformation plus translation), for which the following formats (format parameter) are supported:
On failure an error code is set that can be queried using rtcGetDeviceError.
[RTC_GEOMETRY_TYPE_INSTANCE]