Skip to content

Commit 62e40ec

Browse files
committed
Readme
1 parent 1406e92 commit 62e40ec

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

doc/shot-viewer.jpg

376 KB
Loading

readme.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,29 @@ In order to use the library, compile `src/smol_cube.cpp` in your project, and in
6565

6666
`smol-cube-conv` command line utility converts Resolve/Adobe `.cube` files into `.smcube` binary format.
6767

68+
smol-cube-conv [flags] <input file> ...
69+
70+
Without extra arguments, this will convert given input .cube file(s) into .smcube files
71+
with lossless data filtering (making them more compressible), and keeping the data
72+
in full Float32 precision. Optional flags:
73+
74+
* `--float16` convert data into Float16 (half precision floats)
75+
* `--rgba` expand data from RGB to RGB(A) (A being unused)
76+
* `--nofilter` do not perform data filtering to improve compressability
77+
78+
6879
### smol-cube-viewer app
6980

70-
`smol-cube-viewer` TBD.
81+
Tiny viewer that loads several pictures from under `tests/` folder and displays them using LUTs found under `tests/luts/` folder.
82+
Uses [Sokol libraries](https://github.com/floooh/sokol) for graphics/application and
83+
[stb_image.h](https://github.com/nothings/stb/blob/master/stb_image.h) for loading the photos.
84+
85+
The pictures are displayed and the LUTs applied using a GPU 3D texture, using D3D11 (Windows) or Metal (macOS).
86+
87+
![](/doc/shot-viewer.jpg)
88+
89+
Left/Right keys switch between LUTs, Up/Down adjusts LUT application intensity. Space reloads the current LUT.
90+
91+
The viewer assumes that the LUTs are meant for low dynamic range color grading, directly on sRGB color values.
92+
Some other LUTs might not be meant for that (e.g. Khronos PBR Neutral) and while they will "work", the results
93+
will not look pleasant.

0 commit comments

Comments
 (0)