Blender Git Commits

Blender Git "temp-cycles-microdisplacement" branch commits.

September 3, 2016, 20:08 (GMT)
Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIED

Using ones complement for detecting if transform has been applied was confusing
and led to several bugs. With this proper checks are made. Also added a few
transforms where they were missing, mostly affecting baking and displacement
when `P` is used in the shader (previously `P` was in the wrong space for
these shaders)
September 3, 2016, 20:07 (GMT)
Cycles: Fix bump mapping to use object space when used with true displacement

Bump mapping was happening in world space while displacement happens in object
space, causing shading errors when displacement type was used with bump mapping.

To fix this the proper transforms are added to bump nodes. This is only done
for automatic bump mapping however, to avoid visual changes from other uses of
bump mapping. It would be nice to do this for all bump mapping to be consistent
but that will have to wait till we can break compatibility.
September 2, 2016, 17:26 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
August 31, 2016, 00:49 (GMT)
Cycles: Remove unused flag
August 31, 2016, 00:27 (GMT)
Cycles: Transform undisplaced coordinates into world space for bump shader eval

Forgot to do this, shading should be correct now for transformed objects.
August 31, 2016, 00:12 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
August 26, 2016, 16:26 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
August 18, 2016, 16:20 (GMT)
Cycles microdisplacement: Improved automatic bump mapping

Object coordinates can now be used in the displacement shader and will give
correct results, where as before bump mapping was calculated from the displace
positions and resulted in incorrect shading.

This works by evaluating the shader in two parts, first bump then surface, and
setting the shader state to match what it would be if the surface was
undisplaced for the bump shader evaluation. Currently only `P` is set as if
undisplaced, but other shader variables could be set as well, such as `I` or
`time`. Since these aren't set to anything meaningful for displacement I left
them out of this patch, we can decide what to do with them separately.
August 18, 2016, 15:25 (GMT)
Cycles microdisplacement: Store undisplaced coordinates for meshes when requested
August 18, 2016, 15:23 (GMT)
Cycles: don't crash if OSLRenderServices::osl_ts is unset
August 18, 2016, 15:23 (GMT)
Cycles: remove duplicate shader storage

Storing multiple copies of a shader was needed when the displacement method was
a mesh option and could be different for each mesh. Now that its a shader option
this is unnecessary.
August 18, 2016, 15:22 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
August 16, 2016, 22:23 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
August 4, 2016, 09:21 (GMT)
Make Cycles creased subdivision match Blenders more closely

Sets vertex creases to match how Blender handles vertexes on the edge of a mesh.
There's probably more inconsistencies but I'll see about handling those later.
August 2, 2016, 10:22 (GMT)
Move displacement options from mesh settings to material settings

Displacement is now a per material setting, which means old files will have to
be updated if they had used displacement. Cool side effect of this change is
material previews now show displacement.
July 30, 2016, 10:26 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement

Includes changes from review
July 17, 2016, 22:34 (GMT)
More build fixes

Should be able to revert this one after OpenSubdiv version bump
July 17, 2016, 22:08 (GMT)
Fix some build errors in patch table code
July 17, 2016, 00:25 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
July 16, 2016, 21:34 (GMT)
Fix multiple shaders on subdivision meshes
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021