|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| struct ProjCameraInfo * | BLI_uvproject_camera_info (struct Object *ob, float rotmat[4][4], float winx, float winy) |
| void | BLI_uvproject_from_camera (float target[2], float source[3], struct ProjCameraInfo *uci) |
| void | BLI_uvproject_from_view (float target[2], float source[3], float persmat[4][4], float rotmat[4][4], float winx, float winy) |
| void | BLI_uvproject_from_view_ortho (float target[2], float source[3], const float rotmat[4][4]) |
| void | BLI_uvproject_camera_info_scale (struct ProjCameraInfo *uci, float scale_x, float scale_y) |
| struct ProjCameraInfo* BLI_uvproject_camera_info | ( | struct Object * | ob, |
| float | rotmat[4][4], | ||
| float | winx, | ||
| float | winy | ||
| ) |
Referenced by uv_from_view_exec(), and uvprojectModifier_do().
| void BLI_uvproject_camera_info_scale | ( | struct ProjCameraInfo * | uci, |
| float | scale_x, | ||
| float | scale_y | ||
| ) |
Definition at line 197 of file uvproject.c.
References ProjCameraInfo::xasp, and ProjCameraInfo::yasp.
Referenced by uvprojectModifier_do().
| void BLI_uvproject_from_camera | ( | float | target[2], |
| float | source[3], | ||
| struct ProjCameraInfo * | uci | ||
| ) |
Definition at line 41 of file uvproject.c.
References angle(), atan2f, ProjCameraInfo::camangle, ProjCameraInfo::caminv, ProjCameraInfo::camsize, copy_v3_v3(), ProjCameraInfo::do_pano, ProjCameraInfo::do_persp, ProjCameraInfo::do_rotmat, float(), len_v2(), M_PI, mul_m4_v4(), ProjCameraInfo::rotmat, ProjCameraInfo::shiftx, ProjCameraInfo::shifty, ProjCameraInfo::xasp, and ProjCameraInfo::yasp.
Referenced by uv_from_view_exec(), and uvprojectModifier_do().
| void BLI_uvproject_from_view | ( | float | target[2], |
| float | source[3], | ||
| float | persmat[4][4], | ||
| float | rotmat[4][4], | ||
| float | winx, | ||
| float | winy | ||
| ) |
Definition at line 94 of file uvproject.c.
References copy_v3_v3(), fabsf, mul_m4_v4(), x, and y.
Referenced by uv_from_view_exec().
Definition at line 186 of file uvproject.c.
References mul_v3_m4v3().
Referenced by uv_from_view_exec().