Gernot Ziegler's patch to add OpenEXR support to blender.

To enable it you will need to download OpenEXR and install it.
For the Makefiles you will need to set WITH_OPENEXR=true
and set NAN_OPENEXR to point to where OpenEXR is installed.

For scons you'll need to remove config.opts to get the new options
so you can enable OpenEXR, I was not able to get blender to link
with scons so the scons stuff may need to be tweaked a little but
I think it should work.

For other platform managers  The OpenEXR stuff is similar to QUICKTIME
you need to define WITH_OPENEXR and setup the library stuff and
as you'll notice in this commit there are two extra files.

Kent
This commit is contained in:
2005-03-11 20:16:14 +00:00
parent c6d5124560
commit a1919e6db4
22 changed files with 592 additions and 19 deletions

View File

@@ -44,10 +44,6 @@
#include "render.h" // RE_make_existing_file, R. stuff
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int BIF_write_ibuf(ImBuf *ibuf, char *name)
{
int ok;
@@ -61,6 +57,11 @@ int BIF_write_ibuf(ImBuf *ibuf, char *name)
else if ((G.scene->r.imtype==R_BMP)) {
ibuf->ftype= BMP;
}
#ifdef WITH_OPENEXR
else if ((G.scene->r.imtype==R_OPENEXR)) {
ibuf->ftype= OPENEXR;
}
#endif
else if ((G.scene->r.imtype==R_TARGA) || (G.scene->r.imtype==R_PNG)) {
// fall back to Targa if PNG writing is not supported
ibuf->ftype= TGA;