Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-22Cleanup: style, use braces for blenkernelCampbell Barton
2019-04-18Images: support packing edited images as OpenEXR or PNG.Brecht Van Lommel
This way float and multilayer images can now be packed without data loss. This removes the as_png option and always uses the appropriate file format depending on the image contents.
2019-04-18Cleanup: deduplicate single/multiview image packing code.Brecht Van Lommel
2019-04-18Cleanup: deduplicate image user initialization, make consistent.Brecht Van Lommel
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-03-14Fix some unreported issues with image sequence updates, clean code.Brecht Van Lommel
Lamp and world nodes were missing, nested node trees were updated twice, remove some legacy code.
2019-03-12Use the same string for DNA enum and CLI argument for EXR image format settingSybren A. Stüvel
The `--render-format` CLI option takes `EXR` and `MULTILAYER`, whereas the DNA image format render setting uses `OPEN_EXR` and `OPEN_EXR_MULTILAYER`. This commit adds the DNA values to the CLI argument, so that it is possible to take the selected value from DNA and pass it as-is to the CLI. This is used in Flamenco, for example. The `OPEN_EXR` and `OPEN_EXR_MULTILAYER` are now aliases, so both the existing and the new options keep working. Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: fsiddi Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D4502
2019-03-12Fix missing metadata for multilayer exr sequencesSergey Sharybin
2019-03-12Cleanup: BLI_utildefines struct macrosCampbell Barton
Use the term "AFTER" instead of "OFS" since it wasn't obvious these macros operate on everything after the struct member passed. Avoid casting to non-const types when only reading.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-04Show metadata for rendered imagesSergey Sharybin
Previously metadata was only shown for images which are saved to disk. This change makes it so that it's possible to see metadata right after pressing F12.
2019-02-25Merge branch 'blender2.7'Brecht Van Lommel
2019-02-25Fix T61946: Cycles border render missing samples and crypto metadata.Brecht Van Lommel
2019-02-20Cleanup: styleCampbell Barton
2019-02-18Fix T57457: animated image sequences not working in Eevee.Brecht Van Lommel
The dependency graph now handles updating image users to point to the current frame, and tags images to be refreshed on the GPU. The image editor user is still updated outside of the dependency graph. We still do not support multiple image users using a different current frame in the same image, same as 2.7. This may require adding a GPU image texture cache to keep memory usage under control. Things like rendering an animation while the viewport stays fixed at the current frame works though.
2019-02-18Fix image filepath changes not refreshing all image users.Brecht Van Lommel
2019-02-18Fix BKE_image_walk_all_users not including all image users.Brecht Van Lommel
2019-02-18Cleanup: rename tpageflag to gpuflag, make it purely runtime data.Brecht Van Lommel
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-07Show all useful metadata fields in editorsSergey Sharybin
Is available when doing "View -> Show Metadata". Will draw all the fields which are not part of the stamp at the bottom of the image. Couple of hand-picked fields are ignored, since those are not very useful to be seen. Aimed to ease review of rendered shots. Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4316
2019-02-06Improvements and fixes to Cycles metadataSergey Sharybin
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
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Support showing metadata for multilayer EXR filesSergey Sharybin
Quite straightforward: first, convert metadata from file to stamp data which is stored in the render result, and then for every requested layer/pass use that as a metadata.
2019-02-05Cleanup: typo in comment.Bastien Montagne
2019-02-05Cleanup: replace BKE_id_copy_ex by BKE_id_copy where possible.Bastien Montagne
That way it is obvious when we are using default ID copy behaviour, and when we are using advanced/specialized ones.
2019-02-05Cleanup: BKE_library: rename id_copy to BKE_id_copy.Bastien Montagne
Time to follow conventions for that one as well.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Logging: Use CLOG for blenkernelCampbell Barton
Part of D4277 by @sobakasu
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-15Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.Bastien Montagne
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-07Move static `get_hostname()` to `BLI_hostname()` in `system.c`Sybren A. Stüvel
This makes the `#include <Windows.h>` use more localised and out of the `image.c` file. Reviewers: LazyDodo Reviewed by: LazyDodo Differential revision: https://developer.blender.org/D4049
2018-12-07Metadata: add hostname to the available metadata optionsSybren A. Stüvel
Having the hostname allows us to identify which machine rendered which frame in our render farm. This simply uses the host's name, and doesn't do any DNS lookup of any IP address of the machine. As such, it's only usable for identification purposes, and not for reachability over a network. Reviewers: sergey, brecht Reviewed By: sergey Differential Revision: https://developer.blender.org/D4047
2018-12-06Color management: Use default view with no extra transform when not specifiedSergey Sharybin
2018-12-06Color management: Cleanup, make function name more clearSergey Sharybin
The idea is to reflect that the view settings are the best for cases when one wants to see things as if they are a render result.
2018-12-05Color management: Query default view from displaySergey Sharybin
Solves weird situation when default display name is queried from OCIO, but Default view being assumed to be set for it. Now view is initialized to a default view of that display.
2018-11-08Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-08Render API: Support arbitrary length for custom image metadata fieldsLukas Stockner
2018-10-18Cleanup: Remove more #if 0 blocksJacques Lucke
Continuation of https://developer.blender.org/D3802 Reviewers: brecht Differential Revision: https://developer.blender.org/D3808
2018-10-11Remove image based bitmap font supportCampbell Barton
Was used in the game engine and is no longer used.
2018-09-24Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-24Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-09-10Cleanup: remove unused field argsCampbell Barton
2018-09-08Fix T56712: Compositor image loader skips frames.Bastien Montagne
Bad removal of 'Fields' option for image sequences...