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-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2018-06-11Cleanup: remove moar ugly G.main usages...Bastien Montagne
BKE_image was an ugly nest, could fix all but the ones from compositor, so moved ugly G.main there, at least we know where the Evil is that way ;)
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
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-18Color: Assume Rec 709 in remaining comp nodesAaron Carlisle
Part of T54798
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-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-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-16Cleanup: indentationCampbell Barton
2018-04-14Cleanup: styleCampbell Barton
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-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
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-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
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-16Cleanup: indentationCampbell Barton
2018-01-06Fix T47212: incorrect luma coefficients for Luminance Key node.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2982
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-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".
2017-09-04Fix T52531: Blender 2D stabilisation node issue when autoscale is selectedSergey Sharybin
Threading conflict, should be safe for 2.79.
2017-09-03T52534: Compositor artifacts when scalingJeroen Bakker
Increased the maxx and maxy area of interest when scaling in this case.
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-25Fix compositor Glare node with Simpler Star resulting in uneven rays.Matheus de Sousa Faria
Reviewed By: brecht Differential Revision: https://developer.blender.org/D1867
2017-07-05Compositor: Fix compilation error and crash when using defocus searchSergey Sharybin
Was just wondering what the option is doing. Not sure yet, but let's fix couple of issues here.
2017-06-04Fix T51587: Blender fails to interpret a specific layer in OpenEXR ↵Lukas Stockner
multilayer file
2017-05-22Fix T51308: Bright/Contrast Doesn't respect Pre-multiplied AlphaSergey Sharybin
Brightness/contrast node was changing color but did not modify alpha or ensured colors are premultiplied on the output. This was giving artifacts later on unless alpha was manually converted. Compositor is supposed to work in premultiplied alpha (except of some really corner cases) so it makes sense to ensure premultiplied alpha after brightness/contrast node. This is now done as an option enabled by default, so we: (a) Keep compatibility with old files. (b) Have correct behavior for newly created files. Later on we can get rid of this option.
2017-05-19Fix/workaround T51070: Cannot scale procedural texture in compositorSergey Sharybin
The issue is coming from some weird semi-finished canvas feature, which was remapping coordinate without applying any differential on the sampling ellipse (in fact, there is no ellipse, sampling think is always a single pixel). The whole thing is just weak in the compositor, for now just bring behavior back to how it was prior to optimization (multithreading) commit.
2017-05-19Compositor: Remove unused funcitonSergey Sharybin
2017-05-15Fix T51348: Node highlighting is brokenSergey Sharybin
This feature was disabled in the code but not in the interface. Removing the code, since it needs full re-implementation anyway.
2017-05-07Remove unused node socket flag that was added in the render pass commitLukas Stockner
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-04-29Cleanup: unused includesCampbell Barton
2017-04-20D2607: Switch eye dropper to use linear color space internallyStefan Werner
This switches the internal color representation of the eye dropper from display space to linear. Any time a linear color is requested and the color is picked from a linear object, the result is now precise to the bit as the color gets patched through directly. Color space conversion now only happens when a color is picked from non-linear display space objects or when the color is requested to be returned in non-linear space. In addition, this patch changes the DifferenceMatte node to interpret a tolerance of 0.0 to accept colors that are identical bit by bit, as apposed to simply refusing all colors.
2017-03-08Fix T50849: Transparent background produces artifacts in this compositing setupSergey Sharybin
The issue was caused by sometimes negative color returned by the filter node. Seems to be caused by precision issues. Don't see any reason why we would want negative colors in output. Those only causing issues later on.
2017-02-23Fix T50736: Zero streaks in Glare node.Bastien Montagne
Please never, ever use same DNA var for two different things. Even worse if they do not have same type and ranges! This is only ensuring issues (as described in report, but also if animating both RNA props using same DNA var... yuck). And we were not even saving any byte in DNA, could reuse some padding there to store the two new needed vars (yes, two, since we cannot re-use existing one if we want to keep backward *and* forward compatibility).