2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 30 Sep 2017 01:00:29 +0000 (11:00 +1000)]
Merge branch 'master' into blender2.8

2 years agoVertex Paint minor improvement w/ smear
Campbell Barton [Fri, 29 Sep 2017 16:58:37 +0000 (02:58 +1000)]
Vertex Paint minor improvement w/ smear

Note that this tool seems like it might need to be rewritten
since results are quite strange.

Projecting on the view vector gives a small improvement though.

2 years agoFix vertex paint smear tool
Campbell Barton [Fri, 29 Sep 2017 16:56:31 +0000 (02:56 +1000)]
Fix vertex paint smear tool

Checking surrounding verts wasn't working properly.

2 years agoWeight Paint: accumulate support
Campbell Barton [Fri, 29 Sep 2017 15:36:41 +0000 (01:36 +1000)]
Weight Paint: accumulate support

- Clamp accumulate so it doesn't exceed brush strength.
- Was multiplying by brush strength twice.

2 years agoCleanup: de-duplicate copied code w/ vertex paint
Campbell Barton [Fri, 29 Sep 2017 12:47:08 +0000 (22:47 +1000)]
Cleanup: de-duplicate copied code w/ vertex paint

2 years agoFix T52943: don't export curves objects with no faces to Cycles.
Brecht Van Lommel [Fri, 29 Sep 2017 01:56:14 +0000 (03:56 +0200)]
Fix T52943: don't export curves objects with no faces to Cycles.

Also skip any objects with zero ray visibility and meshes with
zero faces.

2 years agoFix Cycles OpenCL compiler error after recent changes.
Brecht Van Lommel [Fri, 29 Sep 2017 12:51:35 +0000 (14:51 +0200)]
Fix Cycles OpenCL compiler error after recent changes.

2 years agoCleanup: split out tools & utils from vertex paint
Campbell Barton [Fri, 29 Sep 2017 10:03:58 +0000 (20:03 +1000)]
Cleanup: split out tools & utils from vertex paint

paint_vertex.c was getting too big, move all code unrelated to
mode switching and modal painting into their own files.

Also replace vertex-color operators region redraw tag /w notifiers.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 29 Sep 2017 09:55:00 +0000 (19:55 +1000)]
Merge branch 'master' into blender2.8

2 years agoDrop platform support for Solaris & AIX
Campbell Barton [Fri, 29 Sep 2017 09:10:08 +0000 (19:10 +1000)]
Drop platform support for Solaris & AIX

These platforms didn't see maintenance in years.
This commit just removes ifdef's & cmake check.

2 years agoGNUmakefile: add back 'git pull'
Campbell Barton [Fri, 29 Sep 2017 09:02:20 +0000 (19:02 +1000)]
GNUmakefile: add back 'git pull'

Seems this was removed by accident.

2 years agoCollada: export vertex-color alpha
Campbell Barton [Fri, 29 Sep 2017 08:12:14 +0000 (18:12 +1000)]
Collada: export vertex-color alpha

2 years agoRNA: expose mesh vertex alpha
Campbell Barton [Fri, 29 Sep 2017 08:10:25 +0000 (18:10 +1000)]
RNA: expose mesh vertex alpha

Note that some import/export scripts will need updating

2 years agoVertex Paint: Alpha Support
Campbell Barton [Fri, 29 Sep 2017 07:10:15 +0000 (17:10 +1000)]
Vertex Paint: Alpha Support

GSOC 2017 by Darshan Kadu, see: D2859.

This is a partial merge of some of the features from
the soc-2017-vertex_paint branch.

- Alpha painting & drawing.
- 10 new color blending modes.
- Support for vertex select in vertex paint mode.

2 years agoCode cleanup: remove unnecessary buildbot code after macOS library upgrade.
Brecht Van Lommel [Thu, 28 Sep 2017 21:21:27 +0000 (23:21 +0200)]
Code cleanup: remove unnecessary buildbot code after macOS library upgrade.

