3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 15 Jun 2017 08:17:51 +0000 (10:17 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix compilation error with strict cflags after recent const changes
Sergey Sharybin [Thu, 15 Jun 2017 08:14:56 +0000 (10:14 +0200)]
Fix compilation error with strict cflags after recent const changes

3 years agoFurther improvements of text editor for POV-Ray
Bastien Montagne [Thu, 15 Jun 2017 07:34:38 +0000 (09:34 +0200)]
Further improvements of text editor for POV-Ray

*tryed "#" as preprocessor used in POV-Ray for language keywords best behaviour was to have it as a punctuation symbol
*moved "finish" to its proper category
*changed order of some POV-Ray ini files keywords to have them work better
*added a few keywords from latest pov version
*Fixed C-style closing of multiline comments (*/)

Reviewers: campbellbarton, mont29

Reviewed By: campbellbarton, mont29

Subscribers: mont29

Differential Revision:

3 years agoPyAPI: Add toctree link on parent page of submodule
Aaron Carlisle [Thu, 15 Jun 2017 05:41:28 +0000 (01:41 -0400)]
PyAPI: Add toctree link on parent page of submodule

3 years agoPyAPI: Proper Solution to
Aaron Carlisle [Thu, 15 Jun 2017 04:54:41 +0000 (00:54 -0400)]
PyAPI: Proper Solution to

3 years agoProbes: Modify Add Menu and change defaults.
Clément Foucault [Wed, 14 Jun 2017 22:53:11 +0000 (00:53 +0200)]
Probes: Modify Add Menu and change defaults.

3 years agoProbe: Fix display of the Influence of grid probes.
Clément Foucault [Wed, 14 Jun 2017 22:23:37 +0000 (00:23 +0200)]
Probe: Fix display of the Influence of grid probes.

3 years agoEevee: Fix grid probe updating when updating cube probe.
Clément Foucault [Wed, 14 Jun 2017 22:23:00 +0000 (00:23 +0200)]
Eevee: Fix grid probe updating when updating cube probe.

3 years agoEevee: Probes: Add data display for cubemaps.
Clément Foucault [Wed, 14 Jun 2017 22:10:34 +0000 (00:10 +0200)]
Eevee: Probes: Add data display for cubemaps.

3 years agoEevee: Group octahedron map functions into one file.
Clément Foucault [Wed, 14 Jun 2017 22:09:49 +0000 (00:09 +0200)]
Eevee: Group octahedron map functions into one file.

3 years agoEevee: Some probe update changes.
Clément Foucault [Wed, 14 Jun 2017 20:46:48 +0000 (22:46 +0200)]
Eevee: Some probe update changes.

Dont render grids if cubemap count changes (because it does not depends on).
Recalc lighting if probe type change.

3 years agoEevee: Probes: Change falloff of irradiance grid.
Clément Foucault [Wed, 14 Jun 2017 20:45:20 +0000 (22:45 +0200)]
Eevee: Probes: Change falloff of irradiance grid.

3 years agoProbe: fix clip distances showing only for one probe.
Clément Foucault [Wed, 14 Jun 2017 17:35:31 +0000 (19:35 +0200)]
Probe: fix clip distances showing only for one probe.

3 years agoEevee: Irradiance grid: support for non-blocking update and multiple bounces.
Clément Foucault [Wed, 14 Jun 2017 16:52:53 +0000 (18:52 +0200)]
Eevee: Irradiance grid: support for non-blocking update and multiple bounces.

3 years agoEevee: Add Grid debug display.
Clément Foucault [Wed, 14 Jun 2017 11:45:54 +0000 (13:45 +0200)]
Eevee: Add Grid debug display.

3 years agoEevee: Fix probe diffuse computation.
Clément Foucault [Wed, 14 Jun 2017 11:44:07 +0000 (13:44 +0200)]
Eevee: Fix probe diffuse computation.

3 years agoEevee: Split irradiance functions to their own new file.
Clément Foucault [Wed, 14 Jun 2017 09:09:13 +0000 (11:09 +0200)]
Eevee: Split irradiance functions to their own new file.

3 years agoProbe: Fix probe panel
Clément Foucault [Wed, 14 Jun 2017 08:36:33 +0000 (10:36 +0200)]
Probe: Fix probe panel

3 years agoEevee: Disable specular when rendering probes.
Clément Foucault [Wed, 14 Jun 2017 08:35:28 +0000 (10:35 +0200)]
Eevee: Disable specular when rendering probes.

This prevents weird reflections and really strong indirect lighting.

3 years agoProbe: fix grid default resolution.
Clément Foucault [Tue, 13 Jun 2017 15:40:10 +0000 (17:40 +0200)]
Probe: fix grid default resolution.

3 years agoEevee: Add Irradiance Grid support
Clément Foucault [Tue, 13 Jun 2017 15:39:39 +0000 (17:39 +0200)]
Eevee: Add Irradiance Grid support

Early implementation. Slow and still has quality
3 ways of storing irradiance:
- Spherical Harmonics: Have problem with directionnal lighting.
- HL2 diffuse cube: Very low resolution but smooth transitions.
- Diffuse cube: High storage requirement.

Also include some name change.

3 years agoProbe: Add grid probe parameters.
Clément Foucault [Tue, 13 Jun 2017 13:56:04 +0000 (15:56 +0200)]
Probe: Add grid probe parameters.

3 years agoPYAPI: Fix mathutils doc structure
Aaron Carlisle [Wed, 14 Jun 2017 20:46:49 +0000 (16:46 -0400)]
PYAPI: Fix mathutils doc structure

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 14 Jun 2017 20:39:33 +0000 (22:39 +0200)]
Merge branch 'master' into blender2.8

