![]() |
PhotoGENius V1.0.0
A basic library for generating photorealistic images, developed for the course Numerical techniques for photorealistic image generation.
|
This abstract class represents a pigment with a function that associates a color with each point on a parametric surface (u,v). More...
Public Member Functions | |
virtual Color | GetColor (Vec2d uv) |
Calculate a color (type color) associated with a (u,v) coordinate. More... | |
Protected Member Functions | |
Pigment (Color color=default) | |
Protected Attributes | |
Color | Color |
This abstract class represents a pigment with a function that associates a color with each point on a parametric surface (u,v).
Calculate a color (type color) associated with a (u,v) coordinate.
uv | 2D vector |
Reimplemented in PGENLib.UniformPigment, PGENLib.CheckeredPigment, and PGENLib.ImagePigment.