cgv
cgv::media::illum::phong_material Class Reference

>simple class to hold the material properties of a phong material More...

#include <phong_material.hh>

Inheritance diagram for cgv::media::illum::phong_material:
cgv::media::illum::obj_material

Public Types

typedef color< float, RGB, OPACITY > color_type
 >used color type
 

Public Member Functions

 phong_material ()
 construct default material
 

Protected Attributes

color_type ambient
 >ambient color component
 
color_type diffuse
 >diffuse color component
 
color_type specular
 >specular color component
 
color_type emission
 >emissive color component
 
float shininess
 >exponent of the specular cosine term
 

Detailed Description

>simple class to hold the material properties of a phong material


The documentation for this class was generated from the following files: