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. |
Definition at line 99 of file surface.H.
|
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(). |