Andrea Weikert
ba67d94258
Compile fixes for MSVC:
...
* missing include for uint typedef
* macro syntax error
Reviewers: campbellbarton, fclem
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D2863
2017-10-01 15:34:12 +02:00
Clément Foucault
3349f25502
Eevee : Add a setting for the number of indirect light bounce.
...
This is used to tweak the overall spread of the lighting. It is a per renderlayer setting.
2017-10-01 02:19:10 +02:00
Clément Foucault
cc772e4bca
Eevee: LightGrid: Fix progressive rendering.
2017-09-30 19:37:40 +02:00
Clément Foucault
1054f65a29
Object Mode : Add probes data outlines and selectability
...
This required some small changes to the data display shaders so that they match the way the object mode renders them.
Strangely enough, I had to remove the normal attribute from the display code because it was being not bound as soon as I created another rendering call in object mode. The problem may be deeper but I did not have time for this so I derive the normal from the sphere pos.
2017-09-30 19:37:40 +02:00
Clément Foucault
8249e1ce5e
DRWCache: Add a new regular Quad buffer.
2017-09-30 19:37:40 +02:00
Campbell Barton
18965905d0
Merge branch 'master' into blender2.8
2017-09-30 11:00:29 +10:00
Campbell Barton
e3546a5097
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.
2017-09-30 02:58:37 +10:00
Campbell Barton
a270e61b82
Fix vertex paint smear tool
...
Checking surrounding verts wasn't working properly.
2017-09-30 02:56:31 +10:00
Campbell Barton
41e2dbaea9
Weight Paint: accumulate support
...
- Clamp accumulate so it doesn't exceed brush strength.
- Was multiplying by brush strength twice.
2017-09-30 01:36:41 +10:00
Campbell Barton
d4f8e4e30c
Cleanup: de-duplicate copied code w/ vertex paint
2017-09-29 23:28:54 +10:00
Campbell Barton
5553037be7
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.
2017-09-29 22:26:11 +10:00
Campbell Barton
e3fe8128e4
Merge branch 'master' into blender2.8
2017-09-29 19:55:00 +10:00
Campbell Barton
5a1954a5cb
Drop platform support for Solaris & AIX
...
These platforms didn't see maintenance in years.
This commit just removes ifdef's & cmake check.
2017-09-29 19:16:34 +10:00
Campbell Barton
9cba119051
Collada: export vertex-color alpha
2017-09-29 18:12:14 +10:00
Campbell Barton
823bcf1689
RNA: expose mesh vertex alpha
...
Note that some import/export scripts will need updating
2017-09-29 18:10:25 +10:00
Campbell Barton
288b2d0aa6
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.
2017-09-29 18:06:52 +10:00
Clément Foucault
31be6fccf8
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.
2017-09-28 21:17:57 +02:00
Clément Foucault
12f650623e
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.
2017-09-28 21:16:02 +02:00
Brecht Van Lommel
c10ac1bb5c
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: https://developer.blender.org/D2861
2017-09-28 20:53:06 +02:00
Sergey Sharybin
9ddee885ae
Fix T52086: Graph editor "normalize" drag errors for integers
2017-09-28 17:08:43 +05:00
Sergey Sharybin
3801f76b7b
Fix T52932: Driver with target of custom property from scene fails to update
...
Note that this is only supported in new depsgraph.
2017-09-28 16:13:28 +05:00
Sergey Sharybin
7fdb9e168d
Merge branch 'master' into blender2.8
2017-09-28 16:13:09 +05:00
Sergey Sharybin
75e8e3779b
Curves: Fix wrong bitset being checked against CYCLIC bit flag
...
Based on report from Talos Security Advisory.
2017-09-28 14:33:59 +05:00
Campbell Barton
1f18523edf
Cleanup: switch fall-through warning
2017-09-28 13:41:54 +10:00
Campbell Barton
c133927bb8
Adding paint brushes crashes w/ linked libs
...
While we could skip this for linked files,
convention so far is to only update startup.
2017-09-28 13:41:53 +10:00
Campbell Barton
64de8c8f0d
Missed in last merge from master
...
Local changes built, but merge-commit needed amending.
2017-09-28 07:35:06 +10:00
Clément Foucault
fcdc7acd8b
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.
2017-09-27 21:21:39 +02:00
Clément Foucault
b24ba9b174
Object Mode Engine: Small cleanup
2017-09-27 21:21:39 +02:00
Clément Foucault
40f5ac4977
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.
2017-09-27 21:21:39 +02:00
Clément Foucault
88a3323a47
Eevee: Use fmod instead of floor.
2017-09-27 21:21:39 +02:00
Germano
5c6e3ff497
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
2017-09-27 16:07:06 -03:00
Campbell Barton
cc8c064f11
Merge branch 'master' into blender2.8
2017-09-28 03:05:46 +10:00
Campbell Barton
6c98859b77
Cleanup: warning
2017-09-28 02:04:58 +10:00
Dalai Felinto
16edfc516e
--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.
2017-09-27 18:03:00 +02:00
Campbell Barton
4f616c93f7
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
2017-09-28 01:47:37 +10:00
Germano
2de5e14f53
bgl module: Interpret a buffer as a bgl.Buffer
...
Differential Revision: https://developer.blender.org/D2857
2017-09-27 11:20:00 -03:00
Joshua Leung
32e453b495
D2830 - 2.8: Fix crash when creating new action
...
Patch by: Marcelo Mutzbauer (1xundoredo)
2017-09-27 14:16:27 +13:00
Campbell Barton
9bd40cbce1
Merge branch 'master' into blender2.8
2017-09-27 11:18:23 +10:00
Campbell Barton
43b4913051
Math Lib: Add non-clamped round_* functions
...
Replace iroundf with round_fl_to_int, add other types
2017-09-27 11:13:03 +10:00
Clément Foucault
a24dd6eaba
Eevee: Fix bug with cubemap shadows.
2017-09-26 22:30:48 +02:00
Clément Foucault
540ef7ee8e
Eevee: Fix broken World probe.
2017-09-26 21:43:14 +02:00
Clément Foucault
c1aca25c3b
Eevee: TAA: Remove 32 sample limit.
2017-09-26 21:39:25 +02:00
Clément Foucault
b96c70f9b2
BLI_rand : Make use of BLI_halton and BLI_hammersley
2017-09-26 21:38:23 +02:00
Clément Foucault
47e6d53c8a
BLI_rand : Add new low-discrepency sequences generator
2017-09-26 20:54:27 +02:00
Clément Foucault
5c45fe2937
Eevee : Fix regression : Refraction not working
2017-09-26 16:48:07 +02:00
Campbell Barton
772944a6b4
Merge branch 'master' into blender2.8
2017-09-27 00:24:10 +10:00
Campbell Barton
870dfb1b5a
Cleanup: indentation
2017-09-27 00:17:28 +10:00
Campbell Barton
51c87bbad0
Cleanup: indentation
2017-09-27 00:05:06 +10:00
Campbell Barton
7593ac2aff
Transform: add manipulator aligned bounds
...
ifdef'd out for now
2017-09-26 23:16:20 +10:00
Campbell Barton
d6800c1a81
Merge branch 'master' into blender2.8
2017-09-26 22:45:42 +10:00