Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

toon_texture_1D.C File Reference

#include "gtex/gl_extensions.H"
#include "gtex/paper_effect.H"
#include "geom/gl_view.H"
#include "std/config.H"
#include "toon_texture_1D.H"

Include dependency graph for toon_texture_1D.C:

Go to the source code of this file.

Functions

bool ntt_init_vertex_program_nv_1D ()
bool ntt_init_vertex_program_arb_1D ()
void ntt_init_vertex_program_1D ()
void ntt_setup_vertex_program_nv_1D ()
void ntt_done_vertex_program_nv_1D ()
void ntt_setup_vertex_program_arb_1D ()
void ntt_done_vertex_program_arb_1D ()
void ntt_setup_vertex_program_1D ()
void ntt_done_vertex_program_1D ()

Variables

bool ntt_paper_flag_1D
Wpt ntt_light_pos_1D
Wvec ntt_light_dir_1D
bool ntt_positional_1D
bool ntt_is_init_vertex_program_1D = false
bool ntt_use_vertex_program_1D = false
bool ntt_use_vertex_program_arb_1D = false
bool ntt_use_vertex_program_nv_1D = false
GLuint ntt_toon_prog_nv_1D
GLuint ntt_toon_prog_arb_1D
char * toon_remap_base_1D = "nprdata/toon_textures/"
char * toon_remap_fnames_1D [][2]
const unsigned char NPRToonShaderNV_1D []
const unsigned char NPRToonShaderARB_1D []


Function Documentation

void ntt_done_vertex_program_1D  ) 
 

Definition at line 361 of file toon_texture_1D.C.

References ntt_done_vertex_program_arb_1D(), ntt_done_vertex_program_nv_1D(), ntt_use_vertex_program_1D, ntt_use_vertex_program_arb_1D, and ntt_use_vertex_program_nv_1D.

Referenced by ToonTexture_1D::draw().

void ntt_done_vertex_program_arb_1D  ) 
 

Definition at line 330 of file toon_texture_1D.C.

References GL_VERTEX_PROGRAM_ARB, and glDisable().

Referenced by ntt_done_vertex_program_1D().

void ntt_done_vertex_program_nv_1D  ) 
 

Definition at line 288 of file toon_texture_1D.C.

References GL_IDENTITY_NV, GL_NONE, GL_VERTEX_PROGRAM_NV, glDisable(), and glTrackMatrixNV.

Referenced by ntt_done_vertex_program_1D().

void ntt_init_vertex_program_1D  ) 
 

Definition at line 227 of file toon_texture_1D.C.

References ERR_LEV_INFO, err_mesg(), ntt_init_vertex_program_arb_1D(), ntt_init_vertex_program_nv_1D(), ntt_is_init_vertex_program_1D, ntt_use_vertex_program_1D, ntt_use_vertex_program_arb_1D, and ntt_use_vertex_program_nv_1D.

Referenced by ToonTexture_1D::draw().

bool ntt_init_vertex_program_arb_1D  ) 
 

Definition at line 200 of file toon_texture_1D.C.

References ERR_LEV_INFO, err_mesg(), GLExtensions::gl_arb_vertex_program_loaded(), GLExtensions::gl_arb_vertex_program_supported(), GL_PROGRAM_FORMAT_ASCII_ARB, GL_VERTEX_PROGRAM_ARB, glBindProgramARB, glGenProgramsARB, glProgramStringARB, NPRToonShaderARB_1D, ntt_is_init_vertex_program_1D, and ntt_toon_prog_arb_1D.

Referenced by ntt_init_vertex_program_1D().

bool ntt_init_vertex_program_nv_1D  ) 
 

Definition at line 174 of file toon_texture_1D.C.

References ERR_LEV_INFO, err_mesg(), GLExtensions::gl_nv_vertex_program_supported(), GL_VERTEX_PROGRAM_NV, glBindProgramNV, glGenProgramsNV, glLoadProgramNV, NPRToonShaderNV_1D, and ntt_toon_prog_nv_1D.

Referenced by ntt_init_vertex_program_1D().

void ntt_setup_vertex_program_1D  ) 
 

Definition at line 340 of file toon_texture_1D.C.

