Campbell Barton
71c1bd1bd8
Manipulator: cage2d option to grab w/ a center handle
2017-09-13 21:42:13 +10:00
Campbell Barton
77eaf5cd7a
Manipulator: Only allow negative scale w/ flag set
...
In most cases we don't want this by default
2017-09-13 18:20:37 +10:00
Campbell Barton
a5c9f15a0e
Manipulator: use solid regions for select drawing
...
Needed for 3D view selection
2017-09-13 18:06:26 +10:00
Campbell Barton
0bf8d16d1c
Manipulator: cage2d - uniform handle size
2017-09-13 15:46:28 +10:00
Campbell Barton
86c73ea8d7
Manipulator: fix cage2d scaling
2017-09-13 15:46:18 +10:00
Clément Foucault
8a5af5202c
Eevee: Fix T52713: SSR not working in AMD
...
This was cause by a fairly funky unitialize buffer (last frame) that was causing NANs during the SSR resolve stage.
They were then propagated to the whole image during the next swap.
Bypassing the SSR completly if no valid history exists fixes the problem. Also disabling SSR data output in this case so we can have correct reflection in the 1st history buffer.
2017-09-12 18:32:29 +02:00
Clément Foucault
79a1d74c78
Eevee: Fix T52510: assert with volume defines.
...
This assert was not making sense at all. Removing
2017-09-12 17:50:21 +02:00
Clément Foucault
07e6e5edfb
Eevee: Fix extinction of Light parallel to views.
...
This was a problem with orthographic views and lights without rotations. This introduce a small bias that should fix most cases.
2017-09-12 16:18:18 +02:00
Clément Foucault
fc42063d1e
Eevee: Fix wrong shadow Orco mapping.
2017-09-12 15:06:07 +02:00
Clément Foucault
1e1d34654b
Eevee / DRW : Codestyle
2017-09-12 15:03:34 +02:00
Clément Foucault
f2b3e1f712
Eevee: Fix T52480: Can't reproduce Metallic transparency with Principled + Mix Shader
...
You can now use a transparent shader as a completly transparent bsdf. And use whatever alpha mask in a mix shader between a transparent bsdf and another bsdf.
2017-09-12 14:25:04 +02:00
Clément Foucault
7a6f9ab587
Eevee: Fix T52546 : 129th light crashes Blender
2017-09-12 14:25:04 +02:00
Sergey Sharybin
74eed8e30e
Fix T52705: Lamps shadows are not refreshed when tweaking lamps parameters
...
Lamp and camera datablocks updates should flush some updates to corresponding
objects. Currently it's done as Parameters -> Parameters relations.
2017-09-12 11:58:30 +05:00
Clément Foucault
f875e396ce
Eevee: Fix T52593
...
Use a placeholder texture to remove problems with sampler with no texture bound to it.
2017-09-11 23:17:33 +02:00
Clément Foucault
d126ffbea4
DRW: Use static list (array) of texture/ubo to track bound textures/ubos.
...
This is in order to use the same texture on multiple sampler.
Also texture counter is reset after each shading group. This mimics the previous behaviour.
2017-09-11 23:15:29 +02:00
Clément Foucault
4757404eef
Eevee: Fix performance issue on intel.
...
I did not checked if it makes a diff on other GPU. This might be change to be intel only.
2017-09-11 14:32:44 +02:00
Clément Foucault
92ace808db
Eevee: Fix shadow copy shader error.
...
filter() is a reserved function.
2017-09-11 14:09:12 +02:00
Campbell Barton
7d7741d25f
Merge branch 'master' into blender2.8
2017-09-11 16:52:53 +10:00
Campbell Barton
f56fea3d6b
Fix T52701: Mesh shortest path fails at boundaries
2017-09-11 16:45:19 +10:00
Joshua Leung
7e56879772
Fix T52696: Sculpt - Brush spacing pressure artifacts
...
Was caused by divide-by-zero in paint_stroke_integrate_overlap()
in paint_stroke.c, as identified by Bob Smith (uvwxyz).
Thanks for the report!
2017-09-11 18:24:39 +12:00
Clément Foucault
49ba9d02d8
Eevee: Fix shadow bleeding after farclip for cubemaps.
...
NOTE: We should not check for radial distance. But this is faster.
2017-09-11 01:13:55 +02:00
Clément Foucault
d97a5484af
Eevee: Shadows: Update cascaded shadowmaps when rendering probes.
...
This is really resource intensive but there is no other way to correctly handle it.
2017-09-10 03:09:45 +02:00
Clément Foucault
90efcd6df7
Eevee: Shadows: Add cubemap filtering and adaptive sample count.
...
Filter size is constant in world space and not dependant of shadow resolution.
The filter size is limited to the number of precomputed samples.
2017-09-10 03:09:45 +02:00
Clément Foucault
314739bced
Eevee: Shadow: Fix Incorrect shadowing after sun lamp far clip plane.
...
Reject cascade sample if not in shadowmap volume.
2017-09-10 03:09:45 +02:00
Clément Foucault
9fdf094b85
Eevee: Shadows: Filtering improvement.
...
- Replace poisson by concentric samples: Less variance. They are sorted by radius then by angle.
- Separate filtering into 2 blur. First blur is 3x3 box blur. Second is user dependant.
- Group fetches by group of 4.
2017-09-10 03:09:45 +02:00
Clément Foucault
adeaf37e77
Eevee: Add Cascaded Shadow Map options.
2017-09-10 03:09:45 +02:00
Clément Foucault
cc6e97d426
Lamps: Remove uper limit of the buffer bias parameter.
2017-09-10 03:09:45 +02:00
Clément Foucault
716f7859a8
Eevee: Add Cascaded Shadow Map support with filtering.
...
This brings some data structure changes.
Shared shadow data are stored in ShadowData (in glsl) (aka EEVEE_Shadow in C).
This structure contains the array indices of the first shadow element of this shadow "object".
It also contains how many shadow to evaluate (to be used for Multiple shadow maps).
The filtering is noisy and needs improvement.
2017-09-10 03:09:45 +02:00
Clément Foucault
6c17348e91
Eevee: Shadow: Add high bitdepth option.
...
This option is here for reducing the memory usage of shadow maps.
Also lower bitdepth are quicker to process.
2017-09-10 03:09:45 +02:00
Clément Foucault
f46b908cc5
Eevee: Expose Shadow filter size.
2017-09-10 03:09:45 +02:00
Clément Foucault
32e96448b9
Eevee: Add Variance Shadow Mapping
...
This is an alternative to ESM. It does not suffer the same bleeding artifacts.
2017-09-10 03:09:45 +02:00
Clément Foucault
e2603a6e82
Eevee: Shadows: Add UI buttons for size and method
...
Only one method is available right now. VSM and PCF are comming.
2017-09-10 03:09:45 +02:00
Clément Foucault
8b7a83a868
Eevee: Refactor Shadow System
...
- Use only one 2d texture array to store all shadowmaps.
- Allow to change shadow maps resolution.
- Do not output radial distance when rendering shadowmaps. This will allow fast rendering of shadowmaps when we will drop the use of geometry shaders.
2017-09-10 03:09:45 +02:00
Campbell Barton
11a9434c2d
Resolve T52687: Add node label shows as 'Unknown'
...
Add type access method, need to extend to other types
for now just get node UI working properly again.
2017-09-09 22:56:58 +10:00
Campbell Barton
3c3d0898b0
PyAPI: Fix mathutils freeze allowing owned data
2017-09-09 11:08:38 +10:00
Campbell Barton
30d8829780
Docs: mathutils docstrings
2017-09-09 11:02:26 +10:00
Campbell Barton
90eb93791f
Cleanup: mathutils vector comments
...
Use doxy markup & correct outdated info.
2017-09-09 10:50:40 +10:00
Campbell Barton
3930e46e37
Correct last commit
2017-09-09 10:15:16 +10:00
Campbell Barton
002cc6aef3
Cleanup: Simplify SWIZZLE macro
...
- Use indices instead of character args.
- Use numbered macros instead of variadic args.
Parsing using rtags used over 11gb of memory. While this should be
resolved upstream (report as #1053 ), the extra complexity didn't give
any real advantage.
2017-09-09 10:10:05 +10:00
Campbell Barton
5d1a5001f4
Fix T52628: own error in string duplication
...
Error in 636baa598a
2017-09-09 02:08:58 +10:00
Joshua Leung
b02ab2e7d9
Fix: Grease Pencil pie menu keymaps were broken after the menus got renamed
2017-09-09 01:03:15 +12:00
Antonio Vazquez
c9afc41cfd
Fix T52650:Grease pencil selection its not automatically updating in Clip Editor
2017-09-08 11:21:49 +02:00
Campbell Barton
2a3a747ca2
Fix T52678: Crash editing gpencil w/ frame-lock
2017-09-08 18:51:47 +10:00
Campbell Barton
5b026486e4
Fix leak caused by wrong ownership flag
2017-09-08 04:22:19 +10:00
Campbell Barton
df58d6bf76
Fix T52046: View transform applied twice w/ GL render
...
Patch from @sergey w/ minor edit.
2017-09-08 03:57:07 +10:00
Campbell Barton
a133b74709
Merge branch 'master' into blender2.8
2017-09-08 03:18:39 +10:00
Campbell Barton
60020f57d7
Correct function name in argument parsing
2017-09-08 00:59:27 +10:00
Campbell Barton
e44bf43f6c
PyAPI: add function to get an RNA subclass
...
This is inconvenient in regular Python, add a class-method
to perform the operation, eg:
bpy.types.Node.bl_rna_find_subclass("CustomNodeType")
2017-09-08 00:02:09 +10:00
Campbell Barton
accc94dd73
Cleanup: remove goto's
2017-09-07 22:53:46 +10:00
Campbell Barton
f4d46916fa
UI: fix memory leak when copy-to-selected failed
2017-09-07 22:15:12 +10:00