3 years agoMake whole ID copying code use const source pointer.
Bastien Montagne [Wed, 14 Jun 2017 20:36:30 +0000 (22:36 +0200)]
Make whole ID copying code use const source pointer.

Noisy change, but safe, and better do it sooner than later if we are to
rework copying code. Also, previous commit shows this *is* useful to
catch some mistakes.

3 years agoFix three obvious mistakes in brush/mask/cachefile ID copying.
Bastien Montagne [Wed, 14 Jun 2017 20:33:04 +0000 (22:33 +0200)]
Fix three obvious mistakes in brush/mask/cachefile ID copying.

They were modifying some source ID prop, instead of copied version of
it... Found while making all source of ID copying const. ;)

3 years agoPYAPI: fix documention structure of
Aaron Carlisle [Wed, 14 Jun 2017 20:19:05 +0000 (16:19 -0400)]
PYAPI: fix documention structure of

3 years agoFix missing toctree for bmesh submodules
Aaron Carlisle [Wed, 14 Jun 2017 19:22:26 +0000 (15:22 -0400)]
Fix missing toctree for bmesh submodules

3 years agoPYAPI: Fix freestyle submodules without tocrees
Aaron Carlisle [Wed, 14 Jun 2017 18:41:07 +0000 (14:41 -0400)]
PYAPI: Fix freestyle submodules without tocrees

Fixes 6 compile warnings
Follow up on rBf87ca5f1c314f67353b6111d3647aef159dc07c6

3 years agoAdd an option to free scene without doing id-counters
Sergey Sharybin [Wed, 14 Jun 2017 14:56:21 +0000 (16:56 +0200)]
Add an option to free scene without doing id-counters

This is similar to some other datablocks. Mainly applies to collections,
so freeing scene does not involve changing any non-directly owned data.

There are two main usecases foreseen for the future:

- Less CPU ticks on bmain free, where everything is freed anyway and
  there is no need to preserve id counters.

- Easier freeing of temporary data, including data which is used by
  depsgraph's copy-on-write mechanism.

Neither of those are currently implemented, but will be shortly.

3 years agoImplement hair in eevee
Luca Rood [Wed, 14 Jun 2017 10:39:57 +0000 (12:39 +0200)]
Implement hair in eevee

New implementation of hair for Eevee.

Note: A hard coded "transmission" property is being used. This should
eventually be exposed to the UI, possibly in the form of SSS

3 years agoTemporarily disable material preview (T51796 workaround)
Luca Rood [Wed, 14 Jun 2017 10:29:32 +0000 (12:29 +0200)]
Temporarily disable material preview (T51796 workaround)

This stops the memory breakage caused by the material preview jobs,
to enable the new hair drawing implementation.

(This should be reverted once T51796 is actually fixed!)

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 10:02:58 +0000 (12:02 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Cleanup, indentation
Sergey Sharybin [Wed, 14 Jun 2017 10:01:52 +0000 (12:01 +0200)]
Depsgraph: Cleanup, indentation

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 09:17:13 +0000 (11:17 +0200)]
Merge branch 'master' into blender2.8

