Blender Git Commits

Blender Git "master" branch commits.

Page: 2216 / 5574

February 8, 2017, 13:44 (GMT)
Bring back Lasso and Circle selection back

(and replace more instances of BaseLegacy/scene->base with Base/sl->object_bases)

Still need mouse selection, box selection, and menu selection

Also, there is still a problem with BA_WAS_SEL, at the moment only the
objects centers are highlighted.
February 8, 2017, 13:00 (GMT)
Cycles: Fix regression with transparent shadows in volume
February 8, 2017, 13:00 (GMT)
Cycles: Solve speed regression by casting opaque ray first
February 8, 2017, 13:00 (GMT)
Cycles: Fix compilation error on OpenCL
February 8, 2017, 13:00 (GMT)
Cycles: Split shadow functions to avoid some duplicated calculations
February 8, 2017, 13:00 (GMT)
Cycles: Store shadow intersections in the kernel globals

Seems CUDA failed to de-duplicate the array across multiple inlined
versions of the shadow_blocked(). Helped it a bit with that now.

Gives about 100MB memory improvement on a scenes after previous
commit and brings up memory "regression" to only 100MB comparing to
the master branch now.
February 8, 2017, 13:00 (GMT)
Cycles: Speedup transparent shadows on CUDA

This commit enables record-all behavior of transparent shadows
rays.

Render times difference goes as following:

GTX 1080 render time
BMW -0.5%
Fishy Cat -0.0%
Pabellon Barcelona -11.6%
Classroom +1.2%
Koro -58.6%

Kernel will now use some extra VRAM memory to store the intersection
array (200MB on my configuration). This we can optimize out with some
further commits.
February 8, 2017, 13:00 (GMT)
Cycles: Implement record-all transparent shadow function for GPU

The idea is to record all possible transparent intersections when
shooting transparent ray on GPU (similar to what we were doing on
CPU already).

This avoids need of doing whole ray-to-scene intersections queries
for each intersection and speeds up a lot cases like transparent
hair in the cost of extra memory.

This commit is a base ground for now and this feature is kept
disabled for until some further tweaks.
February 8, 2017, 13:00 (GMT)
Cycles: Use an utility function to sort intersections array
February 8, 2017, 13:00 (GMT)
Cycles: Make GPU version of shadow_blocked() closer to CPU

Now we break the traversal cycle and then perform volume attenuation
and check with zero throughput. Not sure it makes any measurable sense
at this moment, but in the future it might help de-duplicating some
extra logic here.
February 8, 2017, 13:00 (GMT)
Cycles: De-duplicate transparent shadows attenuation

Fair amount of code was duplicated for CPU and GPU, now we are
using inlined function to avoid such duplication.
February 8, 2017, 12:10 (GMT)
Merge branch 'master' into blender2.8

# Conflicts:
# source/blender/blenloader/intern/writefile.c
February 8, 2017, 11:26 (GMT)
Fix T49249: Alembic export with multiple hair systems crash blender

Removed unnecessary call to DM_update_tessface_data(). This call is
already performed by DM_ensure_tessface(dm). The call being performed
twice caused a failing BLI_assert().

Reviewed by: K�vin Dietrich
February 8, 2017, 11:26 (GMT)
Alembic export: avoid infinite loops trying to find parent objects.

Also added some assertions for debugging purposes

Reviewed by: K�vin Dietrich
February 8, 2017, 11:26 (GMT)
Alembic export: only create transform writer if the object should be exported

Reviewed by: K�vin Dietrich
February 8, 2017, 11:26 (GMT)
Alembic: #undef'ed the correct macro

TEST_RET is not defined anywhere in Blender's sources, and LAYER_CMP
is no longer used after this function ends.
February 8, 2017, 11:26 (GMT)
Alembic: Use getXForm() in check, because it's used in rest of the function too

This makes the code within the function consistent.
February 8, 2017, 11:26 (GMT)
Alembic: Renamed copy_zup_yup to copy_yup_from_zup (and same for zup_from_yup)

With the new names the arguments (yup, zup) are in the same order as
they appear in the function name. The old names used copy_src_dst(dst,
src), which I found very confusing. Furthermore, now it is clear from
where to where the copy is made.

This makes the function names a little bit longer, though. If that is
a real issue, we can just name them zup_from_yup(zup, yup).

Reviewed by: K�vin Dietrich
February 7, 2017, 18:11 (GMT)
Partial "fix" for objects not being selected

To bring this fix a step further we need to address all the BA_WAS_SEL instances, and make sure they follow the new design.

This commit allow you to see the object selected (its center anyways) when you do select all.

Note: in the clay engine selection (a) was already working fine.
February 7, 2017, 16:49 (GMT)
Cleanup: Use const qualifier in some of color management code
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021