Hi everyone,
Today I'm not going to complain about mental ray. Instead, I will share some C++ code I wrote in my free time as a part of a bigger project, not announced yet. Not even decided whether it will ever be. So here is the tarball:
http://www.alexsegal.net/ftp/imgutils.ta r
It contains source code of two utilities and their Makefiles for Linux.
1. linearize - performs color transformation into linear space for textures. It can read an sRGB or a Rec.709 texture and save it as a linear image.
2. exr4nuke - post-processes rendered Open EXR images to optimize them for comping in Nuke. It does two things: re-compresses the image as zip individual scanline and crops dataWindow according to the bounding box of all non-empty pixels.
To compile them, you have to have the following libraries installed on your Linux system:
- OpenEXR
- OpenImageIO
- boost
For Windows you'll have to re-create the Makefiles (or Visual Studio projects) from scratch.
Enjoy!
Today I'm not going to complain about mental ray. Instead, I will share some C++ code I wrote in my free time as a part of a bigger project, not announced yet. Not even decided whether it will ever be. So here is the tarball:
http://www.alexsegal.net/ftp/imgutils.ta
It contains source code of two utilities and their Makefiles for Linux.
1. linearize - performs color transformation into linear space for textures. It can read an sRGB or a Rec.709 texture and save it as a linear image.
2. exr4nuke - post-processes rendered Open EXR images to optimize them for comping in Nuke. It does two things: re-compresses the image as zip individual scanline and crops dataWindow according to the bounding box of all non-empty pixels.
To compile them, you have to have the following libraries installed on your Linux system:
- OpenEXR
- OpenImageIO
- boost
For Windows you'll have to re-create the Makefiles (or Visual Studio projects) from scratch.
Enjoy!