3 years agoRemove unused bmain argument from BKE_libblock_free_data
Sergey Sharybin [Wed, 14 Jun 2017 09:16:34 +0000 (11:16 +0200)]
Remove unused bmain argument from BKE_libblock_free_data

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:54:58 +0000 (10:54 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: Indentation got broken in previous commit
Sergey Sharybin [Wed, 14 Jun 2017 08:54:30 +0000 (10:54 +0200)]
Cleanup: Indentation got broken in previous commit

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:48:20 +0000 (10:48 +0200)]
Merge branch 'master' into blender2.8

3 years agoAdd utility function to free memory used by a datablock
Sergey Sharybin [Wed, 14 Jun 2017 08:45:20 +0000 (10:45 +0200)]
Add utility function to free memory used by a datablock

This function is similar to BKE_libblock_free but does no DEG
tagging or any extra things, just operates on memory.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 14 Jun 2017 08:11:18 +0000 (10:11 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove unused ID node removal
Sergey Sharybin [Wed, 14 Jun 2017 08:10:39 +0000 (10:10 +0200)]
Depsgraph: Remove unused ID node removal

3 years agoCycles: Fix typo in comment
Sergey Sharybin [Wed, 14 Jun 2017 07:54:07 +0000 (09:54 +0200)]
Cycles: Fix typo in comment

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 14 Jun 2017 07:17:00 +0000 (17:17 +1000)]
Merge branch 'master' into blender2.8

3 years agoFix buffer read error w/ 2 pass select queries
Campbell Barton [Wed, 14 Jun 2017 07:03:49 +0000 (17:03 +1000)]
Fix buffer read error w/ 2 pass select queries

Also don't do second pass when the first has no hits.

3 years agoFix possible heap use-after-free in workspace lib-linking
Julian Eisel [Tue, 13 Jun 2017 22:09:37 +0000 (00:09 +0200)]
Fix possible heap use-after-free in workspace lib-linking

Caused by one of the recent commits during workspace review.

3 years agoFix compiling blenderplayer (tm)
Julian Eisel [Tue, 13 Jun 2017 21:40:31 +0000 (23:40 +0200)]
Fix compiling blenderplayer (tm)

3 years agoFix T51794: Crash on hair file when opening with no UI
Julian Eisel [Tue, 13 Jun 2017 21:37:37 +0000 (23:37 +0200)]
Fix T51794: Crash on hair file when opening with no UI

Just a workaround for now.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 15:45:36 +0000 (17:45 +0200)]
Merge branch 'master' into blender2.8

3 years agoAdd utility function to get size of given ID type
Sergey Sharybin [Tue, 13 Jun 2017 15:42:31 +0000 (17:42 +0200)]
Add utility function to get size of given ID type

Optionally it'll also give name used for memory allocation.

3 years agoBetter Fix for T51777: Separating objects by selected vertices
Dalai Felinto [Tue, 13 Jun 2017 14:15:43 +0000 (16:15 +0200)]
Better Fix for T51777: Separating objects by selected vertices

This reverts commit 47b9d0d040300fcd56db20a8a898166d47520bcc. And
implement a fix that doesn't require Depsgraph refresh.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 13:11:58 +0000 (15:11 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Pass function bindings by const reference
Sergey Sharybin [Tue, 13 Jun 2017 13:10:29 +0000 (15:10 +0200)]
Depsgraph: Pass function bindings by const reference

Avoids using copy-constructor invoked every time we pass function
to the builder functions.

Should lower number of CPU ticks spent during DEG construction.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 13 Jun 2017 12:16:43 +0000 (14:16 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove root node concept
Sergey Sharybin [Tue, 13 Jun 2017 12:12:54 +0000 (14:12 +0200)]
Depsgraph: Remove root node concept

Was rather weird and only used for time source. It is simpler to make depsgraph
to keep track of time source directly.

No need to introduce extra entitites without actual need.

3 years agoFix T51791: Point Density doesn't work on GPU
Hristo Gueorguiev [Tue, 13 Jun 2017 11:50:27 +0000 (13:50 +0200)]
Fix T51791: Point Density doesn't work on GPU

3 years agoDraw manager: Fix initialization of static struct
Sergey Sharybin [Tue, 13 Jun 2017 10:20:20 +0000 (12:20 +0200)]
Draw manager: Fix initialization of static struct

It's first member is a multi-dimensional array, so proper way to initialize that
is to use multiple levels of braces.

3 years agoDraw manager: Don't check matrix to be non-NULL
Sergey Sharybin [Tue, 13 Jun 2017 10:16:39 +0000 (12:16 +0200)]
Draw manager: Don't check matrix to be non-NULL

It isn't a pointer, so the check was confusing and totally redundant.

3 years agoWoarkspace: Remove residue of hidden type
Sergey Sharybin [Tue, 13 Jun 2017 10:02:08 +0000 (12:02 +0200)]
Woarkspace: Remove residue of hidden type

There is no reason to be special for workspace and go against other design
decision in Blender. If something like this is going to become a common
practice in Blender it should be well thought and well tested, including
tests of all supported compilers and configurations.

This feature was relying on type re-definition, which is not only confusing
but also available in C11 only.

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Tue, 13 Jun 2017 08:28:38 +0000 (10:28 +0200)]
Cycles: Cleanup, indentation

