1rtcGetGeometryTransformFroEmmSbcreenee(R3a)y TracingrKtecrGneetlGseo4metryTransformFromScene(3)
2
3
4
5 NAME
6 rtcGetGeometryTransformFromScene - returns the interpolated instance
7 transformation for the specified time
8
9 SYNOPSIS
10 #include <embree4/rtcore.h>
11
12 void rtcGetGeometryTransformFromScene(
13 RTCScene scene,
14 unsigned int geomID,
15 float time,
16 enum RTCFormat format,
17 void* xfm
18 );
19
20 DESCRIPTION
21 The rtcGetGeometryTransformFromScene function returns the interpolated
22 local to world transformation (xfm output parameter) of an instance ge‐
23 ometry specified by its geometry ID (geomID parameter) of a scene
24 (scene parameter) for a particular time (time parameter in range
25 [0, 1]) in the specified format (format parameter).
26
27 Possible formats for the returned matrix are:
28
29 • RTC_FORMAT_FLOAT3X4_ROW_MAJOR: The 3×4 float matrix is laid out in
30 row-major form.
31
32 • RTC_FORMAT_FLOAT3X4_COLUMN_MAJOR: The 3×4 float matrix is laid out in
33 column-major form.
34
35 • RTC_FORMAT_FLOAT4X4_COLUMN_MAJOR: The 3×4 float matrix is laid out in
36 column-major form as a 4×4 homogeneous matrix with last row equal to
37 (0, 0, 0, 1).
38
39 In contrast to the rtcGetGeometryTransform function, the rtcGetGeome‐
40 tryTransformFromScene function can get used during rendering inside a
41 SYCL kernel.
42
43 EXIT STATUS
44 On failure an error code is set that can be queried using rtcGetDe‐
45 viceError.
46
47 SEE ALSO
48 [RTC_GEOMETRY_TYPE_INSTANCE], [rtcSetGeometryTransform], [rtcGetGeome‐
49 tryTransform]
50
51
52
53 rtcGetGeometryTransformFromScene(3)