From a1919e6db4e20f1ab16646d3cbb273f569af23e1 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 11 Mar 2005 20:16:14 +0000 Subject: 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 --- source/blender/imbuf/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/imbuf/SConscript') diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript index 11d7cfb2b30..199e872e49b 100644 --- a/source/blender/imbuf/SConscript +++ b/source/blender/imbuf/SConscript @@ -33,6 +33,9 @@ source_files = ['intern/allocimbuf.c', 'intern/util.c', 'intern/writeimage.c'] +if user_options_dict['USE_OPENEXR'] == 1: + source_files.append('intern/openexr.cpp') + imbuf_env.Append (CPPPATH = ['.', '../makesdna', '#/intern/guardedalloc', @@ -43,6 +46,7 @@ imbuf_env.Append (CPPPATH = ['.', imbuf_env.Append (CPPPATH = user_options_dict['JPEG_INCLUDE']) imbuf_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE']) +imbuf_env.Append (CPPPATH = user_options_dict['OPENEXR_INCLUDE']) imbuf_env.Append (CPPPATH = user_options_dict['Z_INCLUDE']) imbuf_env.Append (CPPPATH = extra_includes) imbuf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_imbuf', source=source_files) -- cgit v1.2.3