2 years agoEevee: Probe Grid: Clear Grid buffers with world diffuse coefs.
Clément Foucault [Thu, 28 Sep 2017 19:17:57 +0000 (21:17 +0200)]
Eevee: Probe Grid: Clear Grid buffers with world diffuse coefs.

This make sure the values displayed by the "show data" sphere are initialized.

Also this make the bounce lighting progress more apparent.

2 years agoEevee: Probe Grid: Add "progressive rendering"
Clément Foucault [Thu, 28 Sep 2017 19:16:02 +0000 (21:16 +0200)]
Eevee: Probe Grid: Add "progressive rendering"

This gives the user a more rapid preview of what the final result will be.

The grid cells are renderer in a series of powers of two offsets.

2 years agomacOS: officially upgrade to 10.9 libraries from lib/darwin.
Brecht Van Lommel [Thu, 28 Sep 2017 18:52:22 +0000 (20:52 +0200)]
macOS: officially upgrade to 10.9 libraries from lib/darwin.

This removes a bunch of code that is no longer needed, and running
"make update" will now automatically download the new libraries.

Differential Revision:

2 years agoFix T52574: make Cycles rendered tile counter more clear.
Kim Christensen [Wed, 27 Sep 2017 23:59:11 +0000 (01:59 +0200)]
Fix T52574: make Cycles rendered tile counter more clear.

Differential Revision:

2 years agoCycles: reduce subsurface stack memory usage.
Brecht Van Lommel [Wed, 23 Aug 2017 01:57:27 +0000 (03:57 +0200)]
Cycles: reduce subsurface stack memory usage.

This is done by storing only a subset of PathRadiance, and by storing
direct light immediately in the main PathRadiance. Saves about 10% of
CUDA stack memory, and simplifies subsurface indirect ray code.

2 years agoFix T52086: Graph editor "normalize" drag errors for integers
Sergey Sharybin [Thu, 28 Sep 2017 12:08:43 +0000 (17:08 +0500)]
Fix T52086: Graph editor "normalize" drag errors for integers

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 28 Sep 2017 11:19:23 +0000 (16:19 +0500)]
Merge branch 'master' into blender2.8

2 years agoFix T52932: Driver with target of custom property from scene fails to update
Sergey Sharybin [Thu, 28 Sep 2017 11:13:28 +0000 (16:13 +0500)]
Fix T52932: Driver with target of custom property from scene fails to update

Note that this is only supported in new depsgraph.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 28 Sep 2017 11:13:09 +0000 (16:13 +0500)]
Merge branch 'master' into blender2.8

2 years agoCurves: Fix wrong bitset being checked against CYCLIC bit flag
Sergey Sharybin [Thu, 28 Sep 2017 09:33:59 +0000 (14:33 +0500)]
Curves: Fix wrong bitset being checked against CYCLIC bit flag

Based on report from Talos Security Advisory.

2 years agoCMake: move MSVC warnings to central location
Campbell Barton [Thu, 28 Sep 2017 02:59:28 +0000 (12:59 +1000)]
CMake: move MSVC warnings to central location

2 years agoCleanup: switch fall-through warning
Campbell Barton [Thu, 28 Sep 2017 03:39:32 +0000 (13:39 +1000)]
Cleanup: switch fall-through warning

2 years agoAdding paint brushes crashes w/ linked libs
Campbell Barton [Thu, 28 Sep 2017 03:33:09 +0000 (13:33 +1000)]
Adding paint brushes crashes w/ linked libs

While we could skip this for linked files,
convention so far is to only update startup.

2 years agoMissed in last merge from master
Campbell Barton [Wed, 27 Sep 2017 21:30:05 +0000 (07:30 +1000)]
Missed in last merge from master

Local changes built, but merge-commit needed amending.

2 years agoEevee : TAA : Fix conflict with outlines.
Clément Foucault [Wed, 27 Sep 2017 18:37:23 +0000 (20:37 +0200)]
Eevee : TAA : Fix conflict with outlines.

The previous view was incorrectly considered valid even if the persp matrix was different. So the history depth was mismatching.

2 years agoObject Mode Engine: Small cleanup
Clément Foucault [Wed, 27 Sep 2017 14:51:05 +0000 (16:51 +0200)]
Object Mode Engine: Small cleanup

