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

OSGPhongMaterial.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include <OSGConfig.h>
#include <OSGGeometry.h>
#include <OSGCamera.h>
#include <OSGTextureChunk.h>
#include <OSGWindow.h>
#include "OSGPhongMaterial.h"

Go to the source code of this file.

Namespaces

namespace  osg

Variables

static std::string _phong_vp_prg
static std::string _phong_fp_begin_prg
static std::string _phong_fp_tex_prg
static std::string _phong_fp_end_prg
static Char8 cvsid_cpp [] = "@(#)$Id: OSGPhongMaterial.cpp,v 1.7 2003/10/17 16:02:46 a-m-z Exp $"
static Char8 cvsid_hpp [] = OSGPHONGMATERIAL_HEADER_CVSID
static Char8 cvsid_inl [] = OSGPHONGMATERIAL_INLINE_CVSID
static Char8 cvsid_fields_hpp [] = OSGPHONGMATERIALFIELDS_HEADER_CVSID


Variable Documentation

std::string _phong_vp_prg [static]
 

Definition at line 62 of file OSGPhongMaterial.cpp.

Referenced by osg::PhongMaterial::createChunkMaterial(), and osg::PhongMaterial::prepareLocalChunks().

std::string _phong_fp_begin_prg [static]
 

Definition at line 100 of file OSGPhongMaterial.cpp.

Referenced by osg::PhongMaterial::createChunkMaterial(), and osg::PhongMaterial::createFragmentProgram().

std::string _phong_fp_tex_prg [static]
 

Initial value:

"MUL        finalCol, finalCol, tex;    # Texture?\n"

Definition at line 153 of file OSGPhongMaterial.cpp.

Referenced by osg::PhongMaterial::createFragmentProgram().

std::string _phong_fp_end_prg [static]
 

Initial value:

"MAD        finalCol, lightContrib.z, state.lightprod[0].specular, finalCol;\n"
"MAD        finalCol, finalCol, attenuation.x, state.material.emission;\n"
"ADD        result.color.xyz, finalCol, state.lightmodel.scenecolor;\n"
"MOV        result.color.w, state.material.diffuse.w;\n"
"END\n"

Definition at line 156 of file OSGPhongMaterial.cpp.

Referenced by osg::PhongMaterial::createChunkMaterial(), and osg::PhongMaterial::createFragmentProgram().

Char8 cvsid_cpp[] = "@(#)$Id: OSGPhongMaterial.cpp,v 1.7 2003/10/17 16:02:46 a-m-z Exp $" [static]
 

Definition at line 465 of file OSGPhongMaterial.cpp.

Char8 cvsid_hpp[] = OSGPHONGMATERIAL_HEADER_CVSID [static]
 

Definition at line 466 of file OSGPhongMaterial.cpp.

Char8 cvsid_inl[] = OSGPHONGMATERIAL_INLINE_CVSID [static]
 

Definition at line 467 of file OSGPhongMaterial.cpp.

Char8 cvsid_fields_hpp[] = OSGPHONGMATERIALFIELDS_HEADER_CVSID [static]
 

Definition at line 469 of file OSGPhongMaterial.cpp.


Generated on Thu Aug 25 04:12:21 2005 for OpenSG by  doxygen 1.4.3