Blender Git Commit Log

Git Commits -> Revision 2eb29e4

Revision 2eb29e4 by Lukas Toenne (master)
March 1, 2012, 07:56 (GMT)
A number of improvements for the file output node(s).

1) Old CMP_NODE_OUTPUT_FILE and CMP_NODE_OUTPUT_MULTI_FILE have been merged,
only CMP_NODE_OUTPUT_FILE remains. All functions renamed accordingly.

2) do_versions code for converting single-file output nodes into multi-file
output nodes. If a Z buffer input is used, the node is made into a multilayer
exr with two inputs. (see below). Also re-identifies multi-file output nodes
with the CMP_NODE_OUTPUT_FILE type.

3) "Global" format is stored in node now. By default this overrides any
per-socket settings.

4) Multilayer EXR output implemented. When M.EXR format is selected for node
format, all socket format details are ignored. Socket names are used for layer
names.

5) Input buffer types are used as-is when possible, i.e. stored as B/W, RGB or
RGBA. In regular file output the format dictates the number of actual channels,
so the CompBuf is typechecked to the right type first. For multilayer EXR the
number of channels is more flexible, so an input buffer will store only the
channels it actually uses.

6) The editor socket type is updated from linked sockets as an indicator of the
actual data written to files. This may not be totally accurate for regular file
output though, due to restrictions of format setting.

Commit Details:

Full Hash: 2eb29e4788008c1346b3a757cccec503b73c9b90
SVN Revision: 44569
Parent Commit: 1d5a388
Lines Changed: +465, -330

16 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+5, -3) (Diff)
/source/blender/blenkernel/intern/node.c (+13, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+86, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+122, -91) (Diff)
/source/blender/editors/space_node/node_edit.c (+21, -21) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -2) (Diff)
/source/blender/editors/space_node/node_ops.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -70) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+0, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+4, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+183, -131) (Diff)
/source/blender/nodes/NOD_composite.h (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021