3 years agoCycles: Fix compilation error of OpenCL mega kernel
Sergey Sharybin [Tue, 13 Jun 2017 08:25:46 +0000 (10:25 +0200)]
Cycles: Fix compilation error of OpenCL mega kernel

Was some mismatch in address space. Seems to be caused by recent additions.

Additionally, moved decoupled ray marching functions under ifdef, so they
don't try to use malloc() functions.

Thanks Mai for testing the patch!

3 years agoCMake: add missing includes
Campbell Barton [Tue, 13 Jun 2017 04:50:47 +0000 (14:50 +1000)]
CMake: add missing includes

3 years agoFix T51777: Separating objects by selected vertices in Eevee causes crash
Dalai Felinto [Mon, 12 Jun 2017 16:10:37 +0000 (18:10 +0200)]
Fix T51777: Separating objects by selected vertices in Eevee causes crash

I considered just copying the evaluated data from the LayerCollection.
However we need to run the evaluation so Depsgraph can handle overrides.

I will double-check with Sergey Sharybin.

3 years agoRenaming: *_Iterator_begin/next > *_iterator_begin/next
Dalai Felinto [Mon, 12 Jun 2017 16:19:23 +0000 (18:19 +0200)]
Renaming: *_Iterator_begin/next > *_iterator_begin/next

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 12 Jun 2017 14:55:57 +0000 (16:55 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Remove residue from partial updates support
Sergey Sharybin [Mon, 12 Jun 2017 14:55:04 +0000 (16:55 +0200)]
Depsgraph: Remove residue from partial updates support

3 years agoDraw Manager: Fix memory issues when copying scene
Dalai Felinto [Mon, 12 Jun 2017 14:12:33 +0000 (16:12 +0200)]
Draw Manager: Fix memory issues when copying scene

3 years agoDepsgraph: Traversing should be consistent for nodes and relationship
Dalai Felinto [Mon, 12 Jun 2017 14:06:24 +0000 (16:06 +0200)]
Depsgraph: Traversing should be consistent for nodes and relationship

We need to traverse the same exact objects for both nodes and relationship
builder. We were using FOREACH_SCENE_OBJECT for relationships, which
would lead to plenty of warnings in multiple situations.

In the future we will need to change this to build the depsgraph
relations and nodes to one single render_layer.

Fix T51780: If an object is in two collections and I do a full copy of
scene things go bad

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 12 Jun 2017 13:09:33 +0000 (15:09 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Use depsgraph from handle rather than from scene
Sergey Sharybin [Mon, 12 Jun 2017 12:45:43 +0000 (14:45 +0200)]
Depsgraph: Use depsgraph from handle rather than from scene

This way the code is more decoupled from the way where depsgraph is stored.

3 years agoDepsgraph: Add utility function to get depsgraph from node handle
Sergey Sharybin [Mon, 12 Jun 2017 12:41:46 +0000 (14:41 +0200)]
Depsgraph: Add utility function to get depsgraph from node handle

The idea is to use this function for modifiers' updateDepsgraph functions
instead of doing direct scene->depsgraph access.

3 years agoDepsgraph: Remove outdated comment
Sergey Sharybin [Mon, 12 Jun 2017 12:25:05 +0000 (14:25 +0200)]
Depsgraph: Remove outdated comment

3 years agoRename probe to light-probe
Campbell Barton [Mon, 12 Jun 2017 10:59:54 +0000 (20:59 +1000)]
Rename probe to light-probe

Probe is a real general term, the new name is used often in docs online.

3 years agoFix crash drawing non-mesh geometry
Campbell Barton [Mon, 12 Jun 2017 04:43:19 +0000 (14:43 +1000)]
Fix crash drawing non-mesh geometry

3 years agoCleanup: indentation, long lines
Campbell Barton [Mon, 12 Jun 2017 03:35:00 +0000 (13:35 +1000)]
Cleanup: indentation, long lines

3 years agoFix T51737: Material properties error
Campbell Barton [Mon, 12 Jun 2017 02:55:47 +0000 (12:55 +1000)]
Fix T51737: Material properties error

D2706 by @knox

3 years agoCorrect gtest EXPECT use
Campbell Barton [Mon, 12 Jun 2017 00:25:18 +0000 (10:25 +1000)]
Correct gtest EXPECT use

3 years agoCycles: adjust supported driver version for AMD GPUs
Hristo Gueorguiev [Sun, 11 Jun 2017 21:04:27 +0000 (23:04 +0200)]
Cycles: adjust supported driver version for AMD GPUs

On Windows 17.Q1 and 17.Q2 return driver version 2236.10.

3 years agoUse two decimal places for UI scale User Preference option
Julian Eisel [Sun, 11 Jun 2017 20:58:14 +0000 (22:58 +0200)]
Use two decimal places for UI scale User Preference option

3 years agoGTest: initial kdopbvh test
Campbell Barton [Sun, 11 Jun 2017 09:07:18 +0000 (19:07 +1000)]
GTest: initial kdopbvh test

Currently only find-nearest, ray-casting needs to be added.

3 years agoBLI_kdopbvh: add ifdef's for debugging info
Campbell Barton [Sun, 11 Jun 2017 08:42:11 +0000 (18:42 +1000)]
BLI_kdopbvh: add ifdef's for debugging info

Allow to quickly enable print & tree verify.

3 years agoCycles Denoising: Add more failsafes for invalid pixels
Lukas Stockner [Sat, 10 Jun 2017 23:44:06 +0000 (01:44 +0200)]
Cycles Denoising: Add more failsafes for invalid pixels

Now, when there is no usable neighboring pixel for denoising, the noisy value
is preserved instead of producing a NaN.
Also, negative results are clamped to zero.

Note that there are just workarounds that don't fix the underlying problems,
but these issues are very rare and I'm not sure if it's even possible to fix
the underlying problems without introducing a significant slowdown or quality
decrease in other situations.
Because of that and since 2.79 is happening very soon, I just went for these
workarounds for now.

3 years agoUI: Replace placeholder icons in object-add menu
Julian Eisel [Sat, 10 Jun 2017 14:41:58 +0000 (16:41 +0200)]
UI: Replace placeholder icons in object-add menu

Replaces the placeholder 'emtpy' icons of "Force Field" and "Group
Instance" entries in object-add menu with proper new ones.

Icons by @zlsa, thanks a lot!

Maniphest task T51291.

3 years agoDraw Cache: fix probe vbo size
Clément Foucault [Sat, 10 Jun 2017 11:57:39 +0000 (13:57 +0200)]
Draw Cache: fix probe vbo size

3 years agoCycles: Selectively include denoising in kernel
Sergey Sharybin [Fri, 9 Jun 2017 07:11:54 +0000 (03:11 -0400)]
Cycles: Selectively include denoising in kernel

3 years agoCycles: Pass all buffers to each kernel call for OpenCL
Mai Lavelle [Thu, 11 May 2017 23:23:49 +0000 (19:23 -0400)]
Cycles: Pass all buffers to each kernel call for OpenCL

Technically not passing all buffers used by a kernel is undefined
behavior. We haven't had any issues with this so far on AMD or
Nvidia, but it's known to be a problem with Intel and we received
a report from AMD that this is a problem on newer hardware, so we
need to make this change at some point.

Unfortunately there a cost to being correct, about 5% for the
benchmark scenes. For low sample counts it's even worse, I've
seen up to 50% slowdown. For the latter case I think adjusting
tile updating logic can help, but not sure what that would look
like yet (it would be just a few lines change however).

3 years agoCycles: Faster split branched path tracing by sharing samples with inactive threads
Mai Lavelle [Tue, 30 May 2017 01:35:27 +0000 (21:35 -0400)]
Cycles: Faster split branched path tracing by sharing samples with inactive threads

Unlike regular path tracing, branched path tracing is usually used with lower
sample counts, at least for primary rays. This means that are less samples for
the GPU to work on in parallel and rendering is slower. As there is less work
overall there is also more inactive threads during rendering with BPT. This
patch makes use of those inactive rays to render branched samples in parallel
with other samples.

Each thread that is preparing for a branched sample will attempt to find an
inactive thread and if one is found the state for the sample is copied to that
thread. Potentially, if there are enough inactive threads, 100s of branched
samples could be generated from the same originating thread and ran in
parallel giving large speed ups.

Gives 70% faster render for pavillion midday scene. 20-60% faster on BMW
with car paint replaced with SSS/volumes.

3 years agoCycles: Modify path_radiance_accum_sample to use atomics for split kernel
Mai Lavelle [Tue, 30 May 2017 01:34:05 +0000 (21:34 -0400)]
Cycles: Modify path_radiance_accum_sample to use atomics for split kernel

Samples ran in parallel need a safe way to accumulate their results
with the results of other threads.

3 years agoCycles: Add function to dequeue a ray
Mai Lavelle [Tue, 30 May 2017 01:33:27 +0000 (21:33 -0400)]
Cycles: Add function to dequeue a ray

3 years agoCycles: Add atomic decrement functions to util_atomic.h
Mai Lavelle [Tue, 30 May 2017 01:28:21 +0000 (21:28 -0400)]
Cycles: Add atomic decrement functions to util_atomic.h

3 years agoCycles: Add kernel to enqueue inactive rays
Mai Lavelle [Tue, 30 May 2017 00:40:26 +0000 (20:40 -0400)]
Cycles: Add kernel to enqueue inactive rays

The queue will be used to make reuse of inactive threads to keep
the GPU more busy.

3 years agoCycles: Blacklist unsupported OpenCL devices
Hristo Gueorguiev [Thu, 8 Jun 2017 09:08:52 +0000 (05:08 -0400)]
Cycles: Blacklist unsupported OpenCL devices

Due to various driver issues with AMD GCN 1 cards we can no longer support
these GPUs. This patch makes them unavailable to select for Cycles rendering.

GCN cards 2 and higher are still supported. Please use the most recent
drivers available to ensure proper functionality.

See here for a list to check which GPUs are supported:

3 years agoRename node_widgets -> node_manipulators
Campbell Barton [Sat, 10 Jun 2017 00:55:54 +0000 (10:55 +1000)]
Rename node_widgets -> node_manipulators

3 years agoMissed last commit
Campbell Barton [Sat, 10 Jun 2017 00:56:42 +0000 (10:56 +1000)]
Missed last commit

3 years agoManipulator Update/Refactor
Campbell Barton [Sat, 10 Jun 2017 00:42:35 +0000 (10:42 +1000)]
Manipulator Update/Refactor

Sync with custom-manipulators branch

- Use identifiers for properties.
- Property array index access.
- Remove operator from manipulators
  (wasn't used and will likely add in a different way).

3 years agoProbe: Small UI improvments
Clément Foucault [Fri, 9 Jun 2017 22:36:33 +0000 (00:36 +0200)]
Probe: Small UI improvments

-Better falloff default.
-Add clip distance visualisation.
-Reformat UI and add a display panel.

3 years agoEevee:Uuse compressed format for probes.
Clément Foucault [Fri, 9 Jun 2017 21:51:48 +0000 (23:51 +0200)]
Eevee:Uuse compressed format for probes.

One 1024px² octahedral probe (according to the GPU mem stats):
- RGBA16F = 17Mb
- RGB_11_11_10 = 4Mb
For the time being I prefer to maximize the number of probe possible in the scene for users to test.
This is obviously a temporary solution and the final choice of cubemap format should be exposed to the user.

3 years agoEevee: Probe: fix roughness bug and optimize probe evaluation.
Clément Foucault [Fri, 9 Jun 2017 21:24:51 +0000 (23:24 +0200)]
Eevee: Probe: fix roughness bug and optimize probe evaluation.

3 years agoProbe: Add object mode volume visualisation
Clément Foucault [Fri, 9 Jun 2017 21:21:55 +0000 (23:21 +0200)]
Probe: Add object mode volume visualisation

3 years agoProbe: Remove Bounding Box parameter.
Clément Foucault [Fri, 9 Jun 2017 21:21:23 +0000 (23:21 +0200)]
Probe: Remove Bounding Box parameter.

After using it for like 30 sec, the min max bound box is absolutely not practical. Reverting into using a unit cube with object transform.
This also simplify the code.
In the future of center probes will be implemented using another object matrix (via an object pointer).