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
2015-02-11Compositor: Expose Alpha socket for multilayer EXR nodeSergey Sharybin
This way re-mapping scene nodes to EXR files becomes much easier, no extra trickery with separate RGBA setups is needed. Plus makes it more consistent with regular EXR files. This uses EGBA pass to get alpha from.
2015-02-11cleanup: style/indentationCampbell Barton
2015-02-06Cleanup: styleCampbell Barton
2015-02-04Compositor: Code cleanup, trailing whitespace and wrappingSergey Sharybin
2015-02-03Compositor: Implement sampled motion blur for plane track deform nodeSergey Sharybin
Quite striaghtforward change, and in theory we can even try supporting motion blur for the corner pin node (which is tricky because coordinates actually coming from sockets, but with some black magic should be doable).
2015-01-27Fix T43427: Particle system children sometimes not generated on reloadSergey Sharybin
The issue was caused by the conflict between preview render which would set R_NO_IMAGE_LOAD flag on the renderer and texture samplers called outside of the render pipeline trying to use this flag. Now the sampler functions accepts extra argument so render pipeline can still skip image load, but calls outside of the pipeline will nicely load all the images. Not cleanest change in the world but good enough to unlock gooseberry team, and assuming we already had pool passed all over the place it should be all fine. Will need to reshuffle arguments into SamplerOptions structure later.
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-24BKE_image: use BKE_image_*** prefixCampbell Barton
use bools for return values and some api naming consistency.
2015-01-23cleanup: styleCampbell Barton
2015-01-20Fix T42844: Compositor scale offsetSergey Sharybin
Different interpolation methods in compositor could lead to 0.5 pixel offset in final renders. This is because of some inconsistency in integer coordinates which might mean pixel corner or pixel center. Should be all fine now.
2015-01-19D627: Memory usage optimization for the compositor.Jeroen Bakker
The compostor used a fixed size of 4 floats to hold pixel data. this patch will select size of a pixel based on its type. It uses 1 float for Value, 3 float for vector and 4 floats for color data types. When benchmarking on shots (opening shot of caminandes) we get a reduction of memory of 30% and a tiny speedup as less data transformations needs to take place (but these are negligable. More information of the patch can be found on https://developer.blender.org/D627 and http://wiki.blender.org/index.php/Dev:Ref/Proposals/Compositor2014_p1.1_TD Developers: jbakker & mdewanchand Thanks for Sergey for his indept review.
2015-01-14Ignore "unavailable" links in the compositor, where one or both socketsLukas Tönne
are unavailable (hidden).
2015-01-07Fix for bool flag useCampbell Barton
2014-12-04Cleanup and fix for uninitialized output buffer of the sunbeams node.Lukas Tönne
Buffers should actually be cleared before running operations on them, but this doesn't work for some reason. Note also that the sunbeams node can show some creases and hard aliasing when the source point is close to a bright area with strong gradient. To fix this a better filtering algorithm, dithering or ray sampling would need to be implemented. In the meantime simply blurring the sunbeams result a bit should help (or simply avoid putting the source on a bright spot).
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-20Compsitor: White space cleanupSergey Sharybin
2014-11-05Code cleanup: Replace magic number with verbose name for math node operationsSergey Sharybin
Should be no functional changes, just much less cryptic code.
2014-10-31Compositor: Don't let HSV correction to output negative colorsSergey Sharybin
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-23Cleanup: spellingCampbell Barton
2014-10-14Code cleanup: int/float and float/double conversionsSergey Sharybin
2014-10-14Fix T42064: Directional blur uses wrong samplerSergey Sharybin
Now use linear one, nearest is far too doggy.
2014-10-06Compositor; Explicitly specify inline functionSergey Sharybin
2014-10-06Compositor: implement OpenCL backend for gaussian blurSergey Sharybin
Pretty much straightforward change which gives around 30% speedup on my laptop and around 2x speedup on desktop in the BI (which uses gts580). Tested with huge blurs (like 10% of blur) which was rather common during Caminandes. For now OpenCL is only limited for blur size more than 100 pixels. This is a bit experimental still, feedback is welcome. Reviewers: jbakker, lukastoenne Subscribers: ton Differential Revision: https://developer.blender.org/D576
2014-10-02Compositor: Reduce number of int<->float conversions in keying screen operationSergey Sharybin
2014-10-02Compositor: Simplify logic in keying blur operationSergey Sharybin
2014-09-23Fix T41921: MapUV node alpha setting broken.Lukas Tönne
The UV values includes the image width/height now. To restore the previous method as close as possible (even though it is not documented anywhere how this is supposed to work), we have to ignore this scaling.
2014-09-23Fixed border extension for the sunbeams node.Lukas Tönne
This ensures that the beams color does not darken along borders, by using the last valid color of the ray as the border color (extending colors in the direction of the source point).
2014-09-21Fix T41754, sunbeams node should return the unmodified source value atLukas Tönne
the source pixel.
2014-09-12Cleanup & remove redundant checkCampbell Barton
2014-09-11Fix wrong area of interest for movie undistortionSergey Sharybin
2014-09-11Fix T41785: The combination of movie-distortion and lens-distortion leads to ↵Sergey Sharybin
artifacts
2014-09-08Fix T41573: Compositing reroute converts floats to red colorBastien Montagne
At compo level, only skip data type conversion if both ends of a link do not require it. Thanks to Lukas for advices and review.
2014-08-23Fix T41538: Sun Beam Node has artifact at its radius.Lukas Tönne
The sunbeams node was clamping the range of influence to start at 1 pixel distance from the source. This was a poor fix for artifacts caused by an off set in buffer coordinates. Since the u coordinate starts at ceil(umax) the v coordinate also has to use ceil. This also fixes some discontinuities that became visible when the source point is close to a sharp line in the input image.
2014-08-18De-duplicate EWA filter code between renderer and compositorSergey Sharybin
The title says it all, move the EWA filter to BLI (currently it's math_interp.c) and use the function from both BI renderer and the compositor. This makes more central place of the algorithm, allowing to have fixes and optimizaitons synchronized across the two usages. This also fixes T41440: Displacement in compositing creates holes Reviewers: campbellbarton, lukastoenne Reviewed By: lukastoenne Maniphest Tasks: T41440 Differential Revision: https://developer.blender.org/D748
2014-08-14remove MAXFLOAT defineCampbell Barton
2014-08-13SpellingCampbell Barton
2014-08-05SpellingCampbell Barton
2014-08-05Deduplicate CUDA and OpenCL wranglersSergey Sharybin
For now it was mainly about OpenCL wrangler being duplicated between Cycles and Compositor, but with OpenSubdiv work those wranglers were gonna to be duplicated just once again. This commit makes it so Cycles and Compositor uses wranglers from this repositories: - https://github.com/CudaWrangler/cuew - https://github.com/OpenCLWrangler/clew This repositories are based on the wranglers we used before and they'll be likely continued maintaining by us plus some more players in the market. Pretty much straightforward change with some tricks in the CMake/SCons to make this libs being passed to the linker after all other libraries in order to make OpenSubdiv linked against those wranglers in the future. For those who're worrying about Cycles being less standalone, it's not truth, it's rather more flexible now and in the future different wranglers might be used in Cycles. For now it'll just mean those libs would need to be put into Cycles repository together with some other libs from Blender such as mikkspace. This is mainly platform maintenance commit, should not be any changes to the user space. Reviewers: juicyfruit, dingto, campbellbarton Reviewed By: juicyfruit, dingto, campbellbarton Differential Revision: https://developer.blender.org/D707
2014-08-05Cleanup: indentationCampbell Barton
2014-08-02SpellingCampbell Barton
2014-07-26New compositor node "Sun Beams"Lukas Tönne
This allows adding a "fake" sun beam effect, simulating crepuscular rays from light being scattered in a medium like the atmosphere or deep water. Such effects can be created also by renderers using volumetric lighting, but the compositor feature is a lot cheaper and is independent from 3D rendering. This makes it ideally suited for motion graphics. The implementation uses am optimized accumulation method for gathering color values along a line segment. The inner buffer loop uses fixed offset increments to avoid unnecessary multiplications and avoids variables by using compile-time specialization (see inline comments for further details).
2014-07-15Fix T41067: Muted nodes still do data type conversions.Lukas Tönne
Proxy operations from muted nodes would still create conversion operations where the datatypes don't match, which creates unexpected behavior. Arguably datatype conversion could still happen even when the main operation is muted, but this would be a design change and so is disabled now.
2014-07-08Fix T40986: crash on using the viewer node inside of group nodes.Lukas Tönne
Viewers were activated both inside the active group as well as the top level tree (the latter being a quick fix for getting a fallback viewer). This caused a race condition on the shared viewer image. Now the active viewer is defined at node conversion time in the converter so that only one can be active at a time without each node having to follow complicated rules for exclusion.
2014-07-01Fix T40903: Rendering: Alpha Channel is BrokenSergey Sharybin
2014-06-30Fix T40878: Translate node is inconsistentSergey Sharybin
2014-06-30Compositor: Get rid of hardcoded constantsSergey Sharybin
2014-06-30Fix for subpixel sampling was broken for render layers nodeSergey Sharybin
2014-06-23T39690: Modifications to Blender's 'temp dir' system.Bastien Montagne
Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never automatically cleaned up, and can end being quite big when used by Blender, especially when we have to store per-process data (using getpid() in file names). To address this, this patch: * Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path), the other is a mkdtemp-generated sub-dir, specific to each Blender instance. * Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always reuse the same filename (quit.blend...) or generate small file (crash reports...). * Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option). * Erases temp sub-dir on quit or crash. To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows. Note that, as in current code, the 'recover render result' hack-feature that was possible with SaveBuffer option is still removed. A real renderresult cache feature will be added soon, though. Reviewers: campbellbarton, brecht, sergey Reviewed By: campbellbarton, sergey CC: sergey Differential Revision: https://developer.blender.org/D531
2014-06-13Use advantage of SSE2 instructions in gaussian blur nodeSergey Sharybin
This gives around 30% of speedup for gaussian blur node. Pretty much straightforward implementation inside the node itself, but needed to implement some additional things: - Aligned malloc. It's needed to load data onto SSE registers faster. based on the aligned_malloc() from Libmv with some additional trickery going on to support arbitrary alignment (this magic is needed because of MemHead). In the practice only 16bit alignment is supported because of the lack of aligned malloc with arbitrary alignment for OSX. Not a bit deal for now because we need 16 bytes alignment at this moment only. Could be tweaked further later. - Memory buffers in compositor are now aligned to 16 bytes. Should be harmless for non-SSE cases too. just mentioning. Reviewers: campbellbarton, lukastoenne, jbakker Reviewed By: campbellbarton CC: lockal Differential Revision: https://developer.blender.org/D564