Blender Git Commits

Blender Git "master" branch commits.

Page: 1960 / 5574

November 7, 2017, 21:35 (GMT)
Fix image editor showing pass name when there is only a combined pass.
November 7, 2017, 21:35 (GMT)
Fix incorrect color management when saving JPG previews for EXR.
November 7, 2017, 21:35 (GMT)
Cycles: add bevel shader, for raytrace based rounded edges.

The algorithm averages normals from nearby surfaces. It uses the same
sampling strategy as BSSRDFs, casting rays along the normal and two
orthogonal axes, and combining the samples with MIS.

The main concern here is that we are introducing raytracing inside
shader evaluation, which could be quite bad for GPU performance and
stack memory usage. In practice it doesn't seem so bad though.

Note that using this feature can easily slow down renders 20%, and
that if you care about performance then it's better to use a bevel
modifier. Mainly this is useful for baking, and for cases where the
mesh topology makes it difficult for the bevel modifier to work well.

Differential Revision: https://developer.blender.org/D2803
November 7, 2017, 21:35 (GMT)
Code refactor: rename subsurface to local traversal, for reuse.
November 7, 2017, 21:35 (GMT)
Cycles: antialias normal baking if the mesh has a bump map.
November 7, 2017, 21:35 (GMT)
Cycles: add an extra CUDA synchronize before rendering.

It should not be needed as far as I know, but just in case it fixes any
of the recent issues like T52572.
November 7, 2017, 21:35 (GMT)
Fix incorrect MIS weights in Cycles with multiple lights.

This causes some difference in the classroom scene, where ray visibility
tricks are used and break the MIS balance. Otherwise there doesn't seem
to be much effect, but better to use the right formulas. Problem originally
identified by Lukas.
November 7, 2017, 16:08 (GMT)
Sanitize use of BLI_iterator

We now initialize iter.valid as true as part of the main iterator (and manually
when using via Python). And we don't even bother setting iter->current to NULL
if it's invalid. Let's stick to using iter->valid only.
November 7, 2017, 15:54 (GMT)
Depsgraph: Remove old unused function which is no longer to be used
November 7, 2017, 15:51 (GMT)
Depsgraph: Get away from legacy API used in event loop

A bit tricky for now, needs some clear design about when to do
on_visible_changed().
November 7, 2017, 15:42 (GMT)
Depsgraph: initialize scene to NULL
November 7, 2017, 15:36 (GMT)
Depsgraph: Simplify some workarounds and make API closer to final
November 7, 2017, 14:57 (GMT)
Windows: Add additional crash diagnostic information.

To help diagnose issues like T53259, it is useful to know the module causing the issue (is it us, or some opengl icd, or python module?) and while we cannot do stackdumps on release builds on windows, it is possible to display the faulting module. This commit changes the exception handler to output the following information:

Error : EXCEPTION_ACCESS_VIOLATION (Type of exception , this we had before)
Address : 0x0000000140193726 (Address of the exception, new)
Module : k:BlenderGitbuild_windows_Full_noge_x64_vc15_ReleasebinReleaseblender.exe (module of the exception, new)
November 7, 2017, 14:50 (GMT)
Fix jumps-dependent-on-uninitialized-variable for iterators

We cannot have iter->valid unitialized, but we need to be sure it is set to true on begin.
Bug found by Sergey Sharybin.
November 7, 2017, 14:35 (GMT)
Fix bplayer (c).
November 7, 2017, 12:57 (GMT)
Merge branch 'master' into blender2.8
November 7, 2017, 12:55 (GMT)
Cycles: Cleanup, style
November 7, 2017, 12:05 (GMT)
Depsgraph Iterator: Refactor skip logic

This was leading to crashes on Cycles as well as misleading
len(bpy.context.depsgraph.objects)

I can even move the iter->skip as part of DEGObjectsIteratorData instead of
BLI_Iterator, but if I do it will be a separate commit.

Thanks Sergey Sharibyn for the well done sample file and patch suggestion.
November 7, 2017, 10:37 (GMT)
Depsgraph: Remove forced dependencies update/evaluation from file open

This was originally done as a fix for T37713, but now this workaround becomes
tricky since we don't know which layers to update scene for. Even more, render
engine is supposed to have own dependency graphs amd those ones do not exist
yet at the file open time.

Keep an eye on T37713, since that's where the original workaround is coming
from.
November 7, 2017, 10:37 (GMT)
Depsgraph: Fix/workaround command line rendering of sequencer

Really hacky, but allows to run regression tests and see if the new design
is working as expected.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021