Blender Git Commits

Blender Git "master" branch commits.

Page: 2321 / 5574

July 18, 2016, 12:29 (GMT)
Fix T48848: Cycles - Camera Culling - Camera Culling removes objects which are still in frame
July 18, 2016, 09:42 (GMT)
Fix T48877: Lightmap Pack fails w/ 1-3 faces

Unnecessary limit was applied.
July 18, 2016, 09:28 (GMT)
CMake: correct py-module on OSX
July 18, 2016, 09:21 (GMT)
Merge branch 'master' into blender2.8
July 18, 2016, 08:04 (GMT)
Fix T48860: Cycles SSS artifacts with spatially split BVH

The issue was caused by SSS intersection code gathering all
intersections without check for duplicated ones. This caused
situations when same intersection will be recorded twice in
the case if triangle is shared by several BVH nodes.

Usually this is handled by checking intersection distance
after sorting intersections (in shadow_blocked for example)
but for SSS we don't do such sorting and using number of
intersections to calculate various things.

Didn't find anything smarter than to check intersection
distance in triangle_intersect_subsurface().

This solves render artifacts in the cost of 1.5% slowdown
of extreme case rendering (SSS object filling in whole
FullHD screen).

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2105
July 17, 2016, 17:24 (GMT)
Cycles: Fix OpenCL compilation after the recent numerical fixes
July 17, 2016, 09:27 (GMT)
Cleanup: minor edits to BLI_heap
July 17, 2016, 09:27 (GMT)
BLI_heap: replace memarena w/ local allocator

- Since element size its known it's less work to do inline.
- In test with high-poly model, gave ~9% overall speedup for decimate modifier.
July 16, 2016, 18:54 (GMT)
Cycles: Fix three numerical issues in the fresnel, normal map and Beckmann code

- In fresnel_dielectric, the differentials calculation sometimes divided by zero.
- When the normal map was (0.5, 0.5, 0.5), the code would try to normalize a zero vector. Now, it just uses the regular normal as a fallback.
- The approximate error function used in Beckmann sampling sometimes overflowed to inf while calculating r^16. The final value is 1 - 1/r^16, however,
so now it just returns 1 if the computation would overflow otherwise.
July 16, 2016, 18:54 (GMT)
Cycles: Deduplicate geometric factor calculation in the Beckmann distribution

Also, this fixes a numerical issue where A would be inf.
Since later G is set to 1 if A is larger than 1.6, the code now checks the reciprocal of A for being smaller than 1/1.6 - same effect, but no inf involved.
July 16, 2016, 17:03 (GMT)
Fix use after free error from ab993e37
July 16, 2016, 07:48 (GMT)
Cleanup: spelling
July 16, 2016, 07:27 (GMT)
Cleanup: line length
July 16, 2016, 00:25 (GMT)
Use the value `VIEW_PROJ_PERSP` in the remaining places

also changes the name of the callbacks:
- walk_parent_snap_project_cb to cb_walk_parent_snap_project;
- cb_leaf_snap_vert to cb_walk_leaf_snap_vert;
- cb_leaf_snap_edge to cb_walk_leaf_snap_edge;
- test_vert_depth_cb to test_vert_ray_dist_cb;
- test_edge_depth_cb to test_edge_ray_dist_cb;

and cleanup:
July 15, 2016, 16:12 (GMT)
Cycles: Fix refitting of regular BVH

Was causing CUDA issues on viewport edits.
July 15, 2016, 15:20 (GMT)
UI: modifier keys now trigger number button updates

Number buttons & sliders weren't updating when shift/ctrl were pressed.

Note that this is a regression in 2.77 but hard to track down since it worked unreliably for some time.
July 15, 2016, 14:47 (GMT)
Bump maximum threads number to 1024

This commit contains all the changes required for most optimal maximum threads
number bump. This is needed to avoid possibly unneeded initialization or data
allocation on systems with lower threads count.

TODO: Still need to review arrays in render data structures from render_types.h,

P.S. We might remove actual bump of max threads from this patch, so when we'll
be applying the patch we can do all the preparation work and then do actual
bump of max threads.

Reviewers: mont29, campbellbarton

Reviewed By: mont29, campbellbarton

Maniphest Tasks: T43306

Differential Revision: https://developer.blender.org/D1343
July 15, 2016, 14:29 (GMT)
Cycles: Add option to disable new Hair BVH

While it's an extra option added to the interface which might not be
fully obvious for artists, it allows to save up to 20% of memory in
hairy scenes.

This is high enough memory saver in my opinion which might become
handy for some production files where it's more important to make
scene to fit into memory rather than trying to use more optimal BVH
structure but go into swap or crash.

Reviewers: dingto, brecht

Reviewed By: dingto, brecht

Differential Revision: https://developer.blender.org/D2090
July 15, 2016, 14:14 (GMT)
fix T48857: Improved the handling of Material Alpha, based on patch D1949 with some small modifications
Revision 27641b5 by Gaia Clary
July 15, 2016, 14:14 (GMT)
Collada: changed specification of material alpha from using transparency to using transparent with opaque=A_ONE
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021