Archon::Raytracer::Texture Class Reference

Inheritance diagram for Archon::Raytracer::Texture:

Inheritance graph
[legend]
Collaboration diagram for Archon::Raytracer::Texture:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Texture (Image image, double ambientReflection=0.1, double diffuseReflection=0.5, double specularReflection=0.5, double specularRefraction=0.5, double reflectiveExponent=20, double refractiveExponent=20, double refractiveIndex=1, unsigned horizontalTiles=1, unsigned verticalTiles=1)
void getColor (const Vector2 &texturePoint, ColorRGBA &) const
 Mapping of virtual texture coordinates to actual pixel coordinates.

Detailed Description

Definition at line 99 of file surface.H.


Member Function Documentation

void Archon::Raytracer::Texture::getColor const Vector2 texturePoint,
ColorRGBA
const [virtual]
 

Mapping of virtual texture coordinates to actual pixel coordinates.

...

Implements Archon::Raytracer::Surface.

Definition at line 71 of file surface.C.

References Archon::Utilities::Image::getHeight(), Archon::Utilities::Image::getPixel(), Archon::Utilities::Image::getWidth(), and Archon::Raytracer::modulo().


The documentation for this class was generated from the following files:
Generated on Sun Jul 30 22:57:06 2006 for Archon by  doxygen 1.4.4