2 years agoEevee : TAA : Change post process chain to allow more flexibility
Clément Foucault [Wed, 27 Sep 2017 14:21:32 +0000 (16:21 +0200)]
Eevee : TAA : Change post process chain to allow more flexibility

This basically do not use hardware blending and do the blending in the shader.
This will allow neighborhood clamping if we ever implement that.

2 years agoEevee: Use fmod instead of floor.
Clément Foucault [Wed, 27 Sep 2017 13:35:58 +0000 (15:35 +0200)]
Eevee: Use fmod instead of floor.

2 years agobgl module: extend `gl_buffer_type_from_py_format_char` function to work with more...
Germano [Wed, 27 Sep 2017 19:07:06 +0000 (16:07 -0300)]
bgl module: extend `gl_buffer_type_from_py_format_char` function to work with more string formats

Only basic types of character codes were being used

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 27 Sep 2017 17:05:46 +0000 (03:05 +1000)]
Merge branch 'master' into blender2.8

2 years ago[build_deps.cmd] Turn down logging verbosity to normal.
Ray Molenkamp [Wed, 27 Sep 2017 16:54:27 +0000 (10:54 -0600)]
[build_deps.cmd] Turn down logging verbosity to normal.

2 years ago[msvc] treat C4133 as error instead of a warning to mimic gcc's -Werror=incompatible...
Ray Molenkamp [Wed, 27 Sep 2017 16:11:00 +0000 (10:11 -0600)]
[msvc] treat C4133 as error instead of a warning to mimic gcc's -Werror=incompatible-pointer-types

as requested by @campbellbarton and @mano-wii

2 years agoCleanup: warning
Campbell Barton [Wed, 27 Sep 2017 16:04:58 +0000 (02:04 +1000)]
Cleanup: warning

2 years ago--debug-gpu-shader: Dump GLSL shaders to disk
Dalai Felinto [Wed, 27 Sep 2017 16:03:00 +0000 (18:03 +0200)]
--debug-gpu-shader: Dump GLSL shaders to disk

This is really convenient for development. Either for profiling the
generated shaders or to check if the generated code is correct.

It writes the shaders to the temporary blender session folder.

2 years agoVertex/Weight Paint: Use PBVH for painting
Campbell Barton [Wed, 27 Sep 2017 15:38:17 +0000 (01:38 +1000)]
Vertex/Weight Paint: Use PBVH for painting

2016 GSOC project by @nathanvollmer, see D2150

- Mirrored painting and radial symmetry, like in sculpt mode.
- Volume based splash prevention,
  which avoids painting vertices far away from the 3D brush location.
- Normal based splash prevention,
  which avoids painting vertices with normals opposite the normal
  at the 3D brush location.
- Blur mode now uses a nearest neighbor average.
- Average mode, which averages the color/weight
  of the vertices within the brush
- Smudge mode, which pulls the colors/weights
  along the direction of the brush
- RGB^2 color blending, which gives a more accurate
  blend between two colors
- multithreading support. (PBVH leaves are painted in parallel.)
- Foreground/background color picker in vertex paint

2 years agobgl module: Interpret a buffer as a bgl.Buffer
Germano [Wed, 27 Sep 2017 14:20:00 +0000 (11:20 -0300)]
bgl module: Interpret a buffer as a bgl.Buffer

Differential Revision:

2 years agoCode refactor: simplify CUDA context push/pop.
Brecht Van Lommel [Sat, 23 Sep 2017 22:18:28 +0000 (00:18 +0200)]
Code refactor: simplify CUDA context push/pop.

Makes it possible to call a function like mem_alloc() when the context is
already active. Also fixes some missing pops in case of errors.

2 years agoD2830 - 2.8: Fix crash when creating new action
Joshua Leung [Wed, 27 Sep 2017 01:16:07 +0000 (14:16 +1300)]
D2830 - 2.8: Fix crash when creating new action

Patch by: Marcelo Mutzbauer (1xundoredo)

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 27 Sep 2017 01:18:23 +0000 (11:18 +1000)]
Merge branch 'master' into blender2.8

2 years agoMath Lib: Add non-clamped round_* functions
Campbell Barton [Wed, 27 Sep 2017 01:13:03 +0000 (11:13 +1000)]
Math Lib: Add non-clamped round_* functions

Replace iroundf with round_fl_to_int, add other types

2 years agoEevee: Fix bug with cubemap shadows.
Clément Foucault [Tue, 26 Sep 2017 20:30:48 +0000 (22:30 +0200)]
Eevee: Fix bug with cubemap shadows.

2 years agoEevee: Fix broken World probe.
Clément Foucault [Tue, 26 Sep 2017 19:43:14 +0000 (21:43 +0200)]
Eevee: Fix broken World probe.

2 years agoEevee: TAA: Remove 32 sample limit.
Clément Foucault [Tue, 26 Sep 2017 19:39:25 +0000 (21:39 +0200)]
Eevee: TAA: Remove 32 sample limit.

2 years agoBLI_rand : Make use of BLI_halton and BLI_hammersley
Clément Foucault [Tue, 26 Sep 2017 19:38:23 +0000 (21:38 +0200)]
BLI_rand : Make use of BLI_halton and BLI_hammersley

2 years agoBLI_rand : Add new low-discrepency sequences generator
Clément Foucault [Tue, 26 Sep 2017 18:54:27 +0000 (20:54 +0200)]
BLI_rand : Add new low-discrepency sequences generator

2 years agoEevee : Fix regression : Refraction not working
Clément Foucault [Tue, 26 Sep 2017 14:47:53 +0000 (16:47 +0200)]
Eevee : Fix regression : Refraction not working

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 26 Sep 2017 14:24:10 +0000 (00:24 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: indentation
Campbell Barton [Tue, 26 Sep 2017 14:17:28 +0000 (00:17 +1000)]
Cleanup: indentation

2 years agoCleanup: indentation
Campbell Barton [Tue, 26 Sep 2017 14:05:06 +0000 (00:05 +1000)]
Cleanup: indentation

2 years agoTransform: add manipulator aligned bounds
Campbell Barton [Tue, 26 Sep 2017 13:16:20 +0000 (23:16 +1000)]
Transform: add manipulator aligned bounds

ifdef'd out for now

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 26 Sep 2017 12:45:42 +0000 (22:45 +1000)]
Merge branch 'master' into blender2.8

2 years agoCleanup: remove bounds runtime data from scene
Campbell Barton [Tue, 26 Sep 2017 12:27:15 +0000 (22:27 +1000)]
Cleanup: remove bounds runtime data from scene

2 years agoGPUFramebuffer: Enable multisample when binding a Multisample FBO
Clément Foucault [Tue, 26 Sep 2017 12:01:50 +0000 (14:01 +0200)]
GPUFramebuffer: Enable multisample when binding a Multisample FBO

For some reason it was not working on intel but was working on Nvidia.

2 years agoDRW : Fix Compiler Warning
Clément Foucault [Tue, 26 Sep 2017 11:59:31 +0000 (13:59 +0200)]
DRW : Fix Compiler Warning

2 years agoEevee : Fix compilation warning on intel.
Clément Foucault [Tue, 26 Sep 2017 11:58:59 +0000 (13:58 +0200)]
Eevee : Fix compilation warning on intel.

2 years agoGPU_immediate_util: add cube drawing function
Campbell Barton [Tue, 26 Sep 2017 07:51:47 +0000 (17:51 +1000)]
GPU_immediate_util: add cube drawing function

2 years agoCleanup: naming (GPU immediate util)
Campbell Barton [Tue, 26 Sep 2017 05:21:01 +0000 (15:21 +1000)]
Cleanup: naming (GPU immediate util)

2 years agoMissed from merge commit
Campbell Barton [Tue, 26 Sep 2017 04:57:14 +0000 (14:57 +1000)]
Missed from merge commit

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 26 Sep 2017 04:52:21 +0000 (14:52 +1000)]
Merge branch 'master' into blender2.8

2 years agoBeauty fill was skipping small faces
Campbell Barton [Tue, 26 Sep 2017 02:59:23 +0000 (12:59 +1000)]
Beauty fill was skipping small faces

2 years agoFix T52871: beauty fill error
Campbell Barton [Tue, 26 Sep 2017 02:14:46 +0000 (12:14 +1000)]
Fix T52871: beauty fill error

Only lock tri's facing different directions.
Needed because scanfill creates zero area faces.

2 years agoRevert "Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly consid...
Campbell Barton [Mon, 25 Sep 2017 06:54:36 +0000 (16:54 +1000)]
Revert "Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering the state as degenerated"

This reverts commit a8f11f5422afa01608817755eea310e987f896be.

Result is no longer symmetrical, will investigate a different fix.

2 years agoAdd missing header
Campbell Barton [Tue, 26 Sep 2017 02:13:33 +0000 (12:13 +1000)]
Add missing header

2 years agoFix T52901: New Depsgraph - Driver using "self" needs reloading file to work
Joshua Leung [Tue, 26 Sep 2017 00:29:48 +0000 (13:29 +1300)]
Fix T52901: New Depsgraph - Driver using "self" needs reloading file to work

2 years agoFix: When transforming GP strokes in "Local" mode, the strokes would get obscured
Joshua Leung [Mon, 25 Sep 2017 23:56:24 +0000 (12:56 +1300)]
Fix: When transforming GP strokes in "Local" mode, the strokes would get obscured
by the transform constraint lines

Ported over e7395c75d504af2c2f720f43ea27b93e04a378e4 from the
greasepencil-object branch. I should've fixed this ages ago, but
couldn't figure out why at the time.

2 years agodeps libs: fix xiph library support on sndfile on macOS
Arto Kitula [Mon, 25 Sep 2017 23:17:39 +0000 (02:17 +0300)]
deps libs: fix xiph library support on sndfile on macOS

2 years agoEevee: Implement Temporal Anti Aliasing / Super Sampling
Clément Foucault [Mon, 25 Sep 2017 18:14:07 +0000 (20:14 +0200)]
Eevee: Implement Temporal Anti Aliasing / Super Sampling

This adds TAA to eevee. The only thing important to note is that we need to keep the unjittered depth buffer so that the other engines are composited correctly.

2 years agoDRW : Add new view_update mechanism.
Clément Foucault [Mon, 25 Sep 2017 18:07:02 +0000 (20:07 +0200)]
DRW : Add new view_update mechanism.

This makes updates for the viewport cleaner and also add the possibility to add a new callback called when the scene is updated.

2 years agoEevee: Fix SSR in orthographic view.
Clément Foucault [Sat, 23 Sep 2017 23:25:21 +0000 (01:25 +0200)]
Eevee: Fix SSR in orthographic view.

The problem was that orthographic views can have hit position that are negative. Thus we cannot encode the hit in the sign of the Z component.

The workaround is to store the hit position in screenspace. But since we are using floating point render target, we are loosing quite a bit of precision.
TODO: use RGBA16 instead of RGBA16F. But that means encoding the pdf value somehow.

2 years agoDRW : Add AA to non meshes objects.
Clément Foucault [Sat, 23 Sep 2017 18:47:42 +0000 (20:47 +0200)]
DRW : Add AA to non meshes objects.

You can change the amount of samples in the user preferences. You do not need to restart blender to see the effect in the new viewport.

This adds another Multisample Framebuffer and textures (so even more memory required).

It works by blitting the default_fb to the multisample_fb each time the renderer need to render one or more "wire" pass.
It it then blit back to the default_fb so that the rest of pipeline is working as expected.

We COULD lower the GPU memory / bandwidth usage to render everything to the same multisample fbo and change the logic depending on if MSAA is enabled or not, but I think it's a bit too much work for now.

2 years agoGPUTexture : Fix Bind/Unbind function so it works with multisample textures.
Clément Foucault [Sat, 23 Sep 2017 18:34:53 +0000 (20:34 +0200)]
GPUTexture : Fix Bind/Unbind function so it works with multisample textures.

2 years agoGPUFramebuffer: Fix Blit function so that it works with multisample textures.
Clément Foucault [Sat, 23 Sep 2017 18:34:14 +0000 (20:34 +0200)]
GPUFramebuffer: Fix Blit function so that it works with multisample textures.

2 years agoFix compilation error after recent merge
Sergey Sharybin [Mon, 25 Sep 2017 14:02:30 +0000 (19:02 +0500)]
Fix compilation error after recent merge

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 25 Sep 2017 13:56:34 +0000 (18:56 +0500)]
Merge branch 'master' into blender2.8

2 years agoFix T52835: When driven IK influence change, ik animation have 1 frame delay
Sergey Sharybin [Mon, 25 Sep 2017 13:48:38 +0000 (18:48 +0500)]
Fix T52835: When driven IK influence change, ik animation have 1 frame delay

2 years agoFix T52865: Improve wording of error message when saving packed images fails
Joshua Leung [Mon, 25 Sep 2017 12:24:13 +0000 (01:24 +1300)]
Fix T52865: Improve wording of error message when saving packed images fails

Make it clear that the packed file could not be saved back out to disk
at the specified path (e.g. destination directory doesn't exist).

2 years agoOpenVDB: Fix compilation error against OpenVDB 4
Sergey Sharybin [Mon, 25 Sep 2017 09:41:30 +0000 (14:41 +0500)]
OpenVDB: Fix compilation error against OpenVDB 4

One crucial thing here: OpenVDB shoudl be compiled WITHOUT
OPENVDB_ENABLE_3_ABI_COMPATIBLE flag. This is how OpenVDB's Makefile is
configured and it's not really possible to detect this for a compiled library.

If we ever want to support that option, we need to add extra CMake argument and
use old version 3 API everywhere.

2 years agoAdd an 'atomic cas' wrapper for pointers.
Bastien Montagne [Mon, 25 Sep 2017 08:40:50 +0000 (10:40 +0200)]
Add an 'atomic cas' wrapper for pointers.

Avoids having to repeat obfuscating castings everywhere...

2 years agoTweak to fix for thread concurency in looptri generation.
Bastien Montagne [Mon, 25 Sep 2017 07:56:02 +0000 (09:56 +0200)]
Tweak to fix for thread concurency in looptri generation.

Even if pointer assignment may be atomic, it does not prevent reordering
and other nifty compiler tricks, we need a memory barrier to ensure not
only that transferring pointer from wip array to final one is atomic,
but also that all previous writing to memory are “flushed” to
(visible by) all CPUs...

Thanks @sergey for finding the potential (though quite unlikely) issue.

2 years agoCycles: Cleanup, indentation
Sergey Sharybin [Sat, 23 Sep 2017 12:36:04 +0000 (17:36 +0500)]
Cycles: Cleanup, indentation

2 years agoMirror Modifier: option to offset UV's
Campbell Barton [Mon, 25 Sep 2017 04:11:27 +0000 (14:11 +1000)]
Mirror Modifier: option to offset UV's

Useful for baking, so UV's can be moved outside the image
and not used to bake pixels (but still used for display).

D2801 by @Zuorion

2 years agoFix T52890: Crash unlinking sequencer sound
Campbell Barton [Mon, 25 Sep 2017 00:28:17 +0000 (10:28 +1000)]
Fix T52890: Crash unlinking sequencer sound

2 years agoFix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering...
Germano [Sat, 23 Sep 2017 15:59:02 +0000 (12:59 -0300)]
Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering the state as degenerated

2 years agoSplash: Increase contrast of build info text
Julian Eisel [Sat, 23 Sep 2017 13:28:45 +0000 (15:28 +0200)]
Splash: Increase contrast of build info text

Now uses "Text Selected" theme color of "Menu Back" widget colors. Also
repositioned text slightly to have same margin on top and right (measured
by eye ;) ).
Tested with all bundled themes (contrib and no-contrib) and worked fine.

Considering that different splashes may need different colors for
overlaid text, using theme color may not be the best solution. I would
like to try how this works before adding an ugly way to force a certain
text color though.
Also tried different approaches, but this one I find the least ugly :S

As far as longer term plans go, we wanted to get a redesigned multi-page
splash screen anyway. At this point we can rethink how splash colors work
in general (i.e. auto-contrast, own splash theme colors, etc).

2 years agoCycles: Fix compilation error of OpenCL megakernel on Apple
Sergey Sharybin [Sat, 23 Sep 2017 12:07:19 +0000 (17:07 +0500)]
Cycles: Fix compilation error of OpenCL megakernel on Apple

2 years agoCycles: Fix compilation error of megakernel on NVidia device
Sergey Sharybin [Sat, 23 Sep 2017 12:02:38 +0000 (17:02 +0500)]
Cycles: Fix compilation error of megakernel on NVidia device

It is more readable to explicitly compare to NULL anyway.

2 years agoTracking: Followup to previous fix, need to remap frame number for sequence tracking
Sergey Sharybin [Sat, 23 Sep 2017 11:18:27 +0000 (16:18 +0500)]
Tracking: Followup to previous fix, need to remap frame number for sequence tracking

2 years agoTracking: Cleanup, reuse existing variable
Sergey Sharybin [Sat, 23 Sep 2017 11:16:22 +0000 (16:16 +0500)]
Tracking: Cleanup, reuse existing variable

2 years agoFix T52851: Per-frame traking is broken when sequence doesn't start at frame 1
Sergey Sharybin [Sat, 23 Sep 2017 11:13:23 +0000 (16:13 +0500)]
Fix T52851: Per-frame traking is broken when sequence doesn't start at frame 1

2 years agoTracking: Fix crash when tracking failed
Sergey Sharybin [Sat, 23 Sep 2017 11:07:32 +0000 (16:07 +0500)]
Tracking: Fix crash when tracking failed

Was a dangling pointer to a freed memory left behind.

2 years agoRemove remaining qtcodecdata
Aaron Carlisle [Fri, 22 Sep 2017 21:13:46 +0000 (17:13 -0400)]
Remove remaining qtcodecdata

This fixes a mistake in rBefd5e3c25401b43cbd7f909418835bb570db1ab3

2 years agoRemove quicktime support
Aaron Carlisle [Fri, 22 Sep 2017 20:11:24 +0000 (16:11 -0400)]
Remove quicktime support

It has been deprecated since at least macOS 10.9 and fully removed in 10.12.

I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens.

Reviewers: mont29, dfelinto, juicyfruit, brecht

Reviewed By: mont29, brecht

Subscribers: Blendify, brecht

Maniphest Tasks: T52807

Differential Revision:

2 years ago[cmake/deps_builder] update openjpeg to 1.5.2 to match the version in master/extern...
Ray Molenkamp [Fri, 22 Sep 2017 19:57:21 +0000 (13:57 -0600)]
[cmake/deps_builder] update openjpeg to 1.5.2 to match the version in master/extern , add support for openjpeg in oiio. Mark webp as an optional component.

2 years agoFix T52875: - numpy-1.13.1.tar.gz - 404 Not Found.
Bastien Montagne [Fri, 22 Sep 2017 16:56:37 +0000 (18:56 +0200)]
Fix T52875: - numpy-1.13.1.tar.gz - 404 Not Found.

2 years agoObject Mode : Add Outline FXAA
Clément Foucault [Fri, 22 Sep 2017 15:30:39 +0000 (17:30 +0200)]
Object Mode : Add Outline FXAA

Adds a FXAA for smoothing out the extracted outlines.
The Post Process Anti Aliasing is only done on the Alpha channel of the outlines.
Because of that we need to add bleed the outline color out of the silouhette so the AA'd alpha can blend the right color and not pick black when the alpha is smoothed out of the silhouette.

Also because of the AA needs to have clear contrast to work with, I decided to ditch the "bluring" or the occluded outlines.

The FXAA adds an overhead of 0.17ms but we gain back 0.22ms * 4 = 0.88ms by removing the blur.

The FXAA Implementation is from Corey Richardson (cmr) (D2717). I had to modify it a bit to only filter the alpha channel.