1rtcGetGeometryTransformEx(E3m)bree Ray Tracing Kernelsrt4cGetGeometryTransformEx(3)
2
3
4
5   NAME
6              rtcGetGeometryTransformEx - returns the interpolated instance
7              transformation for an instance of an instance array geometry for the
8              specified time.
9
10   SYNOPSIS
11              #include <embree4/rtcore.h>
12
13              void rtcGetGeometryTransformEx(
14                RTCGeometry geometry,
15                unsigned int instPrimID,
16                float time,
17                enum RTCFormat format,
18                void* xfm
19              );
20
21   DESCRIPTION
22       The  rtcGetGeometryTransformEx  function returns the interpolated local
23       to world transformation (xfm parameter) of the  instPrimID-th  instance
24       of  an  instance  array  geometry (geometry parameter) for a particular
25       time (time parameter in range [0, 1]) in the specified  format  (format
26       parameter).   The  function  can also be used when geometry refers to a
27       regular instance, but then the instPrimID has to be 0.
28
29       Possible formats for the returned matrix are:
30
31       • RTC_FORMAT_FLOAT3X4_ROW_MAJOR: The 3×4 float matrix is  laid  out  in
32         row-major form.
33
34       • RTC_FORMAT_FLOAT3X4_COLUMN_MAJOR: The 3×4 float matrix is laid out in
35         column-major form.
36
37       • RTC_FORMAT_FLOAT4X4_COLUMN_MAJOR: The 3×4 float matrix is laid out in
38         column-major  form as a 4×4 homogeneous matrix with last row equal to
39         (0, 0, 0, 1).
40
41   EXIT STATUS
42       On failure an error code is set that can  be  queried  using  rtcGetDe‐
43       viceError.
44
45   SEE ALSO
46       [RTC_GEOMETRY_TYPE_INSTANCE_ARRAY]
47
48
49
50                                                  rtcGetGeometryTransformEx(3)
Impressum