|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| void | RE_make_sticky (struct Scene *scene, struct View3D *v3d) |
| int | externtex (struct MTex *mtex, float *vec, float *tin, float *tr, float *tg, float *tb, float *ta, const int thread) |
| void | texture_rgb_blend (float *in, float *tex, float *out, float fact, float facg, int blendtype) |
| float | texture_value_blend (float tex, float out, float fact, float facg, int blendtype) |
| void | ibuf_sample (struct ImBuf *ibuf, float fx, float fy, float dx, float dy, float *result) |
| void | antialias_tagbuf (int xsize, int ysize, char *rectmove) |
Definition in file RE_render_ext.h.
| void antialias_tagbuf | ( | int | xsize, |
| int | ysize, | ||
| char * | rectmove | ||
| ) |
Definition at line 2733 of file zbuf.c.
References next.
Referenced by do_idmask(), node_composit_exec_zcombine(), and RE_zbuf_accumulate_vecblur().
| int externtex | ( | struct MTex * | mtex, |
| float * | vec, | ||
| float * | tin, | ||
| float * | tr, | ||
| float * | tg, | ||
| float * | tb, | ||
| float * | ta, | ||
| const int | thread | ||
| ) |
Definition at line 3342 of file render_texture.c.
References MTex::b, do_2d_mapping(), MTex::g, multitex(), TexResult::nor, NULL, MTex::ofs, MTex::projx, MTex::projy, MTex::projz, MTex::r, MTex::size, TexResult::ta, TexResult::tb, MTex::tex, TEX_IMAGE, TexResult::tg, TexResult::tin, TexResult::tr, Tex::type, and MTex::which_output.
Referenced by brush_sample_tex(), get_cpa_texture(), mesh_noise_exec(), psys_get_texture(), RE_inithalo(), RE_inithalo_particle(), and tex_strength().
| void ibuf_sample | ( | struct ImBuf * | ibuf, |
| float | fx, | ||
| float | fy, | ||
| float | dx, | ||
| float | dy, | ||
| float * | result | ||
| ) |
Definition at line 1816 of file imagetexture.c.
References afdata_t::dxt, afdata_t::dyt, ewa_eval(), afdata_t::extflag, afdata_t::intpol, NULL, TexResult::ta, TexResult::tb, TexResult::tg, TexResult::tr, and TXC_EXTD.
Referenced by do_displace(), and do_mapuv().
Definition at line 5800 of file convertblender.c.
References Scene::camera, CD_CALLOC, CD_MSTICKY, MVert::co, CustomData_add_layer(), CustomData_free_layer_active(), Object::data, FIRSTBASE, invert_m4_m4(), Mesh::msticky, mul_m4_m4m4(), mul_m4_v3(), Mesh::mvert, Base::next, normalize_m4(), NULL, OB_MESH, Scene::obedit, Base::object, Object::obmat, projectverto(), Scene::r, RE_InitState(), RE_NewRender(), RE_SetCamera(), RE_SetView(), TESTBASELIB, Mesh::totvert, Object::type, V3D_CAMERA_LOCAL, VECCOPY, Render::viewmat, where_is_object(), Render::winmat, RenderData::xsch, and RenderData::ysch.
Referenced by sticky_add_exec().
| void texture_rgb_blend | ( | float * | in, |
| float * | tex, | ||
| float * | out, | ||
| float | fact, | ||
| float | facg, | ||
| int | blendtype | ||
| ) |
Definition at line 1377 of file render_texture.c.
References fabs(), MA_RAMP_COLOR, MA_RAMP_HUE, MA_RAMP_LINEAR, MA_RAMP_SAT, MA_RAMP_SOFT, MA_RAMP_VAL, MTEX_ADD, MTEX_BLEND, MTEX_BLEND_COLOR, MTEX_BLEND_HUE, MTEX_BLEND_SAT, MTEX_BLEND_VAL, MTEX_DARK, MTEX_DIFF, MTEX_DIV, MTEX_LIGHT, MTEX_LIN_LIGHT, MTEX_MUL, MTEX_OVERLAY, MTEX_SCREEN, MTEX_SOFT_LIGHT, MTEX_SUB, ramp_blend(), and VECCOPY.
| float texture_value_blend | ( | float | tex, |
| float | out, | ||
| float | fact, | ||
| float | facg, | ||
| int | blendtype | ||
| ) |
Definition at line 1511 of file render_texture.c.
References fabs(), fabsf, MTEX_ADD, MTEX_BLEND, MTEX_DARK, MTEX_DIFF, MTEX_DIV, MTEX_LIGHT, MTEX_LIN_LIGHT, MTEX_MUL, MTEX_OVERLAY, MTEX_SCREEN, MTEX_SOFT_LIGHT, MTEX_SUB, and SWAP.