Blender V4.3
initrender.cc File Reference
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_math_base.h"
#include "BLI_math_matrix.h"
#include "BLI_utildefines.h"
#include "BKE_camera.h"
#include "render_types.h"

Go to the source code of this file.

Functions

static float filt_quadratic (float x)
 
static float filt_cubic (float x)
 
static float filt_catrom (float x)
 
static float filt_mitchell (float x)
 
float RE_filter_value (int type, float x)
 
ObjectRE_GetCamera (Render *re)
 
void RE_SetOverrideCamera (Render *re, Object *cam_ob)
 
void RE_SetCamera (Render *re, const Object *cam_ob)
 
void RE_GetCameraWindow (Render *re, const Object *camera, float r_winmat[4][4])
 
void RE_GetCameraWindowWithOverscan (const Render *re, float overscan, float r_winmat[4][4])
 
void RE_GetCameraModelMatrix (const Render *re, const Object *camera, float r_modelmat[4][4])
 
void RE_GetWindowMatrixWithOverscan (bool is_ortho, float clip_start, float clip_end, rctf viewplane, float overscan, float r_winmat[4][4])
 
void RE_GetViewPlane (Render *re, rctf *r_viewplane, rcti *r_disprect)
 

Function Documentation

◆ filt_catrom()

static float filt_catrom ( float x)
static

Definition at line 60 of file initrender.cc.

References x.

Referenced by RE_filter_value().

◆ filt_cubic()

static float filt_cubic ( float x)
static

Definition at line 43 of file initrender.cc.

References x.

Referenced by RE_filter_value().

◆ filt_mitchell()

static float filt_mitchell ( float x)
static

Definition at line 76 of file initrender.cc.

References b, and q1.

Referenced by RE_filter_value().

◆ filt_quadratic()

static float filt_quadratic ( float x)
static

Definition at line 29 of file initrender.cc.

References x.

Referenced by RE_filter_value().

◆ RE_filter_value()

◆ RE_GetCamera()

◆ RE_GetCameraModelMatrix()

void RE_GetCameraModelMatrix ( const Render * re,
const Object * camera,
float r_modelmat[4][4] )

◆ RE_GetCameraWindow()

void RE_GetCameraWindow ( Render * re,
const Object * camera,
float r_winmat[4][4] )

◆ RE_GetCameraWindowWithOverscan()

void RE_GetCameraWindowWithOverscan ( const Render * re,
float overscan,
float r_winmat[4][4] )

◆ RE_GetViewPlane()

void RE_GetViewPlane ( struct Render * re,
rctf * r_viewplane,
rcti * r_disprect )

◆ RE_GetWindowMatrixWithOverscan()

void RE_GetWindowMatrixWithOverscan ( bool is_ortho,
float clip_start,
float clip_end,
rctf viewplane,
float overscan,
float r_winmat[4][4] )

◆ RE_SetCamera()

◆ RE_SetOverrideCamera()

void RE_SetOverrideCamera ( Render * re,
Object * cam_ob )

Definition at line 154 of file initrender.cc.

References Render::camera_override.

Referenced by screen_opengl_views_setup().