March 23, 2021, 12:11 (GMT) |
Remove unused header files |
March 23, 2021, 11:58 (GMT) |
More cleanup and rename of functions |
March 23, 2021, 11:05 (GMT) |
Cleanup: remove internal functions from interface. |
March 23, 2021, 11:04 (GMT) |
Compositor: Display generated inputs in Viewers and Previews Currently viewers and previews only display node trees that have at least one node with fixed resolution size. When all inputs are generated, nothing is displayed in most cases (RGB Node is displayed as a single pixel on previews). By generated I mean inputs not having resolution on their own, they create content dynamically given an output resolution. This patch adds support for those cases by using an appropriate preferred resolution on Viewers/Previews which propagates to generated inputs as output resolution. Now: - Viewers will display generated inputs with scene render resolution. - Previews will display them with scene aspect ratio. This is consistent with final render result and respects relative space. The benefit for the user is being able to compose images without any input source. For example for creating mask images or simple backgrounds. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D10611 |
March 23, 2021, 10:59 (GMT) |
Cleanup: Silence compile warning. |
March 23, 2021, 10:59 (GMT) |
Cleanup: remove unused include. |
March 23, 2021, 10:53 (GMT) |
GPencil: Remove unused variable |
March 23, 2021, 10:47 (GMT) |
RNA: support automatically mapping string property to char pointer The goal of this patch is to remove the boilerplate code required to get a string property that maps to an allocated char pointer in dna. Previously, one to to provide three callbacks, all of which are not necessary anymore for a simple string property. Currently, when an empty string is assigned, the `set` function will always allocate it as well, instead of assigning `NULL` to the pointer. Some structs might support `NULL` while others don't, so this is the safer option for now. Differential Revision: https://developer.blender.org/D10773 |
March 23, 2021, 10:26 (GMT) |
LineArt: Multithread object iterator problem staging. |
March 23, 2021, 10:23 (GMT) |
VSE: Sanitize move_to_meta usage There were multiple cases that could lead to problems like moving meta strip into itself or into it's children meta strips. Print error string to console when invalid action is requested. |
March 23, 2021, 09:59 (GMT) |
Nodes: Add Refract and Faceforward functions to Vector Maths nodes Cycles, Eevee, OSL, Geo, Attribute Based on outdated refract patch D6619 by @cubic_sloth `refract` and `faceforward` are standard functions in GLSL, OSL and Godot shader languages. Adding these functions provides Blender shader artists access to these standard functions. Reviewed By: brecht Differential Revision: https://developer.blender.org/D10622 |
March 23, 2021, 09:50 (GMT) |
Cryptomatte: Node Size. Made it just a bit smaller (same size as renderlayers node). |
March 23, 2021, 09:41 (GMT) |
Spreadsheet: show comma separators in number of rows |
March 23, 2021, 09:39 (GMT) |
Cryptomatte: Default Node Size. Set the min/max and default node size of the cryptomatte node. |
March 23, 2021, 09:28 (GMT) |
Geometry Nodes: show domain in attribute fill node Differential Revision: https://developer.blender.org/D10789 |
March 23, 2021, 08:46 (GMT) |
Remove class member variables |
March 23, 2021, 08:22 (GMT) |
Merge branch 'master' into temp-gpencil-io |
March 23, 2021, 07:34 (GMT) |
Curves: add taper mode option Currently, when a taper object is specified, the radius of the spline is ignored. This patch adds a new option to control how the taper object affect the effective radius of the spline. The option allow three modes of operation: - Override: The old method. The radius of the spline is ignored and overridden. - Multiply: The radius of the spline is multiplied by the taper radius. - Add: The radius of the spline is added to the taper radius. Ref D10779 |
March 23, 2021, 07:31 (GMT) |
FFmpeg: improve threading settings Generalize threading settings in proxy building and use them for encoding/decoding in general. Check codec capabilities, prefer FF_THREAD_FRAME threading over FF_THREAD_SLICE and automatic thread count over setting it explicitly. ffmpeg-codecs man page suggests that `threads` option is global and used by codecs, that supports this option. Form some tests I have done, it seems that `av_dict_set_int(&codec_opts, "threads", BLI_system_thread_count(), 0);` has same effect as ``` pCodecCtx->thread_count = BLI_system_thread_count(); pCodecCtx->thread_type = FF_THREAD_FRAME; ``` Looking at `ff_frame_thread_encoder_init()` code, these cases are not equivalent. It is probably safer to leave threading setup on libavcodec than setting up each codec threading individually. From what I have read so far, frame multithreading should be faster than slice multithreading. Slice multithreading is mainly used for low latency streaming. When running Blender with `--debug-ffmpeg` it complains about `pCodecCtx->thread_count = BLI_system_thread_count()` that using thread count above 16 is not recommended. Using too many threads can negatively affect image quality, but I am not sure if this is the case for decoding as well - see https://streaminglearningcenter.com/blogs/ffmpeg-command-threads-how-it-affects-quality-and-performance.html This is fine for proxies but may be undesirable for final renders. Number of threads is limited by image size, because of size of motion vectors, so if it is possible let libavcodec determine optimal thread count. ----------- Performance difference: Proxy building: None Playback speed: 2x better on 1920x1080 sample h264 file Rendering speed: None on 1920x1080 sample h264 file, there is improvement with codecs that do support FF_THREAD_FRAME for encoding like MPNG |
March 23, 2021, 07:14 (GMT) |
FIX: Incorrect link drawing after link cutting tool Sorting of links on multi-input sockets where not recalculated after using the knife operator. Added call to resort function before cutting operator finishes. Reviewer: Jacques Lucke Differential Revision: https://developer.blender.org/D10783 |
|
|
|


Master Commits
MiikaHweb | 2003-2021