Data record for conveniently querying and sampling the direct illumination technique implemented by a emitter. More...
#include <emitter.h>
Public Member Functions | |
EmitterQueryRecord () | |
Create an unitialized query record. | |
EmitterQueryRecord (const Point3f &ref) | |
Create a new query record that can be used to sample a emitter. | |
EmitterQueryRecord (const Point3f &ref, const Point3f &p, const Normal3f &n) | |
Create a query record that can be used to query the sampling density after having intersected an area emitter. | |
Public Attributes | |
Point3f | ref |
Origin point from which we sample the emitter. | |
Point3f | p |
Sampled point on the emitter. | |
Normal3f | n |
Normal at the emitter point. | |
Vector3f | wi |
Direction between the hit point and the emitter point. | |
float | |
Probability. | |
Ray3f | shadowRay |
Shadow ray. | |
Data record for conveniently querying and sampling the direct illumination technique implemented by a emitter.