Blender Git Loki

Git Commits -> Revision 014aa72

Revision 014aa72 by Ton Roosendaal (master)
January 9, 2006, 00:40 (GMT)
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... :/

Commit Details:

Full Hash: 014aa7261e29810b35b3d65c759f9d255bf8a277
SVN Revision: 6345
Parent Commit: 104ab9b
Lines Changed: +1751, -658

4 Added Paths:

/source/blender/imbuf/intern/openexr/Makefile (+51, -0)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+441, -0) (View)
/source/blender/imbuf/intern/openexr/openexr_api.h (+63, -0) (View)
/source/blender/imbuf/intern/openexr/SConscript (+22, -0) (View)

49 Modified Paths:

/source/blender/blenkernel/BKE_global.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+19, -12) (Diff)
/source/blender/blenkernel/intern/Makefile (+4, -0) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+8, -11) (Diff)
/source/blender/blenlib/intern/util.c (+1, -0) (Diff)
/source/blender/blenpluginapi/iff.h (+18, -5) (Diff)
/source/blender/blenpluginapi/intern/pluginapi.c (+1, -20) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+4, -33) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+15, -8) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+93, -38) (Diff)
/source/blender/imbuf/intern/amiga.c (+1, -1) (Diff)
/source/blender/imbuf/intern/anim.c (+1, -1) (Diff)
/source/blender/imbuf/intern/anim5.c (+1, -1) (Diff)
/source/blender/imbuf/intern/bitplanes.c (+4, -2) (Diff)
/source/blender/imbuf/intern/divers.c (+17, -14) (Diff)
/source/blender/imbuf/intern/filter.c (+72, -2) (Diff)
/source/blender/imbuf/intern/imageprocess.c (+18, -2) (Diff)
/source/blender/imbuf/intern/IMB_allocimbuf.h (+2, -0) (Diff)
/source/blender/imbuf/intern/iris.c (+3, -3) (Diff)
/source/blender/imbuf/intern/jpeg.c (+2, -5) (Diff)
/source/blender/imbuf/intern/Makefile (+12, -0) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+47, -79) (Diff)
/source/blender/imbuf/intern/readimage.c (+7, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+45, -32) (Diff)
/source/blender/imbuf/intern/rotate.c (+31, -11) (Diff)
/source/blender/imbuf/intern/scaling.c (+427, -90) (Diff)
/source/blender/imbuf/intern/targa.c (+3, -3) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -1) (Diff)
/source/blender/imbuf/intern/util.c (+7, -1) (Diff)
/source/blender/imbuf/intern/writeimage.c (+17, -10) (Diff)
/source/blender/imbuf/SConscript (+3, -0) (Diff)
/source/blender/include/butspace.h (+119, -123) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/render/intern/source/envmap.c (+24, -22) (Diff)
/source/blender/render/intern/source/initrender.c (+2, -4) (Diff)
/source/blender/SConscript (+3, -0) (Diff)
/source/blender/src/buttons_scene.c (+15, -3) (Diff)
/source/blender/src/editface.c (+7, -9) (Diff)
/source/blender/src/editmesh_mods.c (+53, -51) (Diff)
/source/blender/src/filesel.c (+5, -1) (Diff)
/source/blender/src/imasel.c (+3, -7) (Diff)
/source/blender/src/interface_icons.c (+4, -1) (Diff)
/source/blender/src/Makefile (+4, -0) (Diff)
/source/blender/src/screendump.c (+3, -0) (Diff)
/source/blender/src/sequence.c (+7, -11) (Diff)
/source/blender/src/toets.c (+10, -10) (Diff)
/source/blender/src/vpaint.c (+11, -8) (Diff)
/source/blender/src/writeimage.c (+11, -12) (Diff)
/source/blender/src/writemovie.c (+7, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021