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
2018-05-25Merge branch 'master' into blender2.8Campbell Barton
2018-05-24Cycles/Compositor: Add arctan2 operation to the Math nodeLukas Stockner
The Math node currently has the normal atan() function, but for actual angles this is fairly useless without additional nodes to handle the signs. Since the node has two inputs anyways, it only makes sense to add an arctan2 option. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3430
2018-05-18Merge branch 'master' into blender2.8Campbell Barton
2018-05-18Color: Assume Rec 709 in remaining comp nodesAaron Carlisle
Part of T54798
2018-05-09Merge branch 'master' into blender2.8Campbell Barton
2018-05-09Color: Combine/Separate YCbCrA node default to rec. 709Aaron Carlisle
This commit is part of T54798 Differential Revision: https://developer.blender.org/D3183
2018-05-07Merge branch 'master' into blender2.8Campbell Barton
2018-05-07Cleanup: move unit char/short/float to functionsCampbell Barton
This caused GCC 8.1 to crash at build time, but was also not very nice use of macros.
2018-05-03Cleanup: fix warnings, removed unused code.Brecht Van Lommel
2018-05-02Merge branch 'master' into blender2.8Campbell Barton
2018-04-30BLI Color: YUV to/from rgb colorspace optionAaron Carlisle
This commit does two things: - Adds an option to do the calculation in different color spaces (BT601 or BT709). - Changes the default caluclation from legacy BT601 to BT709. This affects several areas: - UI areas (mainly scopes) - ViewLevelsNode - Several other nodes that use `COM_ConvertOperation.h`
2018-04-16Merge branch 'master' into blender2.8Campbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2018-04-15Merge branch 'master' into blender2.8Campbell Barton
2018-04-14Cleanup: styleCampbell Barton
2018-04-13Merge branch 'master' into blender2.8Bastien Montagne
2018-04-12Moved vectorblur code from render to compositorJeroen Bakker
In preparation of the removal of blender internal render we moved the vectorblur code that was placed in the render package (legacy) to the compositor. The compositor is only using this code even the blender internal renderer did not use the code at all.
2018-04-03Merge branch 'master' into blender2.8Campbell Barton
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-03-05Merge branch 'master' into blender2.8Sergey Sharybin
2018-03-05Fix T54225: Blur node stopped working when Map Range was fed with imageSergey Sharybin
The issue was happening with fast Gaussian blur, and caused by NaN value pixels in the input buffer. Now made it so Map Range output does not produce NaN, by returning arbitrary value of 0. Still better than NaN!
2018-02-28Refactor depsgraph/render logic to serve evaluated depsgraph to enginesDalai Felinto
User notes ---------- Compositing, rendering of multi-layers in Eevee should be fully working now. Development notes ----------------- Up until now we were still using the same depsgraph for rendering and viewport evaluation. And we had to go out of our ways to be sure the depsgraphs were updated. Now we iterate over the (to be rendered) view layers and create a depsgraph to each one, fully evaluated and call the render engines (Cycles, Eevee, ...) with this viewlayer/depsgraph/evaluation context. At this time we are not handling data persistency, Depsgraph is created from scratch prior to rendering each frame. So I got rid of most of the partial update calls we had during the render pipeline. Cycles: Brecht Van Lommel did a patch to tackle some of the required Cycles changes but this commit mark these changes as TODOs. Basically Cycles needs to render one layer at a time. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3073
2018-02-18Merge branch 'master' into blender2.8Campbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Merge branch 'master' into blender2.8Campbell Barton
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-01-16Merge branch 'master' into blender2.8Campbell Barton
2018-01-16Cleanup: indentationCampbell Barton
2018-01-08Merge branch 'master' into blender2.8Bastien Montagne
2018-01-06Fix T47212: incorrect luma coefficients for Luminance Key node.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2982
2017-12-07Merge branch 'master' into blender2.8Campbell Barton
2017-12-07Cleanup: Use BKE_colorband prefixCampbell Barton
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton
2017-12-06Proposed fix for T53263 -- Blender crashes when rendering with Stabilizer 2D ↵Daniel Silva
node without movie selected The program won't crash anymore, but a warning won't be displayed. Anyway, this gives the user the chance to save the project. https://developer.blender.org/T53263 Reviewers: lukastoenne Differential Revision: https://developer.blender.org/D2934
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-22SceneRenderLayer Removal/RefactorDalai Felinto
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919
2017-11-21Cleanup: We do not use camel case in Blender codeSergey Sharybin
At least not for variables.
2017-11-21Fix T53371: Keying Node fails with values above 1Sergey Sharybin
This was expected behavior for over-exposured lamps when the mode was originally created for Tears of Steel. Turns out, there could be really bad green screen in real production which will only have green (or rather screen) channel over exposured. Tweaked condition now so we use least bright channel to see if the area has proper exposure or not. Seems to work fine in tests, but further tweaks are possible.
2017-11-09Moved alignment attributes from my last commit to BLI_compiler_attrs.h for ↵Stefan Werner
future use.
2017-11-09Compositor: Ensured 16 byte alignment for variables accessed by SSE ↵Stefan Werner
instructions. Before this patch, the XBlur/YBlur compositor nodes would crash for me when run in a MSVC 2015 debug build (test scene: BMW27_cpu). I added the compiler instructions to explicitly align the local variables that the SSE instructions are accessing.
2017-10-02Fix T52927: Compositor wrong scale when scale size input is connected to ↵Sergey Sharybin
complex node The issue here is that we can not read scale from socket when determining dependent area of interest. This area will depend on current pixel. Now fall back to more stupid but reliable thing: if scale size input is connected to some nodes, we use the whole frame as area of interest.
2017-10-02Compositor: Fix strict compilation warnings when debug is enabledSergey Sharybin
2017-10-02Compositor: Fix compilation error with debug enabledSergey Sharybin
2017-09-14Fix T52653: Render output of linked scenes conflicts with other scenes with ↵Sergey Sharybin
the same name The issue was caused by render result identifier only consist of scene name, which could indeed cause conflicts. On the one hand, there are quite some areas in Blender where we need identifier to be unique to properly address things. Usually this is required for sub-data of IDs, like bones. On another hand, it's not that hard to support this particular case and avoid possible frustration. The idea is, we add library name to render identifier for linked scenes. We use library name and not pointer so we preserve render results through undo stack. Reviewers: campbellbarton, mont29, brecht Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2836
2017-09-13Fix T52299: X resolution of 4 causes nodes to collapseSergey Sharybin
Was caused by numeric overflow when calculating preview dimensions. Now we try to avoid really insance preview resolutions by fitting aspect into square.
2017-09-13Fix T52113: Compositor doesnt mix unrendered render layers wellSergey Sharybin
Compositor was always defaulting to all-zero s output for missing passes. This was broken in 4cf7fc3.
2017-09-13Compositor: Cleanup, get rid of nested ternary operatorsSergey Sharybin
Having single switch statement is much more readable.
2017-09-13Compositor: Cleanup, de-duplicate some codeSergey Sharybin
2017-09-13Compositor: Cleanup, reduce indentation level in render layer nodeSergey Sharybin
There is absolute no reason to have such an indentation level, it only causes readability and maintainability issues. It is really simple to make code more "streamlined".