2002-10-12 11:37:38 +00:00
|
|
|
#
|
|
|
|
|
# $Id$
|
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2002-10-12 11:37:38 +00:00
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2002-10-12 11:37:38 +00:00
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
#
|
|
|
|
|
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
# The Original Code is: all of this file.
|
|
|
|
|
#
|
|
|
|
|
# Contributor(s): none yet.
|
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2002-10-12 11:37:38 +00:00
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
LIBNAME = imbuf
|
|
|
|
|
DIR = $(OCGDIR)/blender/imbuf
|
Orange branch: OpenEXR finally in Blender!
Credits go to Gernot Ziegler, who originally coded EXR support, and to
Austin Benesh for bringing it further. Kent Mein provided a lot of code
for integrating float buffers in Blender imbuf and ImBuf API cleanup,
and provided Make and Scons and static linking.
At this moment; the EXR libraries are a *dependency*, so you cannot get
the Orange branch compiled without having OpenEXR installed. Get the
(precompiled or sources) stuff from www.openexr.com. Current default is
that the headers and lib resides in /user/local/
Several changes/additions/fixes were added:
- EXR code only supported 'half' format (16 bits per channel). I've added
float writing, but for reading it I need tomorrow. :)
- Quite some clumsy copying of data happened in EXR code.
- cleaned up the api calls already a bit, preparing for more advanced
support
- Zbuffers were saved 16 bits, now 32 bits
- automatic adding of .exr extensions went wrong
Imbuf:
- added proper imbuf->flags and imbuf->mall support for float buffers, it
was created for *each* imbuf. :)
- found bugs for float buffers in scaling and flipping. Code there will
need more checks still
- imbuf also needs to be verified to behave properly when no 32 bits
rect exists (for saving for example)
TODO:
- support internal float images for textures, backbuf, AO probes, and
display in Image window
Hope this commit won't screwup syncing with bf-blender... :/
2006-01-09 00:40:35 +00:00
|
|
|
SOURCEDIR = source/blender/imbuf/intern
|
2002-10-12 11:37:38 +00:00
|
|
|
|
Orange branch: OpenEXR finally in Blender!
Credits go to Gernot Ziegler, who originally coded EXR support, and to
Austin Benesh for bringing it further. Kent Mein provided a lot of code
for integrating float buffers in Blender imbuf and ImBuf API cleanup,
and provided Make and Scons and static linking.
At this moment; the EXR libraries are a *dependency*, so you cannot get
the Orange branch compiled without having OpenEXR installed. Get the
(precompiled or sources) stuff from www.openexr.com. Current default is
that the headers and lib resides in /user/local/
Several changes/additions/fixes were added:
- EXR code only supported 'half' format (16 bits per channel). I've added
float writing, but for reading it I need tomorrow. :)
- Quite some clumsy copying of data happened in EXR code.
- cleaned up the api calls already a bit, preparing for more advanced
support
- Zbuffers were saved 16 bits, now 32 bits
- automatic adding of .exr extensions went wrong
Imbuf:
- added proper imbuf->flags and imbuf->mall support for float buffers, it
was created for *each* imbuf. :)
- found bugs for float buffers in scaling and flipping. Code there will
need more checks still
- imbuf also needs to be verified to behave properly when no 32 bits
rect exists (for saving for example)
TODO:
- support internal float images for textures, backbuf, AO probes, and
display in Image window
Hope this commit won't screwup syncing with bf-blender... :/
2006-01-09 00:40:35 +00:00
|
|
|
include nan_subdirs.mk
|
2002-10-12 11:37:38 +00:00
|
|
|
include nan_compile.mk
|
Orange branch: OpenEXR finally in Blender!
Credits go to Gernot Ziegler, who originally coded EXR support, and to
Austin Benesh for bringing it further. Kent Mein provided a lot of code
for integrating float buffers in Blender imbuf and ImBuf API cleanup,
and provided Make and Scons and static linking.
At this moment; the EXR libraries are a *dependency*, so you cannot get
the Orange branch compiled without having OpenEXR installed. Get the
(precompiled or sources) stuff from www.openexr.com. Current default is
that the headers and lib resides in /user/local/
Several changes/additions/fixes were added:
- EXR code only supported 'half' format (16 bits per channel). I've added
float writing, but for reading it I need tomorrow. :)
- Quite some clumsy copying of data happened in EXR code.
- cleaned up the api calls already a bit, preparing for more advanced
support
- Zbuffers were saved 16 bits, now 32 bits
- automatic adding of .exr extensions went wrong
Imbuf:
- added proper imbuf->flags and imbuf->mall support for float buffers, it
was created for *each* imbuf. :)
- found bugs for float buffers in scaling and flipping. Code there will
need more checks still
- imbuf also needs to be verified to behave properly when no 32 bits
rect exists (for saving for example)
TODO:
- support internal float images for textures, backbuf, AO probes, and
display in Image window
Hope this commit won't screwup syncing with bf-blender... :/
2006-01-09 00:40:35 +00:00
|
|
|
include nan_definitions.mk
|
|
|
|
|
|
2006-03-12 14:11:23 +00:00
|
|
|
DIRS = cineon
|
|
|
|
|
|
Orange branch: OpenEXR finally in Blender!
Credits go to Gernot Ziegler, who originally coded EXR support, and to
Austin Benesh for bringing it further. Kent Mein provided a lot of code
for integrating float buffers in Blender imbuf and ImBuf API cleanup,
and provided Make and Scons and static linking.
At this moment; the EXR libraries are a *dependency*, so you cannot get
the Orange branch compiled without having OpenEXR installed. Get the
(precompiled or sources) stuff from www.openexr.com. Current default is
that the headers and lib resides in /user/local/
Several changes/additions/fixes were added:
- EXR code only supported 'half' format (16 bits per channel). I've added
float writing, but for reading it I need tomorrow. :)
- Quite some clumsy copying of data happened in EXR code.
- cleaned up the api calls already a bit, preparing for more advanced
support
- Zbuffers were saved 16 bits, now 32 bits
- automatic adding of .exr extensions went wrong
Imbuf:
- added proper imbuf->flags and imbuf->mall support for float buffers, it
was created for *each* imbuf. :)
- found bugs for float buffers in scaling and flipping. Code there will
need more checks still
- imbuf also needs to be verified to behave properly when no 32 bits
rect exists (for saving for example)
TODO:
- support internal float images for textures, backbuf, AO probes, and
display in Image window
Hope this commit won't screwup syncing with bf-blender... :/
2006-01-09 00:40:35 +00:00
|
|
|
ifeq ($(WITH_OPENEXR), true)
|
2009-11-09 20:08:19 +00:00
|
|
|
DIRS += openexr
|
2006-01-10 16:52:21 +00:00
|
|
|
CFLAGS += -DWITH_OPENEXR
|
Orange branch: OpenEXR finally in Blender!
Credits go to Gernot Ziegler, who originally coded EXR support, and to
Austin Benesh for bringing it further. Kent Mein provided a lot of code
for integrating float buffers in Blender imbuf and ImBuf API cleanup,
and provided Make and Scons and static linking.
At this moment; the EXR libraries are a *dependency*, so you cannot get
the Orange branch compiled without having OpenEXR installed. Get the
(precompiled or sources) stuff from www.openexr.com. Current default is
that the headers and lib resides in /user/local/
Several changes/additions/fixes were added:
- EXR code only supported 'half' format (16 bits per channel). I've added
float writing, but for reading it I need tomorrow. :)
- Quite some clumsy copying of data happened in EXR code.
- cleaned up the api calls already a bit, preparing for more advanced
support
- Zbuffers were saved 16 bits, now 32 bits
- automatic adding of .exr extensions went wrong
Imbuf:
- added proper imbuf->flags and imbuf->mall support for float buffers, it
was created for *each* imbuf. :)
- found bugs for float buffers in scaling and flipping. Code there will
need more checks still
- imbuf also needs to be verified to behave properly when no 32 bits
rect exists (for saving for example)
TODO:
- support internal float images for textures, backbuf, AO probes, and
display in Image window
Hope this commit won't screwup syncing with bf-blender... :/
2006-01-09 00:40:35 +00:00
|
|
|
endif
|
|
|
|
|
|
2007-06-25 19:50:25 +00:00
|
|
|
ifeq ($(WITH_DDS), true)
|
|
|
|
|
DIRS += dds
|
|
|
|
|
CPPFLAGS += -DWITH_DDS
|
|
|
|
|
endif
|
2002-10-12 11:37:38 +00:00
|
|
|
|
2009-03-10 16:04:29 +00:00
|
|
|
ifeq ($(WITH_OPENJPEG), true)
|
2009-11-09 20:08:19 +00:00
|
|
|
ifndef BF_OPENJPEG_INC
|
|
|
|
|
CFLAGS += -DWITH_OPENJPEG -I../../../../extern/libopenjpeg
|
|
|
|
|
else
|
|
|
|
|
CFLAGS += -DWITH_OPENJPEG -I$(BF_OPENJPEG_INC)
|
|
|
|
|
endif
|
2009-03-10 16:04:29 +00:00
|
|
|
endif
|
|
|
|
|
|
2002-10-12 11:37:38 +00:00
|
|
|
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
|
|
|
|
|
|
|
|
|
CPPFLAGS += -I$(NAN_JPEG)/include
|
|
|
|
|
CPPFLAGS += -I$(NAN_PNG)/include
|
|
|
|
|
CPPFLAGS += -I$(NAN_ZLIB)/include
|
2005-11-22 18:50:03 +00:00
|
|
|
CPPFLAGS += -I$(NAN_TIFF)/include
|
2002-10-12 11:37:38 +00:00
|
|
|
CPPFLAGS += -I../../include
|
|
|
|
|
CPPFLAGS += -I../../blenkernel
|
|
|
|
|
CPPFLAGS += -I../../blenlib
|
|
|
|
|
CPPFLAGS += -I../../avi
|
2003-04-28 11:01:44 +00:00
|
|
|
CPPFLAGS += -I../../quicktime
|
2002-10-12 11:37:38 +00:00
|
|
|
# path to the guarded memory allocator
|
|
|
|
|
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
2006-02-05 19:23:34 +00:00
|
|
|
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
2002-10-12 11:37:38 +00:00
|
|
|
# This is not really needed, but until /include is cleaned, it must be
|
|
|
|
|
# there for proper compilation.
|
|
|
|
|
# - No, it is also needed in antialias, for listbase (nzc)
|
|
|
|
|
CPPFLAGS += -I../../makesdna
|
|
|
|
|
# external interface of this module
|
|
|
|
|
CPPFLAGS += -I..
|
|
|
|
|
|
2003-05-02 13:36:56 +00:00
|
|
|
ifeq ($(WITH_QUICKTIME), true)
|
2005-03-11 20:16:14 +00:00
|
|
|
CPPFLAGS += -DWITH_QUICKTIME
|
|
|
|
|
endif
|
|
|
|
|
|
2006-02-05 19:23:34 +00:00
|
|
|
ifeq ($(WITH_FFMPEG), true)
|
|
|
|
|
CPPFLAGS += -DWITH_FFMPEG
|
2006-02-06 06:22:39 +00:00
|
|
|
CPPFLAGS += $(NAN_FFMPEGCFLAGS)
|
2006-02-05 19:23:34 +00:00
|
|
|
endif
|