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
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).
2017-01-31Silence unused var warnings after rBac58a7faDalai Felinto
2017-01-26Compositor: Make HSV node inputs a real socketsSergey Sharybin
This is much more flexible solution which will allow doing some more procedural features. Reviewers: brecht, dfelinto, mont29 Reviewed By: mont29 Subscribers: Severin Differential Revision: https://developer.blender.org/D2403
2016-12-07Remove unused include statementSergey Sharybin
2016-11-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-11-03Fix T49857: Blender crashes after adding texture node to compositing treeSergey Sharybin
2016-10-25API: Fix LinksAaron Carlisle
Self-explanatory. to find broken links run `sphinx-build -b linkcheck sphinx-in sphinx-out` Reviewers: mont29 Tags: #bf_blender, #python, #infrastructure:_websites Differential Revision: https://developer.blender.org/D2297
2016-10-21Fix T49789: Compositor mix node interpolation bugSergey Sharybin
2016-08-24Fix T49128: Ghost of Previous Mask appears in Double Edge MaskSergey Sharybin
Patch by Ted Schundler (tschundler), thanks! Differential Revision: https://developer.blender.org/D2163
2016-08-16Rework 2D stabilizatorIchthyostega
See this page for motivation and description of concepts: https://github.com/Ichthyostega/blender/wiki See this video for UI explanation and demonstration of usage http://vimeo.com/blenderHack/stabilizerdemo This proposal attempts to improve usability of Blender's image stabilization feature for real-world footage esp. with moving and panning camera. It builds upon the feature tracking to get a measurement of 2D image movement. - Use a weighted average of movement contributions (instead of a median). - Allow for rotation compensation and zoom (image scale) compensation. - Allow to pick a different set of tracks for translation and for rotation/zoom. - Treat translation / rotation / zoom contributions systematically in a similar way. - Improve handling of partial tracking data with gaps and varying start / end points. - Have a user definable anchor frame and interpolate / extrapolate data to avoid jumping back to "neutral" position when no tracking data is available. - Support for travelling and panning shots by including an //intended// position/rotation/zoom ("target position"). The idea is for these parameters to be //animated// by the user, in order to supply an smooth, intended camera movement. This way, we can keep the image content roughly in frame even when moving completely away from the initial view. A known shortcoming is that the pivot point for rotation compensation is set to the translation compensated image center. This can produce spurious rotation on travelling shots, which needs to be compensated manually (by animating the target rotation parameter). There are several possible ways to address that problem, yet all of them are considered beyond the scope of this improvement proposal for now. Own modifications: - Restrict line length, it's really handy for split-view editing - In motion tracking we prefer fully human-readable comments, meaning we don't use doxygen with it's weird markup and comments are supposed to start with capital and end with a full stop, - Add explicit comparison of pointer to NULL. Reviewers: sergey Subscribers: kusi, kdawg, forest-house, mardy, Samoth, plasmasolutions, willolis, sebastian_k, hype, enetheru, sunboy, jta, leon_cheung Maniphest Tasks: T49036 Differential Revision: https://developer.blender.org/D583
2016-08-02Fix T47520: Compositor Node "Filter" Outputs clear imageKévin Dietrich
Make 'Laplace' filter an edge filter operation, since this what it is typically used for, and such operation does not affect the input's alpha channel. Reviewers: sergey, campbellbarton Reviewed By: sergey Differential Revision: https://developer.blender.org/D1817
2016-07-14Cleanup: comment blocksCampbell Barton
2016-07-07Fix single threaded compositor defineCampbell Barton
2016-07-02Cleanup: comment blocksCampbell Barton
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-07Fix T48589: Compositor Backdrop crashes BlenderSergey Sharybin
2016-05-05Optimize linear<->sRGB conversion for SSE2 processorsSergey Sharybin
Using SSE2 intrinsics when available for this kind of conversions. It's not totally accurate, but accurate enough for the purposes where we're using direct colorspace conversion by-passing OCIO. Partially based on code from Cycles, partially based on other online articles: https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent Makes projection painting on hi-res float textures smoother. This commit also enables global SSE2 in Blender. It shouldn't bring any regressions in supported hardware (we require SSE2 since 2.64 now), but should keep an eye on because compilers might have some bugs with that (unlikely, but possible).
2016-05-04Compositor: negative color support for ASC-CDL offsetCampbell Barton
Since the color wheel can't handle negative colors usefully, use a basis value for the initial RGB.
2016-04-14Compositor: Fix image and render layer always extending edgesSergey Sharybin
It was no more possible to translate two images, put one on top of another in order to do things like mapping VR views.
2016-03-14Fix T47785: Rendering Crash, Node Connector Crash, Changing Editors CrashSergey Sharybin
Regressions after 2.76, to be backported to 2.77.
2016-03-09Cleanup: style, spellingCampbell Barton
2016-03-05Cleanup: unnecessary comma useCampbell Barton
Also use SWAP macro
2016-03-03Make texture node threadedSergey Sharybin
Quite trivial idea -- just pass tread ID to the texture sampling function. Implemented as a TLS to avoid passing huge amount of extra contexts around. Should be working on all platforms, but compilation test is required. Reviewers: juicyfruit, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1831
2016-02-25Fix T47565: Crash when adding texture node in compositorSergey Sharybin
2016-02-23Fix T47444: Texture node in compositing nodes does not updateSergey Sharybin
2016-02-22Compositor: fix memory leak in filter node operation.Kévin Dietrich
Avoid allocating the (tiny) array on the heap in the first place. Reviewers: sergey, lukastoenne Differential Revision: https://developer.blender.org/D1815