#include <c4d_raytrace.h>
构造函数 & 析构函数文档编制
◆
RayCamera()
Member Data Documentation
The camera's matrix.
◆
m_inverse
The camera's inverse matrix.
◆
zoom
The zoom factor (focal length divided by aperture width for perspective projections).
◆
type
The camera type:
RaytraceCameraTypes
.
◆
depthoffield
The type of depth of field:
DOF
.
◆
front_end
The depth of field front blur end.
◆
middle
The depth of field target distance.
◆
rear_end
The depth of field rear blur end.
◆
qtvr_hstart
The horizontal start angle for QuickTime VR panorama.
◆
qtvr_hend
The horizontal end angle for QuickTime VR panorama.
◆
qtvr_vfov
The vertical field of view for QuickTime VR panorama.
◆
link
The pointer to the real camera object. Can be
nullptr
, always check.
◆
off
The camera offset, this is the center in screen coordinates.
◆
scale
The camera scale, this is the screen scale, including focal length, aperture etc.
◆
front_start
The depth of field front blur start.
◆
rear_start
The depth of field rear blur start.
◆
front_dlt
1.0/(RayCamera::front_start - RayCamera::front_end)
.
◆
rear_dlt
1.0/(RayCamera::rear_end - RayCamera::rear_start)
.
◆
xdlt
The X offset for internal render.
-
注意
-
This value (and
ydlt
) is only relevant if there is an editor rendering.
In the editor
Cinema 4D
has to fit in the view into the view window that might have a different x/y aspect ratio.
This means that either to the left/right or the upper/lower there will be an additional region that the final (external) render will not see.
The offset for this line is stored in either
xdlt
or
ydlt
, and the other one is
0
.