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