-
Notifications
You must be signed in to change notification settings - Fork 0
Output
Ömercan Yazici edited this page Aug 4, 2017
·
4 revisions
All output is generated in the output directory. The output images is always in the OpenEXR (.exr) format. The reason for this restriction is the multiple channel support which PearRay also supports and the high dynamic range needed in radiometric and photometric simulation. An optional raw spectral file format is also produced. The raw spectral file (.spec) is readable with the python API.
-
Root/
- *.log Log Files
-
results/
- *.exr Image files defined by scene description file
- *.spec Raw spectral files
The very simple raw spectral file is only a zLib compressed file with the decompressed little endian binary specification:
Offset (Byte) | Size (Byte) | Name | Description |
---|---|---|---|
0 | 4 (char) | Magic Field | 'PR42' |
4 | 4 (uint32) | Sampling Count | (should be 81, but may change in the future) |
8 | 4 (uint32) | Width | X Resolution of render |
12 | 4 (uint32) | Height | Y Resolution of render |
16 | Sampling Count * Width * Height * 4 (float) | Content | raw float elements |