Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMabulous authored Jan 28, 2020
1 parent e25f52d commit 2c32174
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# OpenExrComposer
A simple and very fast tool to compose sequences of EXR files.
A simple and fast tool to compose sequences of EXR files.

## Usage:

To simply add two exr files and store it in a new output.exr, do:
> OpenExrComposer.exe "outputfile.exr = inputfileA.exr + inputfileB.exr"
The righthand side of the = may contain any math expression consisting of exr file paths, constants, parentheses and any number of + - * / operands. For example:
> OpenExrComposer.exe "beauty_pass.exr = (diffuse.exr * (lighting_raw.exr + gi_raw.exr)) + (reflection_raw.exr * reflection_filter.exr) + (refraction_raw.exr * refraction_filter.exr) + specular.exr + sss.exr + self_illum.exr + caustics.exr + background.exr + atmospheric_effects.exr"
You can also compose sequences by using # as whitecard character. Example:
> OpenExrComposer.exe "beauty_without_reflection_#.exr = beauty_#.exr - reflection#.exr - specular#.exr"
This will search the folders of the input files for all files matching the pattern (replacing # with any other string) and process all files.

You can also use constants instead of input files. Example:
> OpenExrComposer.exe "signed_normals.exr = (unsigned_normals.exr - 0.5) * 2.0"

0 comments on commit 2c32174

Please sign in to comment.