File: rtcSetGeometryTimeRange.4embree4

package info (click to toggle)
embree 4.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 100,656 kB
  • sloc: cpp: 228,918; xml: 40,944; ansic: 2,685; python: 812; sh: 635; makefile: 228; csh: 42
file content (61 lines) | stat: -rw-r--r-- 1,872 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "rtcSetGeometryTimeRange" "3" "" "" "Embree Ray Tracing Kernels 4"
.hy
.SS NAME
.IP
.nf
\f[C]
rtcSetGeometryTimeRange - sets the time range for a motion blur geometry
\f[R]
.fi
.SS SYNOPSIS
.IP
.nf
\f[C]
#include <embree4/rtcore.h>

void rtcSetGeometryTimeRange(
  RTCGeometry geometry,
  float startTime,
  float endTime
);
\f[R]
.fi
.SS DESCRIPTION
.PP
The \f[C]rtcSetGeometryTimeRange\f[R] function sets a time range which
defines the start (and end time) of the first (and last) time step of a
motion blur geometry.
The time range is defined relative to the camera shutter interval [0,1]
but it can be arbitrary.
Thus the startTime can be smaller, equal, or larger 0, indicating a
geometry whose animation definition start before, at, or after the
camera shutter opens.
Similar the endTime can be smaller, equal, or larger than 1, indicating
a geometry whose animation definition ends after, at, or before the
camera shutter closes.
The startTime has to be smaller or equal to the endTime.
.PP
The default time range when this function is not called 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.
Thus do not set the startTime or endTime too far outside the [0,1]
interval for best performance.
.PP
This time range feature will also allow geometries to appear and
disappear during the camera shutter time if the specified time range is
a sub range of [0,1].
.PP
Please also have a look at the \f[C]rtcSetGeometryTimeStepCount\f[R]
function to see how to define the time steps for the specified time
range.
.SS EXIT STATUS
.PP
On failure an error code is set that can be queried using
\f[C]rtcGetDeviceError\f[R].
.SS SEE ALSO
.PP
[rtcSetGeometryTimeStepCount]