Blender Git Commit Log

Git Commits -> Revision 8c87af7

Revision 8c87af7 by Sergey Sharybin (master)
February 6, 2019, 15:11 (GMT)
Improvements and fixes to Cycles metadata

This is a request by the studio here to make it possible to see how
many samples were used to render a specific shot or a frame. It is a
bit more tricky than simply stamping number of samples from a scene
since rendering is happening in multiple ranges of samples.

This change makes it so Cycles saves configured number of samples for
the specific view layer, and also stores start sample and number of
samples when rendering only a subrange of all samples.

The format used is "cycles.<view_layer_name>.><field>", which allows
to have information about all layers in a multi-layer EXR file.

Ideally we can store simplified "cycles.<field>" if we know that there
is only one render layer in the file, but detecting this is somewhat
tricky since Cycles operates on an evaluated scene which always have
single view layer.

The metadata is shown in the Metadata panels for clip, image and
sequencer spaces.

Example screenshot which shows the metadata:

{F6527727}

Reviewers: brecht

Reviewed By: brecht

Subscribers: fsiddi

Differential Revision: https://developer.blender.org/D4311

Commit Details:

Full Hash: 8c87af74409a3e6681698ba1bf150dd6155e202f
Parent Commit: e21ae0b
Lines Changed: +224, -17

10 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+23, -11) (Diff)
/intern/cycles/blender/blender_session.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+46, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -0) (Diff)
/source/blender/editors/screen/area.c (+24, -1) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+34, -2) (Diff)
/source/blender/editors/space_image/image_buttons.c (+27, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_buttons.c (+54, -2) (Diff)
/source/blender/imbuf/IMB_metadata.h (+4, -0) (Diff)
/source/blender/imbuf/intern/metadata.c (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021