Add min_weight property to Scene
This commit is contained in:
parent
482896cfa1
commit
6c1e8c7ffb
2 changed files with 7 additions and 2 deletions
|
@ -47,8 +47,12 @@ private:
|
|||
// Pixel dimensions of the image.
|
||||
int width, height;
|
||||
|
||||
// Ray tracing parameters.
|
||||
/*
|
||||
* Ray tracing parameters. max_depth indicates the maximum depth of the ray tree. min_weight indicates the minimum
|
||||
* specular weight to apply before giving up.
|
||||
*/
|
||||
int max_depth;
|
||||
float min_weight;
|
||||
|
||||
// Scene objects.
|
||||
AmbientLight *ambient;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue