![]() |
PhotoGENius V1.0.0
A basic library for generating photorealistic images, developed for the course Numerical techniques for photorealistic image generation.
|
A class representing an ideal mirror BRDF. More...
Public Member Functions | |
| SpecularBRDF (double tresholdAngleRad=Math.PI/1800.0) | |
| SpecularBRDF (Pigment pigment, double tresholdAngleRad=Math.PI/1800.0) | |
| override Color | Eval (Normal normal, Vec inDir, Vec outDir, Vec2d uv) |
| We provide this implementation for reference, but we are not going to use it (neither in the path tracer nor in the point-light tracer). More... | |
| override Ray | ScatterRay (PCG pcg, Vec incomingDir, Point interactionPoint, Normal normal, int depth) |
| Abstract method to be implemented in the BRDF derived classes. More... | |
Public Member Functions inherited from PGENLib.BRDF | |
| BRDF () | |
| Costructor without parameters, sets Pigment to a default UniformPigment(Black). | |
| BRDF (Pigment pigment) | |
| Constructor with parameter. More... | |
| virtual Color | Eval (Normal normal, Vec inDir, Vec outDir, Vec2d uv) |
| virtual Ray | ScatterRay (PCG pcg, Vec incomingDir, Point interactionPoint, Normal normal, int depth) |
| Abstract method to be implemented in the BRDF derived classes. More... | |
Public Attributes | |
| double | TresholdAngleRad |
Public Attributes inherited from PGENLib.BRDF | |
| Pigment | Pigment |
A class representing an ideal mirror BRDF.
We provide this implementation for reference, but we are not going to use it (neither in the path tracer nor in the point-light tracer).
Reimplemented from PGENLib.BRDF.
|
virtual |
Abstract method to be implemented in the BRDF derived classes.
| pcg | Used to generate random numbers |
| incomingDir | Direction of the incoming ray |
| interactionPoint | Where the ray hit the surface |
| normal | Normal on interactionPoint |
| depth | Depth value for the new ray |
Reimplemented from PGENLib.BRDF.