Blender V2.61 - r43446
Functions

initrender.c File Reference

#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "PIL_time.h"
#include "BLI_math.h"
#include "BLI_blenlib.h"
#include "BLI_jitter.h"
#include "BLI_utildefines.h"
#include "DNA_camera_types.h"
#include "DNA_group_types.h"
#include "DNA_image_types.h"
#include "DNA_lamp_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_camera.h"
#include "BKE_global.h"
#include "BKE_material.h"
#include "BKE_object.h"
#include "BKE_image.h"
#include "BKE_ipo.h"
#include "BKE_key.h"
#include "BKE_action.h"
#include "BKE_writeavi.h"
#include "BKE_scene.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "renderpipeline.h"
#include "render_types.h"
#include "rendercore.h"
#include "pixelshading.h"
#include "zbuf.h"
#include "initrender.h"

Go to the source code of this file.

Functions

static void init_render_jit (Render *re)
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)
static float calc_weight (Render *re, float *weight, int i, int j)
void free_sample_tables (Render *re)
void make_sample_tables (Render *re)
struct ObjectRE_GetCamera (Render *re)
static void re_camera_params_get (Render *re, CameraParams *params, Object *cam_ob)
void RE_SetEnvmapCamera (Render *re, Object *cam_ob, float viewscale, float clipsta, float clipend)
void RE_SetCamera (Render *re, Object *cam_ob)
void RE_SetPixelSize (Render *re, float pixsize)
void RE_GetCameraWindow (struct Render *re, struct Object *camera, int frame, float mat[][4])
void freeparts (Render *re)
void initparts (Render *re)

Detailed Description

Definition in file initrender.c.


Function Documentation

static float calc_weight ( Render re,
float *  weight,
int  i,
int  j 
) [static]
static float filt_catrom ( float  x) [static]

Definition at line 134 of file initrender.c.

Referenced by calc_weight(), and RE_filter_value().

static float filt_cubic ( float  x) [static]

Definition at line 122 of file initrender.c.

Referenced by calc_weight(), and RE_filter_value().

static float filt_mitchell ( float  x) [static]

Definition at line 144 of file initrender.c.

Referenced by calc_weight(), and RE_filter_value().

static float filt_quadratic ( float  x) [static]

Definition at line 113 of file initrender.c.

Referenced by calc_weight(), and RE_filter_value().

void free_sample_tables ( Render re)
void freeparts ( Render re)
static void init_render_jit ( Render re) [static]
void initparts ( Render re)
void make_sample_tables ( Render re)
static void re_camera_params_get ( Render re,
CameraParams params,
Object cam_ob 
) [static]
float RE_filter_value ( int  type,
float  x 
)
struct Object* RE_GetCamera ( Render re) [read]
void RE_GetCameraWindow ( struct Render re,
struct Object camera,
int  frame,
float  mat[][4] 
)

Definition at line 520 of file initrender.c.

References RenderData::cfra, copy_m4_m4(), Render::r, RE_SetCamera(), and Render::winmat.

Referenced by screen_opengl_render_apply().

void RE_SetCamera ( Render re,
Object cam_ob 
)
void RE_SetEnvmapCamera ( Render re,
Object cam_ob,
float  viewscale,
float  clipsta,
float  clipend 
)
void RE_SetPixelSize ( Render re,
float  pixsize 
)

Definition at line 514 of file initrender.c.

References Render::viewdx, Render::viewdy, and Render::ycor.