2a2fd75ef9
Cleanup: Fix build error with MSVC
...
`BLI_cpu_support_sse41` needs BLI_System.h.
Reviewers: brecht
2019-08-27 08:13:23 -06:00
Stefan Werner
cd890c4c25
Compositor: Reversed order of Normal and Albedo in Denoising Node.
2019-08-27 14:43:48 +02:00
Stefan Werner
d547f9d3d2
Fix T68944: Added check for SSE4.1 to denoising node.
...
Since OpenImageDenoise requires a CPU with SSE 4.1 or newer,
let the node act as passthrough on unsupported CPUs and display
a message in the node itself.
2019-08-27 14:03:49 +02:00
a7609598fa
Cleanup: clang-format
2019-08-27 12:18:28 +02:00
Stefan Werner
b91b9a8eca
Compositor: Run only one instance of OIDN at a time.
...
Running multiple instances of OIDN simultaneously can use dozens
of GBs of memory. Since OIDN is multithreaded internally, we can run
only one instance at a time and should not lose much performance.
Fixing T69006
2019-08-27 11:06:48 +02:00
f1ddc6ed0a
Cleanup: clang-format
2019-08-25 16:45:47 +10:00
8eb2296872
UI: use consistent "Color Burn" name for blend mode
...
Previously it was named just "Burn" in some places.
Differential Revision: https://developer.blender.org/D5186
2019-08-23 13:14:15 +02:00
8ac40e4163
Cleanup: spelling, change breaked to braked
2019-08-18 19:30:33 +10:00
14e3c0b3e3
Cleanup: unused warning
2019-08-18 19:30:13 +10:00
b1959a96a2
Cleanup: spelling
2019-08-18 04:26:34 +10:00
2790740813
Cleanup: spelling
2019-08-17 00:57:05 +10:00
5489611e53
Compositor: Added denoising node
...
This node is built on Intel's OpenImageDenoise library.
Other denoisers could be integrated, for example Lukas' Cycles denoiser.
Compositor: Made OpenImageDenoise optional, added CMake and build_env files to find OIDN
Compositor: Fixed some warnings in the denoising operator
build_environment: Updated OpenImageDenoise to 0.8.1
build_environment: Updated OpenImageDenoise in `make deps` for macOS
Reviewers: sergey, jbakker, brecht
Reviewed By: brecht
Subscribers: YAFU, LazyDodo, Zen_YS, slumber, samgreen, tjvoll, yeus, ponomarovmax, getrad, coder.kalyan, vitos1k, Yegor, DeepBlender, kumaran7, Darkfie9825, aliasguru, aafra, ace_dragon, juang3d, pandrodor, cdog, lordodin, jtheninja, mavek, marcog, 5k1n2, Atair, rawalanche, 0o00o0oo, filibis, poor, lukasstockner97
Tags: #compositing
Differential Revision: https://developer.blender.org/D4304
2019-08-14 21:40:35 +02:00
00cb31de65
Cleanup: use BKE_ prefix for BKE_colortools.h
2019-08-07 03:38:01 +10:00
2425401a59
Cleanup: spelling
2019-08-04 12:51:44 +10:00
b54528fa1e
BrightContrast not working correctly with negative contrast
...
followup to rB8dd95abb2ff9 (which fixed this for the Compositor node),
turns out this was also wrong for the VSE modifier and in vertex color
operator.
- also adjust min/max for VSE modifier
- also guard against division by zero
Reviewers: brecht
Maniphest Tasks: T67808
Differential Revision: https://developer.blender.org/D5398
2019-08-02 10:09:29 +02:00
58a2b2dd7e
Cleanup: spelling
2019-08-02 12:05:13 +10:00
8dd95abb2f
Fix T67808: Bright/Contrast node wrong for negative contrast
...
strange nobody noticed since 2012...
thx @jenkm for spotting
Reviewers: brecht
Subscribers: jenkm
Maniphest Tasks: T67808
Differential Revision: https://developer.blender.org/D5378
2019-07-31 16:29:51 +02:00
96f0d22e3b
Cleanup: remove unused render buffers
2019-06-18 13:59:55 +02:00
abd240332d
Compositor: fix linear feather falloff in dilate/erode node
...
The bug only affected debug builds.
2019-06-12 15:53:37 +02:00
9f5ec31ac0
Fix T63176: Compositor stipes when scaling
2019-05-23 13:28:03 +02:00
b8226a3ae1
Cleanup: warnings
...
Quiet extra-semi-stmt & missing-variable-declarations
2019-05-03 12:43:02 +10:00
c7041403d0
Cleanup: comments (long lines) in compositor
2019-05-01 10:51:13 +10:00
3302fbaeb1
Cleanup: style, use braces for compositor
2019-04-23 11:22:25 +10:00
4439e5d0ba
Cleanup: add trailing commas to avoid right shift
2019-04-18 17:19:44 +02:00
41d4a19865
ClangFormat: format '#if 0' code in source/
2019-04-17 08:24:14 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
dbc058301b
Cleanup: trailing commas
2019-04-16 16:40:47 +02:00
e7fd6c8f30
Cleanup: comment blocks
2019-03-19 15:17:46 +11:00
168d3fd528
Cleanup: file rename lamp -> light
2019-02-27 12:36:32 +11:00
3316853323
Cleanup: conform headers to have license first
...
Also remove doxy comments for licenses and add missing GPL header.
2019-02-18 08:22:11 +11:00
ffd0fee97c
Cleanup: comment indentation & spelling
2019-02-11 10:51:25 +11:00
744f633986
Cleanup: trailing commas
...
Needed for clan-format not to wrap onto one line.
2019-02-03 14:59:11 +11:00
6cbb4c576a
Cleanup: manually remove header text not handled by automation
2019-02-02 01:49:31 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
c0f88ed8a8
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 21:17:58 +11:00
88a80fcec8
Cleanup: commas at the end of enums
...
Without this clang-format may wrap them onto a single line.
2019-01-16 00:03:03 +11:00
91a155833e
Cleanup: comments causing bad clang-format output
2019-01-08 10:37:43 +11:00
49490e5cfb
Merge branch 'master' into blender2.8
2018-12-12 13:02:09 +11:00
e757c4a3be
Cleanup: use colon separator after parameter
...
Helps separate variable names from descriptive text.
Was already used in some parts of the code,
double space and dashes were used elsewhere.
2018-12-12 12:50:58 +11:00
55e719ec35
Merge branch 'master' into blender2.8
2018-11-14 17:21:34 +11:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
64ec05b64d
Cleanup: remove some useless BKE_library and BKE_main includes.
...
Makes it simpler to make some changes...
Also fix order of some includes (use alphabetical please).
2018-11-07 20:58:54 +01:00
66738d4aa0
Merge branch 'master' into blender2.8
2018-10-11 09:08:30 +11:00
2083a7e274
Cleanup: style (pointers)
2018-10-11 09:03:39 +11:00
253dce07d7
Merge branch 'master' into blender2.8
2018-09-24 17:42:52 +02:00
0cff044d84
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 17:28:40 +02:00
f35e9f047a
Merge branch 'master' into blender2.8
2018-09-19 12:14:36 +10:00
2a14807f39
Merge branch 'master' into blender2.8
2018-09-13 07:50:45 +10:00
6873f47ede
Cleanup: GCC ignored qualifier warning
2018-09-13 07:42:38 +10:00
3733c52985
Merge branch 'master' into blender2.8
2018-09-06 20:11:18 +02:00