Blender Git Commits

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

Page: 2 / 7

July 14, 2016, 02:41 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
July 14, 2016, 01:13 (GMT)
Move subd_triangle_* functions to own file
July 14, 2016, 00:38 (GMT)
Reduce number of calls to patch_eval_*

This alleviates a ~5% performance regression caused by calling patch_eval_*
functions multiple times to calculate differentials. Differentials for
subdivided attributes are now calculated directly from the limit.

Thanks to Lukas Stockner for checking my math.
July 11, 2016, 01:12 (GMT)
Merge branch 'master' into temp-cycles-microdisplacement
July 11, 2016, 00:04 (GMT)
Prepare for merge with master

Sergey's bvh work made use of and removed the same unused bytes that
were being used for storing patch info, so this info now has to be
moved elsewhere. Unfortunately we use up two more textures for this.
July 10, 2016, 23:12 (GMT)
Fix performance regression during mesh sync

The switch from std::vector to ccl::array in Mesh caused quite a big slowdown
during mesh sync. Using a quick fix for now. Proper thing to do would be to
avoid most memory allocation in subd code.
July 10, 2016, 23:06 (GMT)
Fix typo in assert
July 10, 2016, 03:28 (GMT)
Add patch tables and interpolate subdivision attributes in kernel

This implements and packs OpenSubdiv's patch tables and patch maps into
Cycles own representation to allow the kernel to interpolate subdivided
attributes, which means generated coordinates are now correct for subdivided
meshes. Support for subdivided uv coordinates will be added once OpenSubdiv
has complete support for face varying interpolation.
July 10, 2016, 03:28 (GMT)
Change type of __patches array from uint4 to uint

Will need finer indexing granularity when patch tables are added and packed
into __patches.
July 10, 2016, 03:28 (GMT)
Subdivide flagged attributes

Attribute data is now subdivided when requested, tho the subdivided data is
not accessed yet.
July 10, 2016, 03:27 (GMT)
Free TopologyRefiner

Missed this somehow, was leaking memory.
July 10, 2016, 03:27 (GMT)
Flag attributes that need to be subdivided during export
July 10, 2016, 03:27 (GMT)
Add attribute flags

Extend AttributeDescriptor with a field for flags. These flags will be used to
describe how an attribute interacts with subdivision code.
July 10, 2016, 03:27 (GMT)
Avoid triggering assert if there are no creases
July 10, 2016, 03:27 (GMT)
Add AttributeDescriptor

Adds a descriptor for attributes that can easily be passed around and extended
to contain more data. Will be needed for attributes on subdivision meshes.
July 10, 2016, 03:25 (GMT)
Fix OSL not finding attributes on subdivision meshes
June 27, 2016, 09:27 (GMT)
Move Cycles subdivision options to subsurf modifier

Subdivision options can now be set per object rather than per mesh. The
subsurface modifier must be the last in the stack or Cycles will ignore
the option.
June 26, 2016, 20:16 (GMT)
Support creases on subdivision meshes
June 25, 2016, 14:11 (GMT)
Fix build error on older compilers
June 25, 2016, 13:46 (GMT)
Initial OpenSubdiv support

Catmull-Clark subdivision option is now functional. Creases and uv subdivision
will be implemented later.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021