Raw Light Simulation (.rawls) reader and converter
Jérôme BUISINE 7754b15268 Merge branch 'release/v1.1.6' | 3 jaren geleden | |
---|---|---|
lodepng | 4 jaren geleden | |
main | 3 jaren geleden | |
rawls | 3 jaren geleden | |
run | 3 jaren geleden | |
utils | 4 jaren geleden | |
.gitignore | 4 jaren geleden | |
CMakeLists.txt | 4 jaren geleden | |
README.md | 4 jaren geleden |
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_reader --image ../path/to/image.rawls --outfile image.ppm
Merge .rawls
images samples
./main/rawls_merge --folder ../path/to/images --samples 100 --random 0 --outfile image.png