References ntt_setup_vertex_program_arb_1D(), ntt_setup_vertex_program_nv_1D(), ntt_use_vertex_program_1D, ntt_use_vertex_program_arb_1D, and ntt_use_vertex_program_nv_1D.

Referenced by ToonTexture_1D::draw().

void ntt_setup_vertex_program_arb_1D  ) 
 

Definition at line 303 of file toon_texture_1D.C.

References GL_VERTEX_PROGRAM_ARB, glBindProgramARB, glEnable(), glProgramEnvParameter4dARB, ntt_positional_1D, and ntt_toon_prog_arb_1D.

Referenced by ntt_setup_vertex_program_1D().

void ntt_setup_vertex_program_nv_1D  ) 
 

Definition at line 251 of file toon_texture_1D.C.

References GLExtensions::gl_arb_multitexture_supported(), GL_IDENTITY_NV, GL_MODELVIEW, GL_PROJECTION, GL_TEXTURE, GL_TEXTURE1_ARB, GL_VERTEX_PROGRAM_NV, glBindProgramNV, glEnable(), glProgramParameter4dNV, glProgramParameter4fNV, glTrackMatrixNV, ntt_positional_1D, and ntt_toon_prog_nv_1D.

Referenced by ntt_setup_vertex_program_1D().


Variable Documentation

const unsigned char NPRToonShaderARB_1D[]
 

Definition at line 95 of file toon_texture_1D.C.

Referenced by ntt_init_vertex_program_arb_1D().

const unsigned char NPRToonShaderNV_1D[]
 

Definition at line 53 of file toon_texture_1D.C.

Referenced by ntt_init_vertex_program_nv_1D().

bool ntt_is_init_vertex_program_1D = false
 

Definition at line 22 of file toon_texture_1D.C.

Referenced by ToonTexture_1D::draw(), ntt_init_vertex_program_1D(), and ntt_init_vertex_program_arb_1D().

Wvec ntt_light_dir_1D
 

Definition at line 19 of file toon_texture_1D.C.

Wpt ntt_light_pos_1D
 

Definition at line 18 of file toon_texture_1D.C.

bool ntt_paper_flag_1D
 

Definition at line 17 of file toon_texture_1D.C.

Referenced by ToonTexture_1D::draw(), and ToonTexCB_1D::faceCB().

bool ntt_positional_1D
 

Definition at line 20 of file toon_texture_1D.C.

Referenced by ToonTexCB_1D::faceCB(), ntt_setup_vertex_program_arb_1D(), ntt_setup_vertex_program_nv_1D(), and ToonTexture_1D::update_lights().

GLuint ntt_toon_prog_arb_1D
 

Definition at line 28 of file toon_texture_1D.C.

Referenced by ntt_init_vertex_program_arb_1D(), and ntt_setup_vertex_program_arb_1D().

GLuint ntt_toon_prog_nv_1D
 

Definition at line 27 of file toon_texture_1D.C.

Referenced by ntt_init_vertex_program_nv_1D(), and ntt_setup_vertex_program_nv_1D().

bool ntt_use_vertex_program_1D = false
 

Definition at line 23 of file toon_texture_1D.C.

Referenced by ToonTexture_1D::draw(), ToonTexCB_1D::faceCB(), ntt_done_vertex_program_1D(), ntt_init_vertex_program_1D(), and ntt_setup_vertex_program_1D().

bool ntt_use_vertex_program_arb_1D = false
 

Definition at line 24 of file toon_texture_1D.C.

Referenced by ntt_done_vertex_program_1D(), ntt_init_vertex_program_1D(), and ntt_setup_vertex_program_1D().

bool ntt_use_vertex_program_nv_1D = false
 

Definition at line 25 of file toon_texture_1D.C.

Referenced by ntt_done_vertex_program_1D(), ntt_init_vertex_program_1D(), and ntt_setup_vertex_program_1D().

char* toon_remap_base_1D = "nprdata/toon_textures/"
 

Definition at line 40 of file toon_texture_1D.C.

Referenced by ToonTexture_1D::update_tex().

char* toon_remap_fnames_1D[][2]
 

Initial value:

 
{



   {NULL,            NULL}
}

Definition at line 41 of file toon_texture_1D.C.

Referenced by ToonTexture_1D::update_tex().


Generated on Mon Sep 18 11:43:45 2006 for jot by  doxygen 1.4.4