Raw Light Simulation (.rawls) reader and converter
Jérôme BUISINE fc9c90b768 Merge branch 'release/v1.1.8' | 3 anos atrás | |
---|---|---|
lodepng | 4 anos atrás | |
main | 3 anos atrás | |
rawls | 3 anos atrás | |
run | 3 anos atrás | |
utils | 3 anos atrás | |
.gitignore | 4 anos atrás | |
CMakeLists.txt | 4 anos atrás | |
README.md | 3 anos atrás |
Can read and flip horizontally a .rawls
image.
Can read and convert .rawls
generated syntehsis image format into .ppm
or .png
.
.rawls
store all pixels values as float and keeps also information about generated image (renderer used).
.rawls
contains 3 blocks and specific lines information within each block:
{width}
{height}
{nbChannels}
mkdir build
cd build && cmake ..
make
Convert the .rawls
image format into .ppm
./main/rawls_convert --image ../path/to/image.rawls --outfile image.ppm
Merge .rawls
images samples
./main/rawls_merge_mean --folder ../path/to/images --samples 100 --random 0 --outfile image.png