#include <glsl_perlin_test.H>
Inheritance diagram for GLSLPerlinTest:
Public Types | |
enum | ref_img_t { REF_IMG_NONE = 0, REF_IMG_ID = 1, REF_IMG_COLOR = 2, REF_IMG_COLOR_2 = 4, REF_IMG_ID_PRE1 = 8, REF_IMG_ID_PRE2 = 16, REF_IMG_ID_PRE3 = 32, REF_IMG_ID_PRE4 = 64, REF_IMG_TEX_MEM = 128 } |
Public Member Functions | |
GLSLPerlinTest (Patch *patch=0) | |
DEFINE_RTTI_METHODS3 ("GLSL Perlin Test", GLSLPerlinTest *, BasicTexture, CDATA_ITEM *) | |
void | set_tex (Cstr_ptr &full_path_name) |
virtual bool | get_variable_locs () |
virtual bool | set_uniform_variables () const |
virtual void | init_textures () |
virtual void | activate_textures () |
virtual DATA_ITEM * | dup () const |
DEFINE_RTTI_METHODS3 ("GLSLShader", GLSLShader *, BasicTexture, CDATA_ITEM *) | |
DEFINE_RTTI_METHODS3 ("Textured patch", GTexture *, DATA_ITEM, CDATA_ITEM *) | |
str_ptr | shader_path () const |
str_ptr | vp_name (Cstr_ptr &name) const |
str_ptr | fp_name (Cstr_ptr &name) const |
bool | get_uniform_loc (Cstr_ptr &name, GLint &loc) |
GLint | get_uniform_loc (Cstr_ptr &name) |
virtual GLuint & | program () |
virtual bool & | did_init () |
virtual bool | bind_attributes (GLuint prog) |
virtual void | set_gl_state (GLbitfield mask=0) const |
virtual void | restore_gl_state () const |
virtual int | draw (CVIEWptr &v) |
DEFINE_RTTI_METHODS2 ("BasicTexture", OGLTexture, CDATA_ITEM *) | |
DEFINE_RTTI_METHODS2 ("OGLTexture", GTexture, CDATA_ITEM *) | |
virtual void | changed () |
virtual int | dl_valid (CVIEWptr &v) |
bool | set_face_culling () const |
int | draw_id_sils (bool omit_concave_sils, GLfloat width) |
int | draw_id_triangles (bool use_polygon_offset, bool draw_id_colors, double offset_factor=Config::get_var_dbl("BMESH_OFFSET_FACTOR", 12.0, true), double offset_units=Config::get_var_dbl("BMESH_OFFSET_UNITS", 1.0, true)) |
int | draw_id_creases (GLfloat width) |
int | draw_stencil () |
void | draw_vert_and_edge_strips (bool disable_lights=0, GLfloat line_width=3, GLfloat point_size=5, bool set_color=1, CCOLOR &color=COLOR::black) const |
virtual int | draw_vis_ref () |
virtual int | draw_id_ref () |
STAT_STR_RET | type () const |
Patch * | patch () const |
BMESH * | mesh () const |
StripCB * | cb () const |
void | set_cb (StripCB *cb) |
GTexture * | ctrl () const |
void | set_ctrl (GTexture *c) |
virtual int | set_color (CCOLOR &) |
virtual GTexture_list | gtextures () const |
virtual void | set_patch (Patch *p) |
virtual void | push_alpha (double a) |
virtual void | pop_alpha () |
double | alpha () const |
virtual bool | draws_filled () const |
virtual void | draw_with_alpha (double alpha) |
virtual void | draw_filled_tris (double alpha) |
virtual void | draw_non_filled_tris (double alpha) |
virtual int | read_stream (istream &, str_list &) |
virtual int | write_data (ostream &) const |
virtual int | write_stream (ostream &os) const |
virtual CTAGlist & | tags () const |
virtual void | add_tags () const |
virtual STDdstream & | format (STDdstream &d) const |
virtual STDdstream & | decode (STDdstream &d) |
virtual void | recompute () |
virtual STAT_STR_RET | class_name () const =0 |
virtual int | is_of_type (Cstr_ptr &t) const |
virtual int | draw_id_ref_pre1 () |
virtual int | draw_id_ref_pre2 () |
virtual int | draw_id_ref_pre3 () |
virtual int | draw_id_ref_pre4 () |
virtual int | draw_color_ref () |
virtual int | draw_color_ref_2 () |
virtual int | draw_tex_mem_ref () |
virtual ref_img_t | use_ref_image () |
virtual int | draw_ref_img (ref_img_t t) |
virtual int | draw_final (CVIEWptr &) |
Static Public Member Functions | |
static bool | load_texture (TEXTUREglptr &tex) |
static bool | activate_texture (TEXTUREglptr &tex) |
static STAT_STR_RET | static_name () |
static STAT_STR_RET | static_name () |
static int | add_decoder (Cstr_ptr &d, DATA_ITEM *di, int copy=-1) |
static void | set_default_decoder (DATA_ITEM *(*d)(STDdstream &, Cstr_ptr &, DATA_ITEM *)) |
static DATA_ITEM * | Decode (STDdstream &d, int DelayDecoding=0) |
static DATA_ITEM * | lookup (Cstr_ptr &d) |
static HASH * | di_hash () |
Protected Member Functions | |
virtual str_ptr | vp_filename () |
virtual str_ptr | fp_filename () |
bool | init () |
void | activate_program () |
void | deactivate_program () const |
virtual str_list | vp_filenames () |
virtual str_list | fp_filenames () |
virtual void | set_ref_tex_shader () |
virtual void | use_ref_tex_shader () |
void | delete_dl () |
void | check_patch_texture_map () |
Static Protected Member Functions | |
static void | use_program (GLuint prog) |
static void | delete_program (GLuint &prog) |
static void | delete_shader (GLuint shader) |
static void | delete_shaders (CARRAY< GLuint > &shaders) |
static void | print_shader_source (GLuint shader) |
static void | print_info (Cstr_ptr >ex_name, GLuint obj) |
static bool | link_program (Cstr_ptr >ex_name, GLuint prog) |
static bool | compile_shader (Cstr_ptr >ex_name, GLuint shader) |
static GLuint | load_shader (Cstr_ptr >ex_name, Cstr_ptr &filename, GLenum type) |
static bool | load_shaders (Cstr_ptr >ex_name, Cstr_list &filenames, ARRAY< GLuint > &shaders, GLenum type) |
static char * | read_file (Cstr_ptr >ex_name, Cstr_ptr &filename, GLint &len) |
static bool | attach_shaders (CARRAY< GLuint > &shaders, GLuint prog) |
Protected Attributes | |
TEXTUREglptr | _tex |
GLint | _tex_loc |
GLuint | _program |
bool | _did_init |
BasicTexture * | _tex_ref_shader |
DLhandler | _dl |
Patch * | _patch |
StripCB * | _cb |
ARRAY< double > | _alphas |
GTexture * | _ctrl |
int | _copy |
TAGlist | _DEFINERtags |
Static Protected Attributes | |
static Cstr_ptr | _type_name |
static Cstr_ptr | _begin_tag |
static Cstr_ptr | _end_tag |
Definition at line 12 of file glsl_perlin_test.H.
|
Definition at line 25 of file ref_img_client.H. |
|
Definition at line 29 of file glsl_perlin_test.C. References Config::get_var_str(), set_tex(), and toon_name(). |
|
Definition at line 137 of file glsl_shader.H. References GLSLShader::program(), and GLSLShader::use_program(). Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLShader::draw(), GLSLToonShader::draw_start(), and GLSLShader::init(). |
|
|
Reimplemented from GLSLShader. Definition at line 63 of file glsl_perlin_test.C. References _tex, and GLSLShader::activate_texture(). |
|
Definition at line 41 of file data_item.C. References DATA_ITEM::_hash, and HASH::add(). Referenced by JOTvar< OBJ, TYPE >::check_inst_name(), FUNC_ITEM::FUNC_ITEM(), hashdist::hashdist(), JOTvar< OBJ, TYPE >::JOTvar(), and DISTRIB::notify_exist(). |
|
Definition at line 205 of file data_item.H. |
|
|
Definition at line 273 of file glsl_shader.C. References glAttachObjectARB, glAttachShader, and need_arb_ext. Referenced by GLSLShader::init(). |
|
Definition at line 88 of file glsl_shader.H. Referenced by GLSLShader::init(). |
|
|
Reimplemented from GTexture. Reimplemented in DotsShader_EX, and HalftoneShaderEx. Definition at line 80 of file basic_texture.H. References BasicTexture::_dl, and DLhandler::invalidate(). Referenced by HalftoneShaderEx::changed(), DotsShader_EX::changed(), TriStripsTexture::pop_alpha(), TriStripsTexture::push_alpha(), ColorIDTexture::set_polygon_mode(), MSLDShader::set_tone_shader(), GLSLHatching::set_tone_shader(), and DotsShader::set_tone_shader(). |
|
Definition at line 264 of file basic_texture.C. References GTexture::_patch, Cstr_ptr, APPEAR::has_texture(), NULL_STR, Patch::set_texture(), Patch::set_texture_file(), and Patch::texture_file(). Referenced by SmoothShadeTexture::draw(), LineDrawingTexture::draw(), FlatShadeTexture::draw(), and CurvatureTexture::draw(). |
|
|
Definition at line 121 of file glsl_shader.C. References debug, GL_COMPILE_STATUS, GL_OBJECT_COMPILE_STATUS_ARB, GL_TRUE, glCompileShader, glCompileShaderARB, glGetObjectParameterivARB, glGetShaderiv, need_arb_ext, and GLSLShader::print_info(). Referenced by GLSLShader::load_shader(). |
|
Definition at line 47 of file gtexture.H. References GTexture::_ctrl. |
|
Definition at line 138 of file glsl_shader.H. References GLSLShader::use_program(). Referenced by GLSLShader::draw(), GLSLToonShader::draw_end(), GLSLPaperShader::end_glsl_paper(), and GLSLShader::init(). |
|
Definition at line 57 of file data_item.C. References DATA_ITEM::_copy, DATA_ITEM::_decode_unknown, DATA_ITEM::class_name(), DATA_ITEM::decode(), DATA_ITEM::dup(), Config::get_var_bool(), and DATA_ITEM::lookup(). Referenced by JOThash::get(), DISTRIB::interpret(), and operator>>(). |
|
Reimplemented in JOTsend_geom, and BMESH. Definition at line 145 of file data_item.C. References DATA_ITEM::class_name(), COMMENT::decode(), j, COMMENT::name(), TAGformat::read_end_id(), TAGformat::read_id(), DATA_ITEM::recompute(), and DATA_ITEM::tags(). Referenced by DATA_ITEM::Decode(), BMESH::decode(), JOTio::get(), BMESH::get_patches(), Patch::get_texture(), VIEW::get_view_animator(), and VIEW::get_view_data_file(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 91 of file basic_texture.H. References BasicTexture::_dl, and DLhandler::delete_all_dl(). Referenced by BasicTexture::~BasicTexture(). |
|
Definition at line 33 of file glsl_shader.C. References glDeleteObjectARB, glDeleteProgram, and need_arb_ext. Referenced by GLSLShader::init(), and GLSLShader::~GLSLShader(). |
|
Definition at line 163 of file glsl_shader.C. References glDeleteObjectARB, glDeleteShader, and need_arb_ext. Referenced by GLSLShader::delete_shaders(), and GLSLShader::load_shader(). |
|
Definition at line 173 of file glsl_shader.C. References GLSLShader::delete_shader(). Referenced by GLSLShader::load_shaders(). |
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHaloShader, GLSLHatching, GLSLNormalShader, GLSLPaperShader, GLSLLightingShader, GLSLSolidShader, GLSLToonShader, and MSLDShader. Definition at line 81 of file glsl_shader.H. References GLSLShader::_did_init. Referenced by GLSLShader::init(). |
|
Definition at line 310 of file basic_texture.C. References BasicTexture::_dl, GTexture::_patch, Patch::stamp(), and DLhandler::valid(). Referenced by XToonTexture::draw(), ToonTexture_1D::draw(), SmoothShadeTexture::draw(), LineDrawingTexture::draw(), GLSLShader::draw(), CurvatureTexture::draw(), and BasicTexture::draw(). |
|
|
Reimplemented in GELset. Definition at line 55 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(), and RefImageClient::draw_tex_mem_ref(). |
|
Reimplemented in GELset. Definition at line 56 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in ControlLineTexture, HiddenLineTexture, KeyLineTexture, and NormalsTexture. Definition at line 112 of file gtexture.H. References GTexture::draw_with_alpha(), and GTexture::draws_filled(). Referenced by FaderTexture::draw(). |
|
Reimplemented in GELset, GEOM, GESTURE, ControlLineTexture, HiddenLineTexture, BMESH, and Patch. Definition at line 100 of file ref_img_client.H. Referenced by Patch::draw_final(), HiddenLineTexture::draw_final(), and ControlLineTexture::draw_final(). |
|
Definition at line 211 of file basic_texture.C. References GTexture::_patch, Patch::cur_creases(), and ColorIDTexture::draw_edges(). |
|
Reimplemented from RefImageClient. Definition at line 139 of file basic_texture.C. References GTexture::_patch, ColorIDTexture::draw(), ColorIDTexture::draw_black(), Patch::get_tex(), VIEW::peek(), RefImageClient::REF_IMG_ID, DATA_ITEM::static_name(), and RefImageClient::use_ref_image(). |
|
Reimplemented in GELset. Definition at line 51 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 52 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 53 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 54 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Definition at line 160 of file basic_texture.C. References GTexture::_patch, Patch::cur_sils(), ColorIDTexture::draw_edges(), and EdgeStrip::get_filtered(). |
|
Definition at line 186 of file basic_texture.C. References GTexture::_patch, ColorIDTexture::draw(), ColorIDTexture::draw_black(), GL_VIEW::end_polygon_offset(), err_msg(), Patch::get_tex(), GL_VIEW::init_polygon_offset(), Patch::num_faces(), VIEW::peek(), and DATA_ITEM::static_name(). |
|
Reimplemented in ControlLineTexture, HiddenLineTexture, KeyLineTexture, and NormalsTexture. Definition at line 116 of file gtexture.H. References GTexture::draw_with_alpha(), and GTexture::draws_filled(). Referenced by FaderTexture::draw(). |
|
|
Definition at line 91 of file basic_texture.C. References GTexture::_patch, GTexture::cb(), Patch::draw_tri_strips(), GL_ALWAYS, GL_DEPTH_TEST, GL_INCR, GL_KEEP, glColorMask(), glDisable(), glEnable(), glStencilFunc(), and glStencilOp(). |
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, and MSLDShader. Definition at line 57 of file ref_img_client.H. References RefImageClient::draw_color_ref(). Referenced by RefImageClient::draw_ref_img(). |
|
Definition at line 224 of file basic_texture.C. References GTexture::_cb, GTexture::_patch, Patch::draw_edge_strips(), Patch::draw_vert_strips(), GL_LIGHTING, glColor3dv(), glDisable(), glLineWidth(), glPointSize(), Patch::num_edge_strips(), and Patch::num_vert_strips(). |
|
Reimplemented from RefImageClient. Reimplemented in ControlFrameTexture, ControlLineTexture, SilFrameTexture, SilsTexture, WireframeTexture, ZcrossFrameTexture, and ZcrossTexture. Definition at line 127 of file basic_texture.C. References GTexture::_patch, BMESHdrawable::draw(), Patch::get_tex(), VIEW::peek(), and DATA_ITEM::static_name(). Referenced by ControlLineTexture::draw_vis_ref(). |
|
|
Reimplemented in ControlFrameTexture, VertNormalsTexture, VertUVTexture, SilFrameTexture, SilsTexture, WireframeTexture, ZcrossFrameTexture, and ZcrossTexture. Definition at line 95 of file gtexture.H. Referenced by FaderTexture::draw(), GTexture::draw_filled_tris(), and GTexture::draw_non_filled_tris(). |
|
Reimplemented from GLSLShader. Definition at line 40 of file glsl_perlin_test.H. |
|
Reimplemented in Animator, JOTdone, JOTsend_geom, and BMESH. Definition at line 194 of file data_item.C. References DATA_ITEM::class_name(), TAGformat::end_id(), Config::get_var_bool(), TAGformat::id(), DATA_ITEM::tags(), and STDdstream::write_newline(). Referenced by JOTdone::format(), BMESH::format(), Animator::format(), JOTio::put(), and VIEW::put_view_data_file(). |
|
Reimplemented from GLSLShader. Definition at line 54 of file glsl_perlin_test.H. References GLSLShader::fp_name(). |
|
Definition at line 191 of file glsl_shader.H. References GLSLShader::fp_filename(). Referenced by GLSLShader::init(). |
|
|
Definition at line 58 of file glsl_shader.H. References GLSLShader::get_uniform_loc(). |
|
|
Reimplemented from GLSLShader. Definition at line 69 of file glsl_perlin_test.C. References _tex_loc, and GLSLShader::get_uniform_loc(). |
|
Reimplemented in ColorIDTexture, ControlLineTexture, DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, HiddenLineTexture, KeyLineTexture, MSLDShader, NormalsTexture, SilFrameTexture, WireframeTexture, and ZcrossFrameTexture. Definition at line 58 of file gtexture.H. Referenced by GTexture::pop_alpha(), GTexture::push_alpha(), and GTexture::set_patch(). |
|
|
Reimplemented from GLSLShader. Definition at line 50 of file glsl_perlin_test.C. References _tex, GL_CLAMP_TO_EDGE, and GLSLShader::load_texture(). |
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
Definition at line 81 of file glsl_shader.C. References debug, GL_LINK_STATUS, GL_OBJECT_LINK_STATUS_ARB, GL_OBJECT_VALIDATE_STATUS_ARB, GL_TRUE, glGetObjectParameterivARB, glGetProgramInfoLog, glGetProgramiv, glLinkProgram, glLinkProgramARB, glValidateProgramARB, need_arb_ext, and GLSLShader::print_info(). Referenced by GLSLShader::init(). |
|
Definition at line 180 of file glsl_shader.C. References GLSLShader::compile_shader(), debug, GLSLShader::delete_shader(), glCreateShader, glCreateShaderObjectARB, glGetInfoLogARB, glGetShaderInfoLog, glShaderSource, glShaderSourceARB, need_arb_ext, and GLSLShader::read_file(). Referenced by GLSLShader::load_shaders(). |
|
Definition at line 243 of file glsl_shader.C. References debug, GLSLShader::delete_shaders(), GLSLShader::load_shader(), need_arb_ext, and GLSLShader::print_shader_source(). Referenced by GLSLShader::init(). |
|
Definition at line 391 of file glsl_shader.C. Referenced by GLSLShader::activate_texture(), GLSLXToonShader::init_textures(), GLSLToonShaderHalo::init_textures(), GLSLToonShader::init_textures(), init_textures(), GLSLPaperShader::init_textures(), and GLSLMarbleShader::init_textures(). |
|
Definition at line 222 of file data_item.H. References DATA_ITEM::_hash, and HASH::find(). Referenced by DATA_ITEM::Decode(), FUNC_ITEM::FUNC_ITEM(), Patch::get_tex(), and BMESH::read_jot_stream(). |
|
Definition at line 42 of file gtexture.H. References GTexture::_patch, and Patch::mesh(). Referenced by ControlFrameTexture::build_strip(), VertUVTexture::draw(), VertNormalsTexture::draw(), ControlLineTexture::draw(), ControlFrameTexture::draw_level(), and OGLTexture::set_face_culling(). |
|
Definition at line 41 of file gtexture.H. References GTexture::_patch. Referenced by VertUVTexture::compute_UV_grads(), HalftoneShaderEx::draw(), ControlFrameTexture::draw_selected_edges(), ControlFrameTexture::draw_selected_faces(), ControlFrameTexture::draw_selected_verts(), and DotsShader_EX::draw_tex_mem_ref(). |
|
Reimplemented in TriStripsTexture. Definition at line 78 of file gtexture.H. References GTexture::_alphas, GTexture::gtextures(), ARRAY< T >::pop(), and GTexture_list::pop_alpha(). Referenced by GTexture::draw_with_alpha(), TriStripsTexture::pop_alpha(), and GTexture_list::pop_alpha(). |
|
Definition at line 62 of file glsl_shader.C. References GL_OBJECT_INFO_LOG_LENGTH_ARB, glGetInfoLogARB, glGetObjectParameterivARB, and GL_VIEW::print_gl_errors(). Referenced by GLSLShader::compile_shader(), and GLSLShader::link_program(). |
|
Definition at line 46 of file glsl_shader.C. References GL_OBJECT_SHADER_SOURCE_LENGTH_ARB, glGetObjectParameterivARB, and glGetShaderSourceARB. Referenced by GLSLShader::load_shaders(). |
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHaloShader, GLSLHatching, GLSLNormalShader, GLSLPaperShader, GLSLLightingShader, GLSLSolidShader, GLSLToonShader, and MSLDShader. Definition at line 80 of file glsl_shader.H. References GLSLShader::_program. Referenced by GLSLShader::activate_program(), GLSLShader::draw(), GLSLShader::get_uniform_loc(), HalftoneShaderEx::get_variable_locs(), and GLSLShader::init(). |
|
Reimplemented in TriStripsTexture. Definition at line 74 of file gtexture.H. References GTexture::_alphas, GTexture::gtextures(), and GTexture_list::push_alpha(). Referenced by GTexture::draw_with_alpha(), TriStripsTexture::push_alpha(), and GTexture_list::push_alpha(). |
|
Definition at line 137 of file glsl_shader.C. Referenced by GLSLShader::load_shader(). |
|
Reimplemented in SolidColorTexture. Definition at line 123 of file gtexture.H. Referenced by Patch::read_texture(). |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
Definition at line 439 of file glsl_shader.C. References glPopAttrib(). Referenced by GLSLShader::draw(), GLSLToonShader::draw_end(), and GLSLPaperShader::end_glsl_paper(). |
|
Definition at line 45 of file gtexture.H. References GTexture::_cb. Referenced by LineDrawingTexture::draw(), and CurvatureTexture::draw(). |
|
Reimplemented in ControlFrameTexture, CreasesTexture, GLSLXToonShader, HiddenLineTexture, KeyLineTexture, NormalsTexture, SilFrameTexture, SilsTexture, SolidColorTexture, ToonTexture_1D, WireframeTexture, XToonTexture, ZcrossFrameTexture, and ZcrossTexture. Definition at line 52 of file gtexture.H. Referenced by NormalsTexture::set_color(). |
|
Definition at line 48 of file gtexture.H. References GTexture::_ctrl. Referenced by FaderTexture::draw(), and FaderTexture::FaderTexture(). |
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
Definition at line 112 of file basic_texture.C. References get_cur_mesh(), Config::get_var_bool(), GL_CULL_FACE, glDisable(), glEnable(), BMESH::is_closed_surface(), and GTexture::mesh(). Referenced by XToonTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), FlatShadeTexture::draw(), ColorIDTexture::draw(), and GLSLShader::set_gl_state(). |
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHaloShader, GLSLHatching, GLSLXToonShader, HalftoneShader, HalftoneShaderEx, and MSLDShader. Definition at line 426 of file glsl_shader.C. References GTexture::_patch, GTexture::alpha(), Patch::color(), GL_COL(), GL_CURRENT_BIT, GL_ENABLE_BIT, glPushAttrib(), and OGLTexture::set_face_culling(). Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLShader::draw(), MSLDShader::set_gl_state(), HalftoneShaderEx::set_gl_state(), HalftoneShader::set_gl_state(), GLSLXToonShader::set_gl_state(), GLSLHatching::set_gl_state(), GLSLHaloShader::set_gl_state(), DotsShader_EX::set_gl_state(), and DotsShader::set_gl_state(). |
|
Reimplemented in DotsShader_EX, and HalftoneShaderEx. Definition at line 60 of file gtexture.H. References GTexture::_patch, GTexture::changed(), GTexture::gtextures(), and GTexture_list::set_patch(). Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLPaperShader::end_glsl_paper(), Patch::get_tex(), HalftoneShaderEx::set_patch(), GTexture_list::set_patch(), and DotsShader_EX::set_patch(). |
|
Definition at line 445 of file glsl_shader.C. References GLSLShader::_tex_ref_shader. |
|
Definition at line 38 of file glsl_perlin_test.C. References _tex. Referenced by GLSLPerlinTest(). |
|
Reimplemented from GLSLShader. Definition at line 79 of file glsl_perlin_test.C. References _tex, _tex_loc, GL_TEXTURE0, and glUniform1i. |
|
Definition at line 48 of file glsl_shader.H. References Config::JOT_ROOT(). Referenced by GLSLShader::fp_name(), and GLSLShader::vp_name(). |
|
Definition at line 44 of file ref_img_client.H. References RET_STAT_STR. Referenced by BMESH::operator=(). |
|
Definition at line 31 of file data_item.C. References RET_STAT_STR. Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), VIEW::get_view_animator(), GRIDwidget_anchor::GRIDwidget_anchor(), and toggle_sil_frame(). |
|
Reimplemented from DATA_ITEM. Reimplemented in SolidColorTexture, ToonTexture_1D, and XToonTexture. Definition at line 15 of file gtexture.C. Referenced by XToonTexture::tags(), ToonTexture_1D::tags(), and SolidColorTexture::tags(). |
|
Definition at line 37 of file gtexture.H. References DATA_ITEM::class_name(). |
|
Definition at line 366 of file glsl_shader.C. References glUseProgram, glUseProgramObjectARB, and need_arb_ext. Referenced by GLSLShader::activate_program(), and GLSLShader::deactivate_program(). |
|
Reimplemented in GEOM, DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, MSLDShader, BMESH, and Patch. Definition at line 60 of file ref_img_client.H. References RefImageClient::REF_IMG_NONE. Referenced by OGLTexture::draw_id_ref(), and Patch::use_ref_image(). |
|
Definition at line 452 of file glsl_shader.C. |
|
Reimplemented from GLSLShader. Definition at line 50 of file glsl_perlin_test.H. References GLSLShader::vp_name(). |
|
Definition at line 186 of file glsl_shader.H. References GLSLShader::vp_filename(). Referenced by GLSLShader::init(). |
|
|
Definition at line 124 of file gtexture.H. Referenced by GTexture::write_stream(). |
|
Reimplemented in SolidColorTexture. Definition at line 125 of file gtexture.H. References GTexture::_begin_tag, GTexture::_end_tag, DATA_ITEM::class_name(), and GTexture::write_data(). Referenced by GTexture_list::write_stream(). |
|
Definition at line 145 of file gtexture.H. Referenced by GTexture::alpha(), GTexture::pop_alpha(), and GTexture::push_alpha(). |
|
Definition at line 153 of file gtexture.H. Referenced by SolidColorTexture::write_stream(), and GTexture::write_stream(). |
|
|
Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode(). |
|
|
Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags(). |
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHaloShader, GLSLHatching, GLSLNormalShader, GLSLPaperShader, GLSLLightingShader, GLSLSolidShader, GLSLToonShader, and MSLDShader. Definition at line 126 of file glsl_shader.H. Referenced by GLSLShader::did_init(). |
|
|
Definition at line 154 of file gtexture.H. Referenced by SolidColorTexture::write_stream(), and GTexture::write_stream(). |
|
|
Reimplemented in DotsShader, DotsShader_EX, GLSLHaloShader, GLSLHatching, GLSLNormalShader, GLSLPaperShader, GLSLLightingShader, GLSLSolidShader, GLSLToonShader, and MSLDShader. Definition at line 125 of file glsl_shader.H. Referenced by GLSLXToonShader::get_variable_locs(), GLSLShader::program(), and GLSLShader::~GLSLShader(). |
|
Definition at line 44 of file glsl_perlin_test.H. Referenced by activate_textures(), init_textures(), set_tex(), and set_uniform_variables(). |
|
Definition at line 45 of file glsl_perlin_test.H. Referenced by get_variable_locs(), and set_uniform_variables(). |
|
Definition at line 128 of file glsl_shader.H. Referenced by GLSLShader::set_ref_tex_shader(). |
|
Definition at line 152 of file gtexture.H. |