Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 687 / 5574

July 9, 2020, 15:50 (GMT)
Fix wrong upate flag when updating the PBVH visibility

This function was using the wrong flag to update the visibility state of
the nodes, so I assume that most of the partially visible optimizations
were not working.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8243
July 9, 2020, 15:48 (GMT)
Fix T78664: Implement Mesh and Face Set boundary automasking in Multires

This implements the SCULPT_vertex_is_boundary and SCULPT_vertex_has_unique_face_set functions for PBVH_GRIDS, which makes features such as automasking now work in multires. It also fixes some other face sets related features in multires, like face set boundary smoothing.

This uses the BKE_subdiv_ccg_coarse_mesh_adjacency_info_get function to get the vertex indicies in the base mesh from multires. This way the API functions can get topology or face set information directly from it. In the future, these vertex indices can be used to get any other information from the base mesh from multires, like seams, sharp edges, disconnected elements IDs...

Reviewed By: sergey

Maniphest Tasks: T78664

Differential Revision: https://developer.blender.org/D8227
July 9, 2020, 15:42 (GMT)
Fix Sculpt Vertex Colors sample color changing brush alpha

It is not practical to change the alpha of the paint color with the
color picker as with the current brush design alpha is the main strength
control for the brush.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8208
July 9, 2020, 15:41 (GMT)
Fix crash when using Mask by Color in Multires

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8207
July 9, 2020, 15:24 (GMT)
Make deps: Fix compilation error on CentOS

There were two issues.

First is related on ISPC's CMake configuration forcing C and C++
compilers to be clang and clang++. This goes against of desired
behavior when we use our own compiled clang compilers.

The second issue was related on linker failure: CLang libraries
are linked statically, and they need some of C++ 11 STL symbols
which are coming from libstdc++.

Differential Revision: https://developer.blender.org/D8258
July 9, 2020, 14:55 (GMT)
EEVEE: Implement the missing Sky texture

I'm not sure if the Sky was deliberately left out or was just waiting for a
better moment, but so many I was disappointed that Sky in EEVEE is
completely white.

There are already 2 implementations (osl and gpu) so this is the third one.
Looking at other cases it seems that we are not supposed to share sources
between cycles and the rest? So the new util_sky_model files are just
copies of what is already in cycles, except that the data file uses the RGB
variant of the Hosek/Wilkie model, because we output RGB anyway (but can be
easily changed to XYZ if desired - the results are nearly identical).
I am not sure if it is okay to pass 3*9 float values as 3 mat4 uniforms (I
wanted to use mat3 but it does not work).
Also, should I cache the sky model data between renders if the parameters
do not change?

Reviewed By: fclem, brecht

Differential Revision: https://developer.blender.org/D7108
July 9, 2020, 14:53 (GMT)
Fix Cycles unnecessary updates to camera in viewport render

Problem identified by Milan Jaros.
July 9, 2020, 14:37 (GMT)
BLI: rename rand.c to rand.cc
July 9, 2020, 13:40 (GMT)
Particles: Create a simulation state for every Particle Simulation node

Every Particle Simulation node has a name (or a path when it is in a node group).
This name has to be used in the Simulation modifier on a point cloud to see
the particles.

Caching has been disabled for now, because it was holding back development
a bit. To reset the simulation, go back to frame 1.

Currently, there is no way to influence the simulation. There are just some
randomly moving points. Changing that is the next step.
July 9, 2020, 13:29 (GMT)
Blenloader: make BLO_read_data_address work in C++
July 9, 2020, 10:28 (GMT)
Fix T78745: Cycles error baking with multiple materials
July 9, 2020, 09:46 (GMT)
Fix T78718: Crash when deleting particle system modifier with the X Shortcut.

Duplication and deletion code of modifiers was totally wrong for
particle system, that special weird thing needs its own custom
management.

Note that for now I chose not to duplicate the particle settings ID when
duplicating the modifier...
July 9, 2020, 08:43 (GMT)
UV: path selection support

This adds support for path selection for vertex edge & face selection
modes, matching mesh editing behavior, useful with the UV rip tool.

Region select & edge tagging are currently not supported,
although they could be added eventually.
July 9, 2020, 08:23 (GMT)
BMesh: add utility functions

- BM_edge_uv_share_vert_check
- BM_face_uv_calc_center_median_weighted
- BM_loop_at_index_find
July 9, 2020, 03:33 (GMT)
Cleanup: move BMesh UV queries into their own file
July 9, 2020, 03:29 (GMT)
Cleanup: clang-format
July 8, 2020, 20:30 (GMT)
Cleanup: remove unnecessary calls to as_span

This uses the new implicit conversions and constructors
that have been committed in the previous commit.

I tested these changes on Linux with gcc and on Windows.
July 8, 2020, 20:27 (GMT)
BLI: improve constructors and conversions to span

This allows us to avoid many calls to `as_span()` methods. I will
remove those in the next commit. Furthermore, constructors
of Vector and Array can convert from one type to another now.

I tested these changes on Linux with gcc and on Windows.
July 8, 2020, 18:41 (GMT)
Cleanup: remove unused function

This is not necessary in C++17 anymore.
July 8, 2020, 18:39 (GMT)
Cleanup: use c++17 helper variable templates
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021