-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpathtracer.h
More file actions
25 lines (22 loc) · 1.12 KB
/
pathtracer.h
File metadata and controls
25 lines (22 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
extern const char* USAGE;
const char* USAGE =
R"(Usage: pathtracer <filename> [options]
Options:
-w --width=<px> Width of the image [default: 640].
-a --aspect=<num> Aspect ratio of the image. If the model has
specified the aspect ratio, it will be used
[default: 1].
--background=<3x float> Background color [default: 0 0 0].
-t --threads=<int> Number of threads [default: 1].
--inverse-gamma=<float> Inverse of gamma for gamma correction
[default: 0.454545].
--no-gamma-correction Disables gamma correction.
--exposure=<float> Exposure [default: 1].
-v --verbose Verbose output.
Pathtracer options:
-d --max-depth=<int> Maximum recursion depth for raytracing
[default: 3].
-p --pixel-samples=<int> Number of samples per pixel [default: 1].
-m --monte-carlo-samples=<int> Monto Carlo samples per ray [default: 8].
)";