PhongIllumination Class Reference

#import <PhongIllumination.h>

List of all members.

Public Member Functions

(void) - setViewVector:
(void) - updateRGBA:forGradient:andDepth:

Protected Attributes

float ambientLight
float diffuseLight
float specularLight
float specularExponent
Vector viewVector
Vector lightVector
Vector halfwayVector


Detailed Description

berechnet eine farbe nach dem beleuchtungsmodell von phong


Member Function Documentation

- (void) setViewVector: (Vector view  
 

setzt den view vector

- (void) updateRGBA: (unsigned char *)  rgba
forGradient: (Vector gradient
andDepth: (float)  depth
 
 

schattiert die übergebenen farbe, je nach dem gradienten.


Member Data Documentation

- (float) ambientLight [protected]
 

- (float) diffuseLight [protected]
 

- (Vector) halfwayVector [protected]
 

- (Vector) lightVector [protected]
 

- (float) specularExponent [protected]
 

- (float) specularLight [protected]
 

- (Vector) viewVector [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 7 12:30:37 2005 for Volumizer by  doxygen 1.4.5