-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathraycaster.h
More file actions
22 lines (19 loc) · 864 Bytes
/
raycaster.h
File metadata and controls
22 lines (19 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
extern const char* USAGE;
const char* USAGE =
R"(Usage: raycaster <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.
Raycaster options:
--max-visibility=<float> Any object farther away is dark [default: 2.0].
)";