Blender Git Commit Log

All Blender Git commits.

Page: 3590 / 8462

November 26, 2017, 07:32 (GMT)
Minor improvement to last commit

Don't operate on multiple boundaries at once,
instead keep collapsing from the first selected boundary.
November 26, 2017, 06:43 (GMT)
BMesh: improve edge rotate when edges share faces

Previously outcome depended on order of edges,
now the longest boundary edges are rotated first,
then the faces connected edges.

This gives more predictable results, allowing regions containing
a vertex fan to be rotated onto the next vertex.
November 26, 2017, 02:32 (GMT)
Cleanup: move edge-rotate into own file
November 26, 2017, 00:06 (GMT)
Fix T53393: Change from 'd' key to 'draw' panel button causes pencil to be activated immediately instead of upon LMB
November 25, 2017, 22:14 (GMT)
Fix for Fix (c): broken atomic lock in own bmesh code.

That was a nasty one, Debug build would never have any issue (even tried
with 64 threads!), but Release build would deadlock nearly immediately,
even with only 2 threads!

What happened here (I think) is that gcc optimizer would generate a
specific path endlessly looping when initial value of virtual_lock was
FLT_MAX, by-passing re-assignment from v_no[0] and the atomic cas
completely. Which would have been correct, should v_no[0] not have been
shared (and modified) by multiple threads. ;)

Idea of that (broken) for loop was to avoid completely calling the
atomic cas as long as v_no[0] was locked by some other thread, but...
Guess the avoided/missing memory barrier was the root of the issue here.

Lesson of the evening: Remember kids, do not trust your compiler to
understand all possible threading-related side effects, and be explicit
rather than elegant when using atomic ops!

Side-effect lesson: do check both release and debug builds when messing
with said atomic ops...
November 25, 2017, 19:28 (GMT)
Fix broken atomic_cas lock in own recent commit in bmesh.

Using atomic cas correctly is really hairy... ;)

In this case, the returned value from cas needs to validate *two*
conditions, it must not be FLT_MAX (which is our 'locked' value and
would mean another thread has already locked it), but it also must be
equal to previously stored value...

This means we need two steps per loop here, hence using a 'for' loop
instead of a 'while' one now.

Note that collisions are (as expected) very rare, less than 1 for 10k
typically, so did not catch the issue initially (also because I was
mostly working with release build to check on performances...).
Revision 9aece5e by Clément Foucault (master)
November 25, 2017, 16:47 (GMT)
Eevee: Fix Defered AO defines
Revision 0c47407 by Clément Foucault (master)
November 25, 2017, 16:47 (GMT)
Eevee: Fix SSS mixing with transparent bsdf
November 25, 2017, 16:47 (GMT)
Eevee: Add SSS support in probes

Previously the lighting of SSS material was not present in reflection probe or irradiance grid.

This does not compute the SSS correctly but at least output the corresponding irradiance power to the correct output.
November 25, 2017, 15:10 (GMT)
Use weight in Hook modifier
November 25, 2017, 14:58 (GMT)
Material pointer in hair systems.
November 25, 2017, 13:46 (GMT)
Simplified API for generating hair follicles with a fixed max count.

The final count is inversely proportional to the min_distance, so using that
as a user variable is difficult to control. Instead we just use the overall
count as the single variable now.

The actual final count will be less than this maximum count, because the
theoretical limit is never reached in practice. The min. distance could also
be stored as a result of the hair generation as feedback for the user.
November 25, 2017, 12:53 (GMT)
Change Hook modifier default parameters
November 25, 2017, 12:47 (GMT)
WIP: Fix write hook data
November 25, 2017, 12:36 (GMT)
WIP: Hook modifier initial basic stage
November 25, 2017, 11:17 (GMT)
Merge branch 'blender2.8' into hair_guides
November 25, 2017, 10:49 (GMT)
Fix strand vertex init loop, use correct stop index.
November 25, 2017, 10:24 (GMT)
cleanup: removed unused secondary particle type vector
November 25, 2017, 10:18 (GMT)
Merge branch 'blender2.8' into greasepencil-object
November 25, 2017, 09:45 (GMT)
Need to call the subdiv function also for subdiv==0 to initialize vert positions.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021