Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
struct UvCameraInfo * | project_camera_info (struct Object *ob, float rotmat[4][4], float winx, float winy) |
void | project_from_camera (float target[2], float source[3], struct UvCameraInfo *uci) |
void | project_from_view (float target[2], float source[3], float persmat[4][4], float rotmat[4][4], float winx, float winy) |
void | project_from_view_ortho (float target[2], float source[3], float rotmat[4][4]) |
void | project_camera_info_scale (struct UvCameraInfo *uci, float scale_x, float scale_y) |
Definition in file BLI_uvproject.h.
struct UvCameraInfo* project_camera_info | ( | struct Object * | ob, |
float | rotmat[4][4], | ||
float | winx, | ||
float | winy | ||
) | [read] |
Referenced by uv_from_view_exec(), and uvprojectModifier_do().
void project_camera_info_scale | ( | struct UvCameraInfo * | uci, |
float | scale_x, | ||
float | scale_y | ||
) |
Definition at line 197 of file uvproject.c.
References UvCameraInfo::xasp, and UvCameraInfo::yasp.
Referenced by uvprojectModifier_do().
void project_from_camera | ( | float | target[2], |
float | source[3], | ||
struct UvCameraInfo * | uci | ||
) |
Definition at line 46 of file uvproject.c.
References angle(), atan2f, UvCameraInfo::camangle, UvCameraInfo::caminv, UvCameraInfo::camsize, copy_v3_v3(), UvCameraInfo::do_pano, UvCameraInfo::do_persp, UvCameraInfo::do_rotmat, len_v2(), M_PI, mul_m4_v4(), UvCameraInfo::rotmat, UvCameraInfo::shiftx, UvCameraInfo::shifty, UvCameraInfo::xasp, and UvCameraInfo::yasp.
Referenced by uv_from_view_exec(), and uvprojectModifier_do().
void project_from_view | ( | float | target[2], |
float | source[3], | ||
float | persmat[4][4], | ||
float | rotmat[4][4], | ||
float | winx, | ||
float | winy | ||
) |
Definition at line 96 of file uvproject.c.
References copy_v3_v3(), fabsf, mul_m4_v4(), and mul_v3_m4v3().
Referenced by uv_from_view_exec().
void project_from_view_ortho | ( | float | target[2], |
float | source[3], | ||
float | rotmat[4][4] | ||
) |
Definition at line 185 of file uvproject.c.
References mul_v3_m4v3().
Referenced by uv_from